co2-storage
co2-storage copied to clipboard
normalizePipeline
We need a function in FGStorage that does this:
input a pipeline CID or a pipeline IPLD object
Steps through all of the elements in the function and data grids (which are CIDs of types, functions, and assets) and fetches the IPLD data associated with them. Substitutes the CID with the data, 'expanding' the CID, and returns the pipeline
Normalization is discussed for other data structures in the whitepaper