Snapchain / op-chain-deployment

2 stars 1 forks source link

Chore: Check whether contract is already deployed #19

Closed bournezjc closed 1 month ago

bournezjc commented 1 month ago

Summary

This pr adds a check in script to test whether the contract is already deployed on the target chain.

Test

Simply run the script or copy the modified codes to another scripts to test locally.

bap2pecs commented 1 month ago

awesome. I also updated https://github.com/Snapchain/op-chain-deployment/issues/9 with

# - if it exists, retrieve the address from the `url` field of the json response and put in the env file

can you also add that?