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

72 lines
5.5 KiB

GasRouterTest:testDispatchWithGas(uint256) (runs: 256, μ: 413789, ~: 413789)
GasRouterTest:testQuoteGasPayment(uint256) (runs: 256, μ: 85818, ~: 85818)
GasRouterTest:testSetDestinationGas(uint256) (runs: 256, μ: 73808, ~: 75985)
InterchainAccountRouterTest:testCallRemoteWithDefault(bytes32) (runs: 256, μ: 595540, ~: 595696)
InterchainAccountRouterTest:testCallRemoteWithOverrides(bytes32) (runs: 256, μ: 500333, ~: 500489)
InterchainAccountRouterTest:testCallRemoteWithoutDefaults(bytes32) (runs: 256, μ: 19478, ~: 19478)
InterchainAccountRouterTest:testConstructor() (gas: 2474183)
InterchainAccountRouterTest:testEnrollRemoteRouterAndIsm(bytes32,bytes32) (runs: 256, μ: 109253, ~: 109253)
InterchainAccountRouterTest:testEnrollRemoteRouterAndIsmImmutable(bytes32,bytes32,bytes32,bytes32) (runs: 256, μ: 106926, ~: 106926)
InterchainAccountRouterTest:testEnrollRemoteRouterAndIsmNonOwner(address,bytes32,bytes32) (runs: 256, μ: 20291, ~: 20291)
InterchainAccountRouterTest:testEnrollRemoteRouters(uint8,uint32,bytes32) (runs: 256, μ: 4026657, ~: 3555474)
InterchainAccountRouterTest:testGetLocalInterchainAccount(bytes32) (runs: 256, μ: 508663, ~: 508819)
InterchainAccountRouterTest:testGetRemoteInterchainAccount() (gas: 120253)
InterchainAccountRouterTest:testOverrideAndCallRemote(bytes32) (runs: 256, μ: 595563, ~: 595719)
InterchainAccountRouterTest:testReceiveValue(uint256) (runs: 256, μ: 109650, ~: 109650)
InterchainAccountRouterTest:testSendValue(uint256) (runs: 256, μ: 524373, ~: 524373)
InterchainQueryRouterTest:testCannotCallbackReverting() (gas: 1450573)
InterchainQueryRouterTest:testCannotQueryReverting() (gas: 1118267)
InterchainQueryRouterTest:testQueryAddress(address) (runs: 256, μ: 1481285, ~: 1481363)
InterchainQueryRouterTest:testQueryUint256(uint256) (runs: 256, μ: 1665175, ~: 1665175)
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: 1197693)
LiquidityLayerRouterTest:testSetLiquidityLayerAdapter() (gas: 23363)
MessagingTest:testSendMessage(string) (runs: 256, μ: 277791, ~: 296095)
PausableReentrancyGuardTest:testNonreentrant() (gas: 9628)
PausableReentrancyGuardTest:testNonreentrantNotPaused() (gas: 14163)
PausableReentrancyGuardTest:testPause() (gas: 13635)
ValidatorAnnounceTest:testAnnounce() (gas: 245554)
InterchainGasPaymasterTest:testClaim() (gas: 90675)
InterchainGasPaymasterTest:testConstructorSetsBeneficiary() (gas: 7648)
InterchainGasPaymasterTest:testGetExchangeRateAndGasPrice() (gas: 41743)
InterchainGasPaymasterTest:testGetExchangeRateAndGasPriceRevertsIfNoGasOracleSet() (gas: 10837)
InterchainGasPaymasterTest:testInitializeRevertsIfCalledTwice() (gas: 11087)
InterchainGasPaymasterTest:testPayForGas() (gas: 92812)
InterchainGasPaymasterTest:testPayForGasRevertsIfPaymentInsufficient() (gas: 44808)
InterchainGasPaymasterTest:testQuoteGasPaymentRemoteVeryCheap() (gas: 41751)
InterchainGasPaymasterTest:testQuoteGasPaymentRemoteVeryExpensive() (gas: 41731)
InterchainGasPaymasterTest:testQuoteGasPaymentRevertsIfNoGasOracleSet() (gas: 10803)
InterchainGasPaymasterTest:testQuoteGasPaymentSimilarExchangeRate() (gas: 41796)
InterchainGasPaymasterTest:testSetBeneficiary() (gas: 18694)
InterchainGasPaymasterTest:testSetBeneficiaryRevertsIfNotOwner() (gas: 11033)
InterchainGasPaymasterTest:testSetGasOracle() (gas: 40459)
InterchainGasPaymasterTest:testSetGasOracleRevertsIfNotOwner() (gas: 13783)
OverheadIgpTest:testDestinationGasAmount() (gas: 33814)
OverheadIgpTest:testDestinationGasAmountWhenOverheadNotSet() (gas: 7912)
OverheadIgpTest:testInnerIgpSet() (gas: 7632)
OverheadIgpTest:testPayForGas() (gas: 65328)
OverheadIgpTest:testQuoteGasPayment() (gas: 42768)
OverheadIgpTest:testSetDestinationGasAmounts() (gas: 63435)
OverheadIgpTest:testSetDestinationGasAmountsNotOwner() (gas: 12018)
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)
PortalAdapterTest:testAdapter(uint256) (runs: 256, μ: 135467, ~: 135583)
PortalAdapterTest:testReceivingRevertsWithoutTransferCompletion(uint256) (runs: 256, μ: 140406, ~: 140522)
PortalAdapterTest:testReceivingWorks(uint256) (runs: 256, μ: 229403, ~: 229520)
TestQuerySenderTest:testSendAddressQuery(address) (runs: 256, μ: 1055130, ~: 1055208)
TestQuerySenderTest:testSendAddressQueryRequiresGasPayment() (gas: 363315)
TestQuerySenderTest:testSendBytesQuery(uint256) (runs: 256, μ: 1688481, ~: 1688559)
TestQuerySenderTest:testSendBytesQueryRequiresGasPayment() (gas: 363336)
TestQuerySenderTest:testSendUint256Query(uint256) (runs: 256, μ: 1688556, ~: 1688634)
TestQuerySenderTest:testSendUint256QueryRequiresGasPayment() (gas: 363303)