diff --git a/packages/contracts-bedrock/.gas-snapshot b/packages/contracts-bedrock/.gas-snapshot index 70896eca0a1b5..392d4359c70e2 100644 --- a/packages/contracts-bedrock/.gas-snapshot +++ b/packages/contracts-bedrock/.gas-snapshot @@ -17,6 +17,10 @@ CrossDomainOwnable2_Test:test_revertNotSetOnlyOwner2() (gas: 14598) CrossDomainOwnable2_Test:test_revertOnlyOwner() (gas: 63704) DeployerWhitelist_Test:test_owner() (gas: 7591) DeployerWhitelist_Test:test_storageSlots() (gas: 33427) +Encoding_Test:test_decodeVersionedNonce_differential(uint240,uint16) (runs: 256, μ: 13329, ~: 13345) +Encoding_Test:test_encodeCrossDomainMessage_differential(uint240,uint8,address,address,uint256,uint256,bytes) (runs: 256, μ: 87650, ~: 91649) +Encoding_Test:test_encodeDepositTransaction_differential(address,address,uint256,uint256,uint64,bool,bytes,uint256) (runs: 256, μ: 106526, ~: 101730) +Encoding_Test:test_nonceVersioning(uint240,uint16) (runs: 256, μ: 652, ~: 652) GasPriceOracle_Test:test_baseFee() (gas: 8392) GasPriceOracle_Test:test_gasPrice() (gas: 8381) GasPriceOracle_Test:test_l1BaseFee() (gas: 10648) @@ -30,13 +34,18 @@ GasPriceOracle_Test:test_setL1BaseFeeReverts() (gas: 11739) GasPriceOracle_Test:test_setOverhead() (gas: 36813) GasPriceOracle_Test:test_setScalar() (gas: 36820) GasPriceOracle_Test:test_storageLayout() (gas: 86777) +Hashing_Test:test_hashCrossDomainMessage_differential(uint256,address,address,uint256,uint256,bytes) (runs: 256, μ: 23905, ~: 23788) Hashing_Test:test_hashDepositSource() (gas: 628) +Hashing_Test:test_hashDepositTransaction_differential(address,address,uint256,uint256,uint64,bytes,uint256) (runs: 256, μ: 66710, ~: 66432) +Hashing_Test:test_hashOutputRootProof_differential(bytes32,bytes32,bytes32,bytes32) (runs: 256, μ: 72062, ~: 93483) +Hashing_Test:test_hashWithdrawal_differential(uint256,address,address,uint256,uint256,bytes) (runs: 256, μ: 23654, ~: 23478) L1BlockTest:test_basefee() (gas: 7575) L1BlockTest:test_hash() (gas: 7552) L1BlockTest:test_number() (gas: 7629) L1BlockTest:test_sequenceNumber() (gas: 7650) L1BlockTest:test_timestamp() (gas: 7661) L1BlockTest:test_updateValues() (gas: 28193) +L1BlockTest:test_updatesValues(uint64,uint64,uint256,bytes32,uint64) (runs: 256, μ: 35307, ~: 35717) L1BlockNumberTest:test_fallback() (gas: 18677) L1BlockNumberTest:test_getL1BlockNumber() (gas: 10668) L1BlockNumberTest:test_receive() (gas: 25340) @@ -55,7 +64,7 @@ L1CrossDomainMessenger_Test:test_L1MessengerSendMessage() (gas: 301590) L1CrossDomainMessenger_Test:test_L1MessengerTwiceSendMessage() (gas: 1492584) L1CrossDomainMessenger_Test:test_L1MessengerUnpause() (gas: 41003) L1CrossDomainMessenger_Test:test_L1MessengerXDomainSenderReverts() (gas: 24283) -L1CrossDomainMessenger_Test:test_L1MessengerxDomainMessageSenderResets() (gas: 84053) +L1CrossDomainMessenger_Test:test_L1MessengerxDomainMessageSenderResets() (gas: 84071) L1StandardBridge_Test:test_depositERC20() (gas: 574877) L1StandardBridge_Test:test_depositERC20To() (gas: 577084) L1StandardBridge_Test:test_depositETH() (gas: 369700) @@ -81,7 +90,7 @@ L2CrossDomainMessenger_Test:test_L2MessengerRelayShouldRevertIfPaused() (gas: 41 L2CrossDomainMessenger_Test:test_L2MessengerSendMessage() (gas: 122833) L2CrossDomainMessenger_Test:test_L2MessengerTwiceSendMessage() (gas: 138556) L2CrossDomainMessenger_Test:test_L2MessengerXDomainSenderReverts() (gas: 10576) -L2CrossDomainMessenger_Test:test_L2MessengerxDomainMessageSenderResets() (gas: 52558) +L2CrossDomainMessenger_Test:test_L2MessengerxDomainMessageSenderResets() (gas: 52577) L2OutputOracleTest:testCannot_ProposeWithUnmatchedBlockhash() (gas: 26829) L2OutputOracleTest:testCannot_deleteL2Output_ifNotOwner() (gas: 25123) L2OutputOracleTest:testCannot_deleteL2Output_withWrongRoot() (gas: 91445) @@ -92,10 +101,10 @@ L2OutputOracleTest:testCannot_proposeL2OutputIfNotProposer() (gas: 23564) L2OutputOracleTest:testCannot_proposeOnWrongFork() (gas: 26424) L2OutputOracleTest:testCannot_proposeUnexpectedBlockNumber() (gas: 25983) L2OutputOracleTest:test_changeProposer() (gas: 56139) -L2OutputOracleTest:test_computeL2Timestamp() (gas: 30288) +L2OutputOracleTest:test_computeL2Timestamp() (gas: 30307) L2OutputOracleTest:test_constructor() (gas: 49046) L2OutputOracleTest:test_deleteOutput() (gas: 77242) -L2OutputOracleTest:test_getL2Output() (gas: 88508) +L2OutputOracleTest:test_getL2Output() (gas: 88546) L2OutputOracleTest:test_latestBlockNumber() (gas: 76284) L2OutputOracleTest:test_nextBlockNumber() (gas: 15232) L2OutputOracleTest:test_proposeWithBlockhashAndHeight() (gas: 75046) @@ -144,10 +153,11 @@ OptimismPortalUpgradeable_Test:test_cannotInitImpl() (gas: 10813) OptimismPortalUpgradeable_Test:test_cannotInitProxy() (gas: 15789) OptimismPortalUpgradeable_Test:test_initValuesOnProxy() (gas: 15967) OptimismPortalUpgradeable_Test:test_upgrading() (gas: 180632) -OptimismPortal_FinalizeWithdrawal_Test:test_finalizeWithdrawalTransaction_revertsOnInsufficientGas() (gas: 160788) +OptimismPortal_FinalizeWithdrawal_Test:test_finalizeWithdrawalTransaction_differential(address,address,uint256,uint256,bytes) (runs: 256, μ: 265023, ~: 265729) +OptimismPortal_FinalizeWithdrawal_Test:test_finalizeWithdrawalTransaction_revertsOnInsufficientGas() (gas: 158288) OptimismPortal_FinalizeWithdrawal_Test:test_finalizeWithdrawalTransaction_revertsOnInvalidOutputRootProof() (gas: 81241) -OptimismPortal_FinalizeWithdrawal_Test:test_finalizeWithdrawalTransaction_revertsOnRecentWithdrawal() (gas: 53001) -OptimismPortal_FinalizeWithdrawal_Test:test_finalizeWithdrawalTransaction_revertsOnReentrancy() (gas: 205354) +OptimismPortal_FinalizeWithdrawal_Test:test_finalizeWithdrawalTransaction_revertsOnRecentWithdrawal() (gas: 50501) +OptimismPortal_FinalizeWithdrawal_Test:test_finalizeWithdrawalTransaction_revertsOnReentrancy() (gas: 202854) OptimismPortal_FinalizeWithdrawal_Test:test_finalizeWithdrawalTransaction_revertsOnReplay() (gas: 278729) OptimismPortal_FinalizeWithdrawal_Test:test_finalizeWithdrawalTransaction_revertsOnSelfCall() (gas: 50539) OptimismPortal_FinalizeWithdrawal_Test:test_finalizeWithdrawalTransaction_revertsOninvalidWithdrawalProof() (gas: 148562) @@ -164,20 +174,20 @@ OptimismPortal_Test:test_depositTransaction_withEthValueAndContractContractCreat OptimismPortal_Test:test_depositTransaction_withEthValueAndEOAContractCreation() (gas: 75881) OptimismPortal_Test:test_depositTransaction_withEthValueFromContract() (gas: 83333) OptimismPortal_Test:test_depositTransaction_withEthValueFromEOA() (gas: 83993) -OptimismPortal_Test:test_isBlockFinalized() (gas: 113725) -OptimismPortal_Test:test_simple_isBlockFinalized() (gas: 26630) +OptimismPortal_Test:test_isBlockFinalized() (gas: 113744) +OptimismPortal_Test:test_simple_isBlockFinalized() (gas: 24130) Proxy_Test:test_clashingFunctionSignatures() (gas: 101427) Proxy_Test:test_implementationKey() (gas: 20942) Proxy_Test:test_implementationProxyCallIfNotAdmin() (gas: 30021) Proxy_Test:test_implementationZeroAddress() (gas: 47604) Proxy_Test:test_itDelegatesToTheImplementation() (gas: 45251) Proxy_Test:test_ownerKey() (gas: 19091) -Proxy_Test:test_ownerProxyCallIfNotAdmin() (gas: 34711) +Proxy_Test:test_ownerProxyCallIfNotAdmin() (gas: 34729) Proxy_Test:test_payableUpgradeToAndCall() (gas: 53865) -Proxy_Test:test_revertUpgradeToAndCall() (gas: 104654) +Proxy_Test:test_revertUpgradeToAndCall() (gas: 104727) Proxy_Test:test_upgradeToAndCall() (gas: 125305) Proxy_Test:test_zeroAddressCaller() (gas: 14825) -ProxyAdmin_Test:test_chugsplashChangeProxyAdmin() (gas: 35623) +ProxyAdmin_Test:test_chugsplashChangeProxyAdmin() (gas: 35642) ProxyAdmin_Test:test_chugsplashGetProxyAdmin() (gas: 15683) ProxyAdmin_Test:test_chugsplashGetProxyImplementation() (gas: 51149) ProxyAdmin_Test:test_chugsplashUpgrade() (gas: 48960) @@ -187,7 +197,7 @@ ProxyAdmin_Test:test_delegateResolvedGetProxyAdmin() (gas: 17699) ProxyAdmin_Test:test_delegateResolvedGetProxyImplementation() (gas: 62115) ProxyAdmin_Test:test_delegateResolvedUpgrade() (gas: 58520) ProxyAdmin_Test:test_delegateResolvedUpgradeAndCall() (gas: 97989) -ProxyAdmin_Test:test_erc1967ChangeProxyAdmin() (gas: 33851) +ProxyAdmin_Test:test_erc1967ChangeProxyAdmin() (gas: 33870) ProxyAdmin_Test:test_erc1967GetProxyAdmin() (gas: 15669) ProxyAdmin_Test:test_erc1967GetProxyImplementation() (gas: 52093) ProxyAdmin_Test:test_erc1967Upgrade() (gas: 50030) @@ -282,6 +292,7 @@ ResourceMetering_Test:test_updateTenEmptyBlocks() (gas: 20571) ResourceMetering_Test:test_updateTwoEmptyBlocks() (gas: 20594) ResourceMetering_Test:test_useMaxSucceeds() (gas: 8017134) ResourceMetering_Test:test_useMoreThanMaxReverts() (gas: 16058) +SafeCall_Test:test_safeCall(address,address,uint256,uint64,bytes) (runs: 256, μ: 43632, ~: 45833) Semver_Test:test_behindProxy() (gas: 506906) Semver_Test:test_version() (gas: 9487) SequencerFeeVault_Test:test_constructor() (gas: 7678)