protocol-solidity icon indicating copy to clipboard operation
protocol-solidity copied to clipboard

[ISSUE] Deployment Challenges

Open salman01zp opened this issue 1 year ago • 0 comments

Overview

These are some of the challenges faced while deploying, primarily related to the having same nonce.

  • Ensure that you use the same nonce across all chains to generate the same deployer contract address.

  • If the deployment fails for one of the chains, follow these steps:

      1. Make the nonce same for all chains by making some transactions. If the nonce difference is too big, given the high transaction fees for Goerli or Arbitrum, it would be better to use a fresh account.
    
      2. Once the nonce is same for all chains, re-run the script to deploy contracts to all chains from the beginning.
    
    
  • Recently started having a consistent issue with deploying to Avalanche and Optimism test net with errors like nonce already used, transaction_replaced. So skipped them from deployment for now Error log

Check this notion doc for more details

salman01zp avatar Apr 10 '23 16:04 salman01zp