Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'raw_allo_deployments' for use in downstream assets #37

Merged
merged 2 commits into from
Jan 8, 2024

Conversation

DistributedDoge
Copy link
Collaborator

@DistributedDoge DistributedDoge commented Jan 7, 2024

Adds new static (based on pulling pre-processed '.parquet' from IPFS) asset with contract address for each official Allo contract.

Main use of this data is feeding downstream cryo/covalent assets, which should much more interesting.

Original ingestion logic is dependent on formatting of markdown document which feels very brittle thing to include, hence why I opted for the ipfs-fetch strategy.

  • Note that after merge schema displayed in catalog on the portal would not reflect new asset, but this isn't a priority to me for now.

EDIT: Checked CI logs, looks ready to merge

Copy link
Owner

@davidgasquez davidgasquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Original ingestion logic is dependent on formatting of markdown document which feels very brittle thing to include, hence why I opted for the ipfs-fetch strategy.

What do you think about parsing hardcoded commits? E.g: 7c1b724d3a69835aae448757ddd943a3c53a6b5c.

Alternatively, we can parse the latest MD and fall back to the (latest IPFS_CID rawl_allo_deployments) IPFS snapshot (there might be dragons here as I can see ways this can go wrong).

That said, this works, and we can get it merged if you think the previous approach requires more work and is not worth it for the moment.

Co-authored-by: David Gasquez <davidgasquez@gmail.com>
@DistributedDoge
Copy link
Collaborator Author

DistributedDoge commented Jan 8, 2024

I would rather merge this one in and focus on downstream uses for now.

@davidgasquez davidgasquez merged commit 122da8a into davidgasquez:main Jan 8, 2024
1 check passed
@davidgasquez
Copy link
Owner

Perfect! 🚀 Merging it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants