Closed tserg closed 7 months ago
Really cool how smooth and fast the deployment to devnet is.
- Just curious, have you tried deploying to Sepolia (maybe even just 1 contract)?
Not yet, should I give it a go?
- Starknet Foundry version in
.tool-versions
needs updating.
It is a bit tricky, because the main tests will fail on v0.21.0
snfoundry due to the limit of 1,000 events, which in turn originates from blockifier. I think we can do this in a separate PR and fix the failing tests there. What do you think?
- Instead of printing out the contract addresses inline as they deploy, can you please print out a summary table at the end of the deploy script? It's easier to navigate.
Sounds good!
should I give it a go?
If you can, yeah, go for it. I can also pick it up tomorrow.
It is a bit tricky, because the main tests will fail on v0.21.0 snfoundry due to the limit of 1,000 events, which in turn originates from blockifier. I think we can do this in a separate PR and fix the failing tests there. What do you think?
Aaaaah, I forgot about that. Agreed on fixing it in a separate PR, which you already started 👑
Ah. If I use starknet-foundry 0.21.0 it works. 0.19.0 fails.
See updated README for the instructions on launching devnet and running the deploy command.
Notes
sncast
was giving a gas error so I had to upgrade to v0.21.0. However, v0.21.0 is using v0.7.0 RPC, while Katana is still at v0.6.0 RPC, so I switched to starknet-devnet.snforge
for now because of the limit of 1000 events on tests.deploy_alpha-goerli_state.json
file is created with a history of the transactions. If you restart devnet with this file present, the script may run into some errors (at least that is what happened on my local instance). Hence, I added ascarb run reset
command to delete this file.