Open DonatoJPS opened 3 weeks ago
That's something we would like to support. However, we don't have great docs for this yet and we only tested pre-deployed contracts against a local L1 at the moment. You can take a look at this workflow file to get a feel for how to do it: https://github.com/0xPolygon/kurtosis-cdk/blob/main/.github/workflows/deploy.yml#L196-L241
That would be great! Maybe, as we have deploy_zkevm_contracts_on_l1
, another argument like reuse_l1_zkevm_contracts
boolean could work. We should also configure manually each contract address
Background & motivation
I set up my infrastructure using the local CDK and deployed the contracts on Sepolia. After a while, I decided to shut down my local node with
kurtosis clean --all
. Is there any way to reuse the existing contracts on L1 when I want to restore the system again, to avoid redeploying them?I tried setting the
deploy_zkevm_contracts_on_l1
flag to false, but this results in an error.Desired behaviour
I would like to manually configure the contract addresses to avoid redeploying them in Sepolia or any other network
How important is this to you?
Nice to have; This feature would make using Kurtosis CDK more enjoyable.