The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
hyperlane-monorepo/solidity/.gas-snapshot

66 lines
4.8 KiB

GasRouterTest:testDispatchWithGas(uint256) (runs: 256, μ: 408670, ~: 408670)
GasRouterTest:testQuoteGasPayment(uint256) (runs: 256, μ: 85774, ~: 85774)
GasRouterTest:testSetDestinationGas(uint256) (runs: 256, μ: 73808, ~: 75985)
InterchainAccountRouterTest:testBytes32Owner() (gas: 210236)
InterchainAccountRouterTest:testCannotSetOwner(address) (runs: 256, μ: 505585, ~: 505741)
InterchainAccountRouterTest:testCannotSetOwnerTwice(address) (runs: 256, μ: 854698, ~: 854698)
InterchainAccountRouterTest:testOwner() (gas: 210393)
InterchainAccountRouterTest:testReceiveValue(uint256) (runs: 256, μ: 148364, ~: 150014)
InterchainAccountRouterTest:testSendValue(uint256) (runs: 256, μ: 556925, ~: 556925)
InterchainAccountRouterTest:testSetOwner(address) (runs: 256, μ: 540147, ~: 540147)
InterchainGasPaymasterTest:testClaim() (gas: 90697)
InterchainGasPaymasterTest:testConstructorSetsBeneficiary() (gas: 7648)
InterchainGasPaymasterTest:testGetExchangeRateAndGasPrice() (gas: 41721)
InterchainGasPaymasterTest:testGetExchangeRateAndGasPriceRevertsIfNoGasOracleSet() (gas: 10815)
InterchainGasPaymasterTest:testInitializeRevertsIfCalledTwice() (gas: 10960)
InterchainGasPaymasterTest:testPayForGas() (gas: 92790)
InterchainGasPaymasterTest:testPayForGasRevertsIfPaymentInsufficient() (gas: 44808)
InterchainGasPaymasterTest:testQuoteGasPaymentRemoteVeryCheap() (gas: 41729)
InterchainGasPaymasterTest:testQuoteGasPaymentRemoteVeryExpensive() (gas: 41709)
InterchainGasPaymasterTest:testQuoteGasPaymentRevertsIfNoGasOracleSet() (gas: 10781)
InterchainGasPaymasterTest:testQuoteGasPaymentSimilarExchangeRate() (gas: 41774)
InterchainGasPaymasterTest:testSetBeneficiary() (gas: 18694)
InterchainGasPaymasterTest:testSetBeneficiaryRevertsIfNotOwner() (gas: 11033)
InterchainGasPaymasterTest:testSetGasOracle() (gas: 40459)
InterchainGasPaymasterTest:testSetGasOracleRevertsIfNotOwner() (gas: 13783)
InterchainQueryRouterTest:testCannotCallbackReverting() (gas: 1506125)
InterchainQueryRouterTest:testCannotQueryReverting() (gas: 1173880)
InterchainQueryRouterTest:testQueryAddress(address) (runs: 256, μ: 1536915, ~: 1536915)
InterchainQueryRouterTest:testQueryUint256(uint256) (runs: 256, μ: 1685046, ~: 1685124)
LiquidityLayerRouterTest:testCannotSendToRecipientWithoutHandle() (gas: 662979)
LiquidityLayerRouterTest:testDispatchWithTokenTransfersMovesTokens() (gas: 545350)
LiquidityLayerRouterTest:testDispatchWithTokensCallsAdapter() (gas: 551460)
LiquidityLayerRouterTest:testDispatchWithTokensRevertsWithFailedTransferIn() (gas: 28663)
LiquidityLayerRouterTest:testDispatchWithTokensRevertsWithUnkownBridgeAdapter() (gas: 20663)
LiquidityLayerRouterTest:testDispatchWithTokensTransfersOnDestination() (gas: 781605)
LiquidityLayerRouterTest:testProcessingRevertsIfBridgeAdapterReverts() (gas: 596435)
LiquidityLayerRouterTest:testSendToRecipientWithoutHandleWhenSpecifyingNoMessage() (gas: 1055907)
LiquidityLayerRouterTest:testSetLiquidityLayerAdapter() (gas: 23363)
MessagingTest:testSendMessage(string) (runs: 256, μ: 277522, ~: 296005)
OverheadIgpTest:testDestinationGasAmount() (gas: 33814)
OverheadIgpTest:testDestinationGasAmountWhenOverheadNotSet() (gas: 7912)
OverheadIgpTest:testInnerIgpSet() (gas: 7632)
OverheadIgpTest:testPayForGas() (gas: 65328)
OverheadIgpTest:testQuoteGasPayment() (gas: 42746)
OverheadIgpTest:testSetDestinationGasAmounts() (gas: 63435)
OverheadIgpTest:testSetDestinationGasAmountsNotOwner() (gas: 12018)
PausableReentrancyGuardTest:testNonreentrant() (gas: 9628)
PausableReentrancyGuardTest:testNonreentrantNotPaused() (gas: 14163)
PausableReentrancyGuardTest:testPause() (gas: 13635)
PortalAdapterTest:testAdapter(uint256) (runs: 256, μ: 135467, ~: 135583)
PortalAdapterTest:testReceivingRevertsWithoutTransferCompletion(uint256) (runs: 256, μ: 140406, ~: 140522)
PortalAdapterTest:testReceivingWorks(uint256) (runs: 256, μ: 229403, ~: 229520)
StorageGasOracleTest:testConstructorSetsOwnership() (gas: 7611)
StorageGasOracleTest:testGetExchangeRateAndGasPrice() (gas: 12456)
StorageGasOracleTest:testGetExchangeRateAndGasPriceUnknownDomain() (gas: 8064)
StorageGasOracleTest:testSetRemoteGasData() (gas: 38836)
StorageGasOracleTest:testSetRemoteGasDataConfigs() (gas: 69238)
StorageGasOracleTest:testSetRemoteGasDataConfigsRevertsIfNotOwner() (gas: 12227)
StorageGasOracleTest:testSetRemoteGasDataRevertsIfNotOwner() (gas: 11275)
TestQuerySenderTest:testSendAddressQuery(address) (runs: 256, μ: 1075135, ~: 1075135)
TestQuerySenderTest:testSendAddressQueryRequiresGasPayment() (gas: 383215)
TestQuerySenderTest:testSendBytesQuery(uint256) (runs: 256, μ: 1708408, ~: 1708486)
TestQuerySenderTest:testSendBytesQueryRequiresGasPayment() (gas: 383236)
TestQuerySenderTest:testSendUint256Query(uint256) (runs: 256, μ: 1708483, ~: 1708561)
TestQuerySenderTest:testSendUint256QueryRequiresGasPayment() (gas: 383203)
ValidatorAnnounceTest:testAnnounce() (gas: 245554)