Skip to content

Increase log verbosity for pre-computed contract that already deployed. #18099

@Ethnical

Description

@Ethnical

We shoud ensure that the logs are more explicit when there are already deployed contracts at the same address instead of skipping silently and not showing any output on this contract address.
For example in the logs below there is missing Address already deployed at address:

git checkout op-contracts/v5.0.0-rc.1
cd op-deployer
just build-contracts
just copy-contract-artifacts
just build-go


PRIVATE_KEY=<redacted> NETWORK=sepolia ETH_RPC_URL=https://ethereum-sepolia-rpc.publicnode.com just deploy-opcm 'op-contracts/v5.0.0-rc.1'

Using artifacts locator: embedded
INFO [10-23|22:18:55.729] Load database journal from disk
INFO [10-23|22:18:55.729] State snapshot generator is not found
INFO [10-23|22:18:55.729] Initialized path database                readonly=true triecache=0.00B statecache=0.00B buffer=0.00B history="entire chain"
INFO [10-23|22:19:03.405] Running chain assertions on the DelayedWETH implementation at 0x33Dadc2d1aA9BB613A7AE6B28425eA00D44c6998 sender=0x67D29AAa07AadEbD0f1098F3c986beB7395d977c
INFO [10-23|22:19:03.450] Running chain assertions on the DisputeGameFactory implementation at 0x74Fac1D45B98bae058F8F566201c9A81B85C7D50 sender=0x67D29AAa07AadEbD0f1098F3c986beB7395d977c
INFO [10-23|22:19:03.621] Running chain assertions on the L1CrossDomainMessenger implementation at 0xb686F13AfF1e427a1f993F29ab0F2E7383729FE0 sender=0x67D29AAa07AadEbD0f1098F3c986beB7395d977c
WARN [10-23|22:19:03.877] Fault                                    addr=0xb686F13AfF1e427a1f993F29ab0F2E7383729FE0 label=L1CrossDomainMessengerImpl err="execution reverted" depth=2 op=253 byte4=0x3e47158c
WARN [10-23|22:19:03.877] callframe                                depth=1 byte4=0x329aa281 addr=0xfdAf657f7146c1AB9db4d70cEd5FDEa7dC4906c0 callsite= label=DeployImplementations
WARN [10-23|22:19:03.877] callframe                                depth=2 byte4=0x3e47158c addr=0xb686F13AfF1e427a1f993F29ab0F2E7383729FE0 callsite= label=L1CrossDomainMessengerImpl
WARN [10-23|22:19:03.877] Revert                                   addr=0xb686F13AfF1e427a1f993F29ab0F2E7383729FE0 label=L1CrossDomainMessengerImpl err="execution reverted" revertData=0x54e433cd depth=1
INFO [10-23|22:19:03.878] Running chain assertions on the L1ERC721Bridge implementation at 0x74f1aC50EB0BE98853805D381C884f5f9abDEcf9 sender=0x67D29AAa07AadEbD0f1098F3c986beB7395d977c
WARN [10-23|22:19:04.132] Fault                                    addr=0x74f1aC50EB0BE98853805D381C884f5f9abDEcf9 label=L1ERC721BridgeImpl         err="execution reverted" depth=2 op=253 byte4=0x3e47158c
WARN [10-23|22:19:04.132] callframe                                depth=1 byte4=0x329aa281 addr=0xfdAf657f7146c1AB9db4d70cEd5FDEa7dC4906c0 callsite= label=DeployImplementations
WARN [10-23|22:19:04.132] callframe                                depth=2 byte4=0x3e47158c addr=0x74f1aC50EB0BE98853805D381C884f5f9abDEcf9 callsite= label=L1ERC721BridgeImpl
WARN [10-23|22:19:04.132] Revert                                   addr=0x74f1aC50EB0BE98853805D381C884f5f9abDEcf9 label=L1ERC721BridgeImpl         err="execution reverted" revertData=0x54e433cd depth=1
INFO [10-23|22:19:04.132] Running chain assertions on the L1StandardBridge implementation at 0x61525EaaCDdB97D9184aFc205827E6A4fd0Bf62A sender=0x67D29AAa07AadEbD0f1098F3c986beB7395d977c
INFO [10-23|22:19:04.296] Running chain assertions on the MIPS at 0x305D1C0EED9a0291686f3BfDf1F5E54aaeeF80e4 sender=0x67D29AAa07AadEbD0f1098F3c986beB7395d977c
INFO [10-23|22:19:04.296] Running chain assertions on the OPContractsManager at 0x6aF7ecE7d6506bE573841B8Cf29096638dF5FC4F sender=0x67D29AAa07AadEbD0f1098F3c986beB7395d977c
INFO [10-23|22:19:04.441] Running chain assertions on the OptimismMintableERC20Factory implementation at 0x8ee6fB13c6c9a7e401531168E196Fbf8b05cEabB sender=0x67D29AAa07AadEbD0f1098F3c986beB7395d977c
INFO [10-23|22:19:04.523] Running chain assertions on the OptimismPortal2 implementation at 0x7Cf803296662e8C72A6C1d6450572209aCF7f202 sender=0x67D29AAa07AadEbD0f1098F3c986beB7395d977c
INFO [10-23|22:19:04.767] Running chain assertions on the ETHLockbox implementation at 0x784d2F03593A42A6E4676A012762F18775ecbBe6 sender=0x67D29AAa07AadEbD0f1098F3c986beB7395d977c
INFO [10-23|22:19:04.859] Running chain assertions on the SystemConfig impl at 0x2fA28989fc559836E9d66dFf3010C7F7f41c65ED sender=0x67D29AAa07AadEbD0f1098F3c986beB7395d977c
INFO [10-23|22:19:05.807] transaction broadcasted                  id=bf3f0c..0160d7 nonce=0
INFO [10-23|22:19:05.807] Publishing transaction                   service=transactor tx=0xb30430077cee0d96c6d9890a536730766268bc06d5ea4ce3e655256f9187daee nonce=12 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=3,235,113
INFO [10-23|22:19:05.850] Transaction successfully published       service=transactor tx=0xb30430077cee0d96c6d9890a536730766268bc06d5ea4ce3e655256f9187daee nonce=12 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=3,235,113 tx=b30430..87daee
INFO [10-23|22:19:05.919] transaction broadcasted                  id=d1101d..47dc6a nonce=0
INFO [10-23|22:19:05.919] Publishing transaction                   service=transactor tx=0x4f7016dc7ce911b23634fcf7f7886f642f08af5a576b19b74bb550efafe41398 nonce=13 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=1,320,548
INFO [10-23|22:19:05.959] Transaction successfully published       service=transactor tx=0x4f7016dc7ce911b23634fcf7f7886f642f08af5a576b19b74bb550efafe41398 nonce=13 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=1,320,548 tx=4f7016..e41398
INFO [10-23|22:19:06.031] transaction broadcasted                  id=7a73bb..1b5148 nonce=0
INFO [10-23|22:19:06.031] Publishing transaction                   service=transactor tx=0x9305d5d5a04e4df502f1c5ccebba2c8aebc5f1198e347eae8dd5bfe8957d9489 nonce=14 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=3,970,550
INFO [10-23|22:19:06.078] Transaction successfully published       service=transactor tx=0x9305d5d5a04e4df502f1c5ccebba2c8aebc5f1198e347eae8dd5bfe8957d9489 nonce=14 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=3,970,550 tx=9305d5..7d9489
INFO [10-23|22:19:06.147] transaction broadcasted                  id=f9baa2..d470a1 nonce=0
INFO [10-23|22:19:06.147] Publishing transaction                   service=transactor tx=0xab9e1bc38d7bd5a2001f111620f7208da79db6025ae16953e592d1307d6a2501 nonce=15 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=4,361,071
INFO [10-23|22:19:06.190] Transaction successfully published       service=transactor tx=0xab9e1bc38d7bd5a2001f111620f7208da79db6025ae16953e592d1307d6a2501 nonce=15 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=4,361,071 tx=ab9e1b..6a2501
INFO [10-23|22:19:06.299] transaction broadcasted                  id=767213..b68ec2 nonce=0
INFO [10-23|22:19:06.299] Publishing transaction                   service=transactor tx=0x892bbb3230404e85d7ae9586db9fd311ead2b01503d03b29328cef5f343c98c8 nonce=16 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=3,942,951
INFO [10-23|22:19:06.342] Transaction successfully published       service=transactor tx=0x892bbb3230404e85d7ae9586db9fd311ead2b01503d03b29328cef5f343c98c8 nonce=16 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=3,942,951 tx=892bbb..3c98c8
INFO [10-23|22:19:06.420] transaction broadcasted                  id=8b792b..17c7fd nonce=0
INFO [10-23|22:19:06.420] Publishing transaction                   service=transactor tx=0xc2910173d0c093384ad96ed31760d0a5f4dbb029faa74103ccd527e442344d1a nonce=17 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=3,654,202
INFO [10-23|22:19:06.463] Transaction successfully published       service=transactor tx=0xc2910173d0c093384ad96ed31760d0a5f4dbb029faa74103ccd527e442344d1a nonce=17 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=3,654,202 tx=c29101..344d1a
INFO [10-23|22:19:06.542] transaction broadcasted                  id=47840a..be3ddd nonce=0
INFO [10-23|22:19:06.542] Publishing transaction                   service=transactor tx=0xf0ec55caec59cb9ab2787ae47f417ab47b7c7a6ebea7e8985eff0fd8cc4f05db nonce=18 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=5,627,227
INFO [10-23|22:19:06.605] Transaction successfully published       service=transactor tx=0xf0ec55caec59cb9ab2787ae47f417ab47b7c7a6ebea7e8985eff0fd8cc4f05db nonce=18 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=5,627,227 tx=f0ec55..4f05db
WARN [10-23|22:19:06.661] Failed to create a transaction, will retry service=transactor err="failed to call: execution reverted, reason: 0x"
WARN [10-23|22:19:08.773] Failed to create a transaction, will retry service=transactor err="failed to call: execution reverted, reason: 0x"
WARN [10-23|22:19:10.896] Failed to create a transaction, will retry service=transactor err="failed to call: execution reverted, reason: 0x"
INFO [10-23|22:19:12.966] Transaction confirmed                    service=transactor tx=b30430..87daee block=395e95..ac9fb2:9475564 effectiveGasPrice=1,000,000,009
INFO [10-23|22:19:13.075] transaction broadcasted                  id=77f163..dbe2d8 nonce=0
INFO [10-23|22:19:13.075] transaction confirmed                    id=bf3f0c..0160d7 completed=1 total=8 hash=0xb30430077cee0d96c6d9890a536730766268bc06d5ea4ce3e655256f9187daee nonce=0 creation=0x0000000000000000000000000000000000000000
INFO [10-23|22:19:13.075] Publishing transaction                   service=transactor tx=0xa8e1688ce44d9c19c4813ebcdbfea5d8cab7bd7bceca448027c11813326c13b3 nonce=19 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=2,767,832
INFO [10-23|22:19:13.079] Transaction confirmed                    service=transactor tx=4f7016..e41398 block=395e95..ac9fb2:9475564 effectiveGasPrice=1,000,000,009
INFO [10-23|22:19:13.079] transaction confirmed                    id=d1101d..47dc6a completed=2 total=8 hash=0x4f7016dc7ce911b23634fcf7f7886f642f08af5a576b19b74bb550efafe41398 nonce=0 creation=0x0000000000000000000000000000000000000000
INFO [10-23|22:19:13.159] Transaction successfully published       service=transactor tx=0xa8e1688ce44d9c19c4813ebcdbfea5d8cab7bd7bceca448027c11813326c13b3 nonce=19 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=2,767,832 tx=a8e168..6c13b3
INFO [10-23|22:19:13.192] Transaction confirmed                    service=transactor tx=9305d5..7d9489 block=395e95..ac9fb2:9475564 effectiveGasPrice=1,000,000,009
INFO [10-23|22:19:13.192] transaction confirmed                    id=7a73bb..1b5148 completed=3 total=8 hash=0x9305d5d5a04e4df502f1c5ccebba2c8aebc5f1198e347eae8dd5bfe8957d9489 nonce=0 creation=0x0000000000000000000000000000000000000000
INFO [10-23|22:19:13.461] Transaction confirmed                    service=transactor tx=892bbb..3c98c8 block=395e95..ac9fb2:9475564 effectiveGasPrice=1,000,000,009
INFO [10-23|22:19:13.578] Transaction confirmed                    service=transactor tx=c29101..344d1a block=395e95..ac9fb2:9475564 effectiveGasPrice=1,000,000,009
INFO [10-23|22:19:13.719] Transaction confirmed                    service=transactor tx=f0ec55..4f05db block=395e95..ac9fb2:9475564 effectiveGasPrice=1,000,000,009
INFO [10-23|22:19:14.300] Transaction confirmed                    service=transactor tx=ab9e1b..6a2501 block=395e95..ac9fb2:9475564 effectiveGasPrice=1,000,000,009
INFO [10-23|22:19:14.300] transaction confirmed                    id=f9baa2..d470a1 completed=4 total=8 hash=0xab9e1bc38d7bd5a2001f111620f7208da79db6025ae16953e592d1307d6a2501 nonce=0 creation=0x0000000000000000000000000000000000000000
INFO [10-23|22:19:14.300] transaction confirmed                    id=767213..b68ec2 completed=5 total=8 hash=0x892bbb3230404e85d7ae9586db9fd311ead2b01503d03b29328cef5f343c98c8 nonce=0 creation=0x0000000000000000000000000000000000000000
INFO [10-23|22:19:14.300] transaction confirmed                    id=8b792b..17c7fd completed=6 total=8 hash=0xc2910173d0c093384ad96ed31760d0a5f4dbb029faa74103ccd527e442344d1a nonce=0 creation=0x0000000000000000000000000000000000000000
INFO [10-23|22:19:14.300] transaction confirmed                    id=47840a..be3ddd completed=7 total=8 hash=0xf0ec55caec59cb9ab2787ae47f417ab47b7c7a6ebea7e8985eff0fd8cc4f05db nonce=0 creation=0x0000000000000000000000000000000000000000
INFO [10-23|22:19:25.159] Publishing transaction                   service=transactor tx=0xa8e1688ce44d9c19c4813ebcdbfea5d8cab7bd7bceca448027c11813326c13b3 nonce=19 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=2,767,832
INFO [10-23|22:19:25.282] Transaction confirmed                    service=transactor tx=a8e168..6c13b3 block=54aa5a..a0e8f0:9475565 effectiveGasPrice=1,000,000,010
INFO [10-23|22:19:25.282] Transaction receipt not found            service=transactor tx=0xa8e1688ce44d9c19c4813ebcdbfea5d8cab7bd7bceca448027c11813326c13b3 nonce=19 gasTipCap=1,000,000,000 gasFeeCap=3,000,000,000 gasLimit=2,767,832 err="context canceled"
INFO [10-23|22:19:25.282] transaction confirmed                    id=77f163..dbe2d8 completed=8 total=8 hash=0xa8e1688ce44d9c19c4813ebcdbfea5d8cab7bd7bceca448027c11813326c13b3 nonce=0 creation=0x0000000000000000000000000000000000000000
INFO [10-23|22:19:25.282] deployed implementations

Metadata

Metadata

Assignees

No one assigned

    Labels

    M-needs-triageMeta: this issue needs to be labelled

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions