Open nategraf opened 3 months ago
With the recent work creating the deployment.toml
file, this work should build off of that.
https://github.com/risc0/risc0-ethereum/pull/211
Additionally, there are ideas and examples of how developers in the Forge community are building out their own deployment processes. Almost certainly learning there: https://github.com/foundry-rs/foundry/issues/3911, https://github.com/foundry-rs/foundry/issues/4732
We currently some code sitting in the Foundry template for handling deployment configs. In particular, it helps the user specify which verifier they want to use on the chain they are deploying to. It is also generally useful for many smart contract deployment scenarios.
https://github.com/risc0/risc0-foundry-template/blob/main/script/Deploy.s.sol#L49-L70
This code should live in and be maintained in this repo, instead of simply existing in the template.