• Mark Tyneway's avatar
    contracts-bedrock: fix deploy utils · 82b07d46
    Mark Tyneway authored
    It is possible for the backend to prune the chain db which
    will cause `waitForTransaction` to hang forever if the contract
    was not recently deployed. Only check for the transaction if
    it was recently deployed and instead add a safety check that
    looks at the on chain code. It is unlikely to deploy a contract that
    leaves no code in the state, so this is safe. The state cannot
    be pruned so this will be a more reliable check to ensure that
    the deployment is sane and exists. We do not use selfdestruct
    so this is safe.
    82b07d46
Name
Last commit
Last update
..
actor-tests Loading commit data...
atst Loading commit data...
balance-monitor Loading commit data...
chain-mon Loading commit data...
common-ts Loading commit data...
contracts Loading commit data...
contracts-bedrock Loading commit data...
contracts-periphery Loading commit data...
core-utils Loading commit data...
data-transport-layer Loading commit data...
fault-detector Loading commit data...
hardhat-deploy-config Loading commit data...
message-relayer Loading commit data...
migration-data Loading commit data...
replica-healthcheck Loading commit data...
sdk Loading commit data...
two-step-monitor Loading commit data...