celo-org / celo-monorepo

Official repository for core projects comprising the Celo platform
https://celo.org
Apache License 2.0
687 stars 362 forks source link

Publish anvil devchain to artifacts & npm #11006

Closed pahor167 closed 1 month ago

pahor167 commented 2 months ago

Description

Introduces new workflow that generates npm package from anvil devchain.

pahor167 commented 1 month ago

Looks good to me overall, but left a couple comments/questions below 👍

Question: I didn't test that the output file we publish can be used to spin up a devchain correctly, and didn't see a comment for it in the PR description. Did you test that locally? If so, how did you do it? Might be handy to document that as a comment in this PR for future reference, and for the README example. Not a huge deal, just wanted to flag.

Feedback: I left a few nit suggestions that can be committed, but feel free to discard them. Only nice-to-have.

Added readme which has example how to use it. I tested it but there was intermittent error for state dump - now it seems to be consistently working.