Created
June 4, 2024 00:15
-
-
Save koloz193/c8f39f6b61411e6b6a3ddebd8a8869df to your computer and use it in GitHub Desktop.
Gas Report Before Changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| contracts/bridge/L1ERC20Bridge.sol:L1ERC20Bridge contract | | | | | | | |
|-----------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 1157674 | 5324 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| claimFailedDeposit | 31366 | 38672 | 41492 | 42486 | 6 | | |
| deposit(address,address,uint256,uint256,uint256) | 27946 | 63712 | 77933 | 95993 | 12 | | |
| deposit(address,address,uint256,uint256,uint256,address) | 28142 | 72854 | 78566 | 94685 | 6 | | |
| depositAmount | 748 | 1498 | 748 | 2748 | 16 | | |
| finalizeWithdrawal | 30262 | 36797 | 37574 | 40190 | 6 | | |
| initialize | 23625 | 23625 | 23625 | 23625 | 1 | | |
| isWithdrawalFinalized | 603 | 1403 | 603 | 2603 | 5 | | |
| l2Bridge | 358 | 1358 | 1358 | 2358 | 2 | | |
| l2TokenAddress | 1272 | 1272 | 1272 | 1272 | 1 | | |
| l2TokenBeacon | 447 | 1447 | 1447 | 2447 | 2 | | |
| l2TokenProxyBytecodeHash | 328 | 1328 | 1328 | 2328 | 2 | | |
| contracts/bridge/L1SharedBridge.sol:L1SharedBridge contract | | | | | | | |
|-------------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 3595266 | 17026 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| bridgehubConfirmL2Transaction | 4913 | 19542 | 26857 | 26857 | 3 | | |
| bridgehubDeposit | 5271 | 31564 | 6249 | 93041 | 11 | | |
| bridgehubDepositBaseToken | 2860 | 36490 | 29437 | 72836 | 7 | | |
| chainBalance | 681 | 1347 | 681 | 2681 | 54 | | |
| claimFailedDeposit | 9115 | 37268 | 40306 | 61843 | 8 | | |
| claimFailedDepositLegacyErc20Bridge | 67721 | 67721 | 67721 | 67721 | 1 | | |
| depositHappened | 642 | 1160 | 642 | 2642 | 27 | | |
| depositLegacyErc20Bridge | 12420 | 48230 | 48235 | 84030 | 4 | | |
| finalizeWithdrawal | 8415 | 61429 | 80495 | 93812 | 19 | | |
| finalizeWithdrawalLegacyErc20Bridge | 85813 | 86463 | 86463 | 87113 | 2 | | |
| initialize | 45410 | 72109 | 72586 | 72586 | 57 | | |
| initializeChainGovernance | 7711 | 24511 | 24811 | 24811 | 114 | | |
| setEraLegacyBridgeLastDepositTime | 26805 | 26805 | 26805 | 26805 | 56 | | |
| setEraPostDiamondUpgradeFirstBatch | 24617 | 24617 | 24617 | 24617 | 56 | | |
| setEraPostLegacyBridgeUpgradeFirstBatch | 24551 | 24551 | 24551 | 24551 | 56 | | |
| setL1Erc20Bridge | 24891 | 24891 | 24891 | 24891 | 56 | | |
| contracts/bridgehub/Bridgehub.sol:Bridgehub contract | | | | | | | |
|------------------------------------------------------|-----------------|--------|--------|--------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 2218013 | 10041 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| acceptAdmin | 46892 | 46892 | 46892 | 46892 | 512 | | |
| acceptOwnership | 45435 | 45435 | 45435 | 45435 | 22 | | |
| addStateTransitionManager | 23830 | 42107 | 46376 | 46376 | 5120 | | |
| addToken | 23808 | 38493 | 46354 | 46354 | 2048 | | |
| admin | 446 | 1446 | 1446 | 2446 | 1024 | | |
| baseToken | 520 | 1120 | 520 | 2520 | 2560 | | |
| createNewChain | 27877 | 67839 | 58640 | 135229 | 512 | | |
| getHyperchain | 1724 | 1724 | 1724 | 1724 | 1536 | | |
| initialize | 24210 | 24210 | 24210 | 24210 | 22 | | |
| l2TransactionBaseCost | 2171 | 2171 | 2171 | 2171 | 256 | | |
| owner | 398 | 2318 | 2398 | 2398 | 556 | | |
| proveL1ToL2TransactionStatus | 0 | 1889 | 1495 | 4653 | 512 | | |
| proveL2LogInclusion | 0 | 2023 | 1621 | 4916 | 512 | | |
| proveL2MessageInclusion | 0 | 2114 | 1711 | 5090 | 512 | | |
| removeStateTransitionManager | 23851 | 25224 | 25289 | 26318 | 2048 | | |
| requestL2TransactionDirect | 34293 | 121542 | 128365 | 188712 | 768 | | |
| requestL2TransactionTwoBridges | 99844 | 101063 | 101128 | 102794 | 256 | | |
| setPendingAdmin | 26002 | 41898 | 49816 | 49828 | 768 | | |
| setSharedBridge | 23874 | 42981 | 46170 | 46170 | 1792 | | |
| sharedBridge | 427 | 1427 | 1427 | 2427 | 1024 | | |
| stateTransitionManager | 564 | 1135 | 564 | 2564 | 7168 | | |
| stateTransitionManagerIsRegistered | 589 | 1255 | 589 | 2589 | 3072 | | |
| tokenIsRegistered | 633 | 1299 | 633 | 2633 | 1536 | | |
| transferOwnership | 47805 | 47805 | 47805 | 47805 | 22 | | |
| contracts/dev-contracts/FeeOnTransferToken.sol:FeeOnTransferToken contract | | | | | | | |
|----------------------------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 654657 | 3427 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| approve | 46196 | 46196 | 46196 | 46196 | 2 | | |
| balanceOf | 559 | 1559 | 1559 | 2559 | 4 | | |
| mint | 68615 | 68615 | 68615 | 68615 | 32 | | |
| contracts/dev-contracts/ReturnSomething.sol:ReturnSomething contract | | | | | | | |
|----------------------------------------------------------------------|-----------------|-----|--------|-----|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 67070 | 89 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| fallback | 23 | 23 | 23 | 23 | 1 | | |
| contracts/dev-contracts/RevertFallback.sol:RevertFallback contract | | | | | | | |
|--------------------------------------------------------------------|-----------------|-----|--------|-----|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 66854 | 88 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| fallback | 23 | 23 | 23 | 23 | 1 | | |
| contracts/dev-contracts/TestnetERC20Token.sol:TestnetERC20Token contract | | | | | | | |
|--------------------------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 640451 | 3356 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| approve | 26284 | 46087 | 46232 | 46568 | 275 | | |
| balanceOf | 0 | 1071 | 559 | 2559 | 1058 | | |
| decimals | 2377 | 2377 | 2377 | 2377 | 4 | | |
| mint | 28431 | 67990 | 68303 | 68615 | 307 | | |
| name | 3174 | 3174 | 3174 | 3174 | 4 | | |
| symbol | 3217 | 3217 | 3217 | 3217 | 4 | | |
| transfer | 28693 | 46512 | 46653 | 46977 | 256 | | |
| contracts/dev-contracts/test/AddressAliasHelperTest.sol:AddressAliasHelperTest contract | | | | | | | |
|-----------------------------------------------------------------------------------------|-----------------|-----|--------|-----|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 110827 | 296 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| applyL1ToL2Alias | 364 | 364 | 364 | 364 | 2 | | |
| undoL1ToL2Alias | 334 | 334 | 334 | 334 | 2 | | |
| contracts/dev-contracts/test/DiamondCutTestContract.sol:DiamondCutTestContract contract | | | | | | | |
|-----------------------------------------------------------------------------------------|-----------------|--------|--------|---------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 1766663 | 7952 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| diamondCut | 23690 | 202293 | 45069 | 1397092 | 20 | | |
| facetAddresses | 1028 | 1579 | 1302 | 2685 | 4 | | |
| contracts/dev-contracts/test/DummyHyperchain.sol:DummyHyperchain contract | | | | | | | |
|---------------------------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 2210961 | 10145 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| getBridgeHubAddress | 323 | 323 | 323 | 323 | 512 | | |
| l2TransactionBaseCost | 0 | 0 | 0 | 0 | 256 | | |
| proveL1ToL2TransactionStatus | 0 | 0 | 0 | 0 | 256 | | |
| proveL2LogInclusion | 0 | 0 | 0 | 0 | 256 | | |
| proveL2MessageInclusion | 0 | 0 | 0 | 0 | 256 | | |
| setBaseTokenGasMultiplierPrice | 43929 | 43929 | 43929 | 43929 | 512 | | |
| setBridgeHubAddress | 26834 | 26834 | 26834 | 26834 | 768 | | |
| setFeeParams | 66415 | 66415 | 66415 | 66415 | 512 | | |
| contracts/dev-contracts/test/DummySharedBridge.sol:DummySharedBridge contract | | | | | | | |
|-------------------------------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 678922 | 2905 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| setDataToBeReturnedInFinalizeWithdrawal | 88816 | 88816 | 88816 | 88816 | 1 | | |
| contracts/dev-contracts/test/DummyStateTransitionManager.sol:DummyStateTransitionManager contract | | | | | | | |
|---------------------------------------------------------------------------------------------------|-----------------|-----|--------|-----|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 3742324 | 17209 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| protocolVersionIsActive | 0 | 0 | 0 | 0 | 54 | | |
| contracts/dev-contracts/test/DummyStateTransitionManagerForValidatorTimelock.sol:DummyStateTransitionManagerForValidatorTimelock contract | | | | | | | |
|-------------------------------------------------------------------------------------------------------------------------------------------|-----------------|------|--------|------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 158281 | 511 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| getChainAdmin | 2376 | 2376 | 2376 | 2376 | 65 | | |
| getHyperchain | 2443 | 2443 | 2443 | 2443 | 13 | | |
| contracts/dev-contracts/test/DummyStateTransitionManagerWithBridgeHubAddress.sol:DummyStateTransitionManagerWBH contract | | | | | | | |
|--------------------------------------------------------------------------------------------------------------------------|-----------------|--------|--------|--------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 3744074 | 17323 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| getHyperchain | 715 | 1143 | 715 | 2715 | 3584 | | |
| owner | 2463 | 2463 | 2463 | 2463 | 256 | | |
| setHyperchain | 111003 | 111040 | 111051 | 111063 | 2304 | | |
| setInitialCutHash | 51849 | 91846 | 87753 | 145592 | 256 | | |
| contracts/dev-contracts/test/DummyTransactionFiltererFalse.sol:TransactionFiltererFalse contract | | | | | | | |
|--------------------------------------------------------------------------------------------------|-----------------|-----|--------|-----|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 145823 | 457 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| isTransactionAllowed | 908 | 908 | 908 | 908 | 1 | | |
| contracts/dev-contracts/test/DummyTransactionFiltererTrue.sol:TransactionFiltererTrue contract | | | | | | | |
|------------------------------------------------------------------------------------------------|-----------------|-----|--------|-----|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 146039 | 458 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| isTransactionAllowed | 909 | 909 | 909 | 909 | 1 | | |
| contracts/dev-contracts/test/MerkleTest.sol:MerkleTest contract | | | | | | | |
|-----------------------------------------------------------------|-----------------|------|--------|------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 199719 | 706 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| calculateRoot | 565 | 2880 | 2902 | 2935 | 261 | | |
| contracts/dev-contracts/test/PriorityQueueTest.sol:PriorityQueueTest contract | | | | | | | |
|-------------------------------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 296337 | 1153 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| front | 4718 | 5003 | 5003 | 5288 | 2 | | |
| getFirstUnprocessedPriorityTx | 325 | 325 | 325 | 325 | 6 | | |
| getSize | 607 | 2107 | 607 | 4607 | 8 | | |
| getTotalPriorityTxs | 313 | 313 | 313 | 313 | 6 | | |
| isEmpty | 375 | 375 | 375 | 375 | 7 | | |
| popFront | 25727 | 32886 | 31322 | 48652 | 15 | | |
| pushBack | 69009 | 71558 | 71833 | 71857 | 31 | | |
| contracts/dev-contracts/test/ReenterGovernance.sol:ReenterGovernance contract | | | | | | | |
|-------------------------------------------------------------------------------|-----------------|--------|--------|--------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 599583 | 2555 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| initialize | 100764 | 100764 | 100764 | 100764 | 4 | | |
| contracts/dev-contracts/test/ReenterL1ERC20Bridge.sol:ReenterL1ERC20Bridge contract | | | | | | | |
|-------------------------------------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 321825 | 1271 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| setBridge | 43853 | 43853 | 43853 | 43853 | 32 | | |
| setFunctionToCall | 26511 | 26511 | 26511 | 26511 | 16 | | |
| contracts/dev-contracts/test/TestExecutor.sol:TestExecutor contract | | | | | | | |
|---------------------------------------------------------------------|-----------------|-------|--------|--------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 2644433 | 12013 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| commitBatches | 7969 | 56051 | 39659 | 114011 | 55 | | |
| executeBatches | 7967 | 26090 | 17968 | 48762 | 7 | | |
| proveBatches | 8133 | 39796 | 48223 | 48223 | 16 | | |
| revertBatches | 9820 | 21129 | 23973 | 23973 | 6 | | |
| contracts/dev-contracts/test/UncheckedMathTest.sol:UncheckedMathTest contract | | | | | | | |
|-------------------------------------------------------------------------------|-----------------|-----|--------|-----|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 98651 | 237 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| uncheckedAdd | 281 | 281 | 281 | 281 | 2 | | |
| uncheckedInc | 239 | 239 | 239 | 239 | 2 | | |
| contracts/dev-contracts/test/UnsafeBytesTest.sol:UnsafeBytesTest contract | | | | | | | |
|---------------------------------------------------------------------------|-----------------|-----|--------|-----|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 170663 | 572 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| readAddress | 799 | 799 | 799 | 799 | 4 | | |
| readBytes32 | 734 | 734 | 734 | 734 | 1 | | |
| readUint256 | 756 | 756 | 756 | 756 | 1 | | |
| readUint32 | 710 | 710 | 710 | 710 | 2 | | |
| contracts/dev-contracts/test/VerifierRecursiveTest.sol:VerifierRecursiveTest contract | | | | | | | |
|---------------------------------------------------------------------------------------|-----------------|--------|--------|--------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 2409226 | 10930 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| verificationKeyHash | 1044 | 1044 | 1044 | 1044 | 1 | | |
| verify | 8010 | 143641 | 8010 | 383960 | 14 | | |
| contracts/dev-contracts/test/VerifierTest.sol:VerifierTest contract | | | | | | | |
|---------------------------------------------------------------------|-----------------|--------|--------|--------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 2409022 | 10929 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| verificationKeyHash | 1043 | 1043 | 1043 | 1043 | 1 | | |
| verify | 7313 | 141010 | 7313 | 370159 | 11 | | |
| contracts/governance/Governance.sol:Governance contract | | | | | | | |
|---------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 1151204 | 5412 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| cancel | 23719 | 25341 | 25754 | 26108 | 5 | | |
| execute | 27496 | 37924 | 39304 | 58860 | 28 | | |
| executeInstant | 25312 | 41701 | 39322 | 59996 | 8 | | |
| getOperationState | 574 | 1080 | 599 | 2550 | 4 | | |
| hashOperation | 1560 | 1588 | 1560 | 1754 | 16 | | |
| isOperation | 685 | 1191 | 710 | 2661 | 4 | | |
| isOperationDone | 650 | 903 | 650 | 2626 | 8 | | |
| isOperationPending | 648 | 1157 | 673 | 2636 | 4 | | |
| isOperationReady | 595 | 1101 | 620 | 2571 | 4 | | |
| minDelay | 360 | 1360 | 1360 | 2360 | 4 | | |
| owner | 396 | 1396 | 1396 | 2396 | 12 | | |
| receive | 0 | 0 | 0 | 0 | 1 | | |
| scheduleShadow | 23893 | 46743 | 50288 | 50300 | 15 | | |
| scheduleTransparent | 25479 | 53552 | 56207 | 63412 | 35 | | |
| securityCouncil | 382 | 1382 | 1382 | 2382 | 8 | | |
| updateDelay | 21629 | 21629 | 21629 | 21629 | 3 | | |
| updateSecurityCouncil | 21753 | 21753 | 21753 | 21753 | 3 | | |
| contracts/state-transition/StateTransitionManager.sol:StateTransitionManager contract | | | | | | | |
|---------------------------------------------------------------------------------------|-----------------|---------|---------|---------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 3733056 | 17307 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| createNewChain | 906 | 2021163 | 3359096 | 3359096 | 5 | | |
| freezeChain | 12397 | 25382 | 25382 | 38368 | 2 | | |
| getChainAdmin | 2285 | 2285 | 2285 | 2285 | 1 | | |
| getHyperchain | 693 | 693 | 693 | 693 | 3 | | |
| initialCutHash | 395 | 1395 | 1395 | 2395 | 2 | | |
| initialize | 22902 | 99466 | 22902 | 183687 | 21 | | |
| protocolVersion | 329 | 1329 | 1329 | 2329 | 4 | | |
| protocolVersionIsActive | 2516 | 2516 | 2516 | 2516 | 1 | | |
| revertBatches | 46083 | 46083 | 46083 | 46083 | 1 | | |
| setInitialCutHash | 29670 | 29670 | 29670 | 29670 | 1 | | |
| setNewVersionUpgrade | 97784 | 97784 | 97784 | 97784 | 1 | | |
| setUpgradeDiamondCut | 46848 | 46848 | 46848 | 46848 | 1 | | |
| setValidatorTimelock | 11295 | 11295 | 11295 | 11295 | 1 | | |
| upgradeCutHash | 492 | 492 | 492 | 492 | 2 | | |
| validatorTimelock | 469 | 1469 | 1469 | 2469 | 2 | | |
| contracts/state-transition/TestnetVerifier.sol:TestnetVerifier contract | | | | | | | |
|-------------------------------------------------------------------------|-----------------|------|--------|------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 2418897 | 11014 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| verify | 1025 | 1025 | 1025 | 1025 | 13 | | |
| contracts/state-transition/ValidatorTimelock.sol:ValidatorTimelock contract | | | | | | | |
|-----------------------------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 1127539 | 5182 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| addValidator | 29615 | 52736 | 53471 | 53471 | 62 | | |
| commitBatches | 29772 | 56068 | 62640 | 62652 | 5 | | |
| commitBatchesSharedBridge | 62759 | 62759 | 62759 | 62759 | 3 | | |
| executeBatches | 25639 | 32118 | 30280 | 40437 | 3 | | |
| executeBatchesSharedBridge | 25805 | 32286 | 30446 | 40609 | 3 | | |
| executionDelay | 335 | 1335 | 1335 | 2335 | 2 | | |
| getCommittedBatchTimestamp | 684 | 1684 | 1684 | 2684 | 2 | | |
| proveBatches | 28056 | 33165 | 33165 | 38274 | 2 | | |
| proveBatchesSharedBridge | 28110 | 33187 | 33187 | 38265 | 2 | | |
| removeValidator | 29637 | 31023 | 31595 | 31837 | 3 | | |
| revertBatches | 23926 | 28941 | 28941 | 33957 | 2 | | |
| revertBatchesSharedBridge | 24049 | 29064 | 29064 | 34080 | 2 | | |
| setExecutionDelay | 23853 | 26851 | 26851 | 29850 | 2 | | |
| setStateTransitionManager | 24014 | 44818 | 46082 | 46082 | 31 | | |
| stateTransitionManager | 424 | 1424 | 1424 | 2424 | 2 | | |
| validators | 692 | 1692 | 1692 | 2692 | 10 | | |
| contracts/state-transition/chain-deps/DiamondInit.sol:DiamondInit contract | | | | | | | |
|----------------------------------------------------------------------------|-----------------|--------|--------|--------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 506441 | 2127 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| initialize | 22660 | 323010 | 326059 | 345959 | 104 | | |
| contracts/state-transition/chain-deps/DiamondProxy.sol:DiamondProxy contract | | | | | | | |
|------------------------------------------------------------------------------|-----------------|--------|--------|--------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 2305111 | 8742 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| acceptAdmin | 30766 | 32501 | 32501 | 34237 | 2 | | |
| bridgehubRequestL2Transaction | 47907 | 109664 | 138350 | 142736 | 3 | | |
| changeFeeParams | 34064 | 38350 | 34358 | 46629 | 3 | | |
| commitBatches | 42565 | 97296 | 80276 | 172624 | 56 | | |
| createBatchCommitment | 15518 | 15518 | 15518 | 15518 | 1 | | |
| executeBatches | 39212 | 56634 | 48877 | 79671 | 7 | | |
| executeUpgrade | 31846 | 326673 | 424933 | 424983 | 4 | | |
| facetAddress | 1398 | 1398 | 1398 | 1398 | 29 | | |
| fallback | 23567 | 23567 | 23567 | 23567 | 1 | | |
| freezeDiamond | 30884 | 36138 | 30952 | 51767 | 4 | | |
| func | 560 | 1691 | 1643 | 2919 | 4 | | |
| functionWithOnlyAdminModifier | 30593 | 30655 | 30655 | 30717 | 2 | | |
| functionWithOnlyAdminOrStateTransitionManagerModifier | 30632 | 32307 | 32839 | 32919 | 4 | | |
| functionWithOnlyBridgehubModifier | 30637 | 30701 | 30701 | 30766 | 2 | | |
| functionWithOnlyStateTransitionManagerModifier | 30659 | 30738 | 30738 | 30818 | 2 | | |
| functionWithOnlyValidatorModifier | 30753 | 30817 | 30817 | 30882 | 2 | | |
| getAdmin | 1146 | 1146 | 1146 | 1146 | 1 | | |
| getBatchProofPublicInput | 3333 | 3333 | 3333 | 3333 | 1 | | |
| getL2SystemContractsUpgradeTxHash | 1195 | 1195 | 1195 | 1195 | 1 | | |
| getTotalBatchesCommitted | 5673 | 5673 | 5673 | 5673 | 3 | | |
| getTotalBlocksCommitted | 1216 | 3341 | 1216 | 9716 | 4 | | |
| getTotalBlocksExecuted | 5696 | 5696 | 5696 | 5696 | 1 | | |
| getTotalBlocksVerified | 1107 | 2807 | 1107 | 5607 | 5 | | |
| isDiamondStorageFrozen | 726 | 928 | 928 | 1131 | 2 | | |
| isFunctionFreezable | 1646 | 1646 | 1646 | 1646 | 29 | | |
| l2TransactionBaseCost | 9682 | 9682 | 9682 | 9682 | 1 | | |
| processL2Logs | 19812 | 19812 | 19812 | 19812 | 1 | | |
| proveBatches | 42717 | 71304 | 78482 | 78494 | 17 | | |
| requestL2Transaction | 146800 | 146800 | 146800 | 146800 | 1 | | |
| revertBatches | 38317 | 41342 | 41952 | 41952 | 6 | | |
| setPendingAdmin | 31344 | 43120 | 43120 | 54896 | 2 | | |
| setPorterAvailability | 31106 | 39150 | 32216 | 54128 | 3 | | |
| setPriorityTxMaxGasLimit | 31058 | 33135 | 31075 | 37272 | 3 | | |
| setTokenMultiplier | 55395 | 57473 | 57523 | 57523 | 43 | | |
| setTransactionFilterer | 31344 | 41222 | 37611 | 54711 | 3 | | |
| setValidator | 31579 | 39939 | 33163 | 55075 | 3 | | |
| unfreezeDiamond | 30841 | 30918 | 30957 | 30957 | 3 | | |
| upgradeChainFromVersion | 34229 | 39978 | 39157 | 47369 | 4 | | |
| util_getAdmin | 1235 | 7780 | 9735 | 9735 | 11 | | |
| util_getBaseToken | 1146 | 1146 | 1146 | 1146 | 1 | | |
| util_getBaseTokenBridge | 1146 | 1146 | 1146 | 1146 | 1 | | |
| util_getBridgehub | 1191 | 5441 | 5441 | 9691 | 2 | | |
| util_getChainId | 3128 | 3128 | 3128 | 3128 | 1 | | |
| util_getFeeParams | 2035 | 3368 | 2035 | 6035 | 3 | | |
| util_getL2BootloaderBytecodeHash | 1107 | 1107 | 1107 | 1107 | 1 | | |
| util_getL2DefaultAccountBytecodeHash | 1130 | 1130 | 1130 | 1130 | 1 | | |
| util_getPendingAdmin | 1169 | 4294 | 3169 | 9669 | 4 | | |
| util_getPriorityTxMaxGasLimit | 1185 | 2518 | 1185 | 5185 | 3 | | |
| util_getProtocolVersion | 1106 | 1106 | 1106 | 1106 | 1 | | |
| util_getStateTransitionManager | 1211 | 9002 | 9711 | 9711 | 12 | | |
| util_getStoredBatchHashes | 1414 | 1414 | 1414 | 1414 | 1 | | |
| util_getValidator | 1375 | 2708 | 3375 | 3375 | 3 | | |
| util_getVerifier | 1202 | 1202 | 1202 | 1202 | 1 | | |
| util_getVerifierParams | 1607 | 1607 | 1607 | 1607 | 1 | | |
| util_getZkPorterAvailability | 3174 | 3174 | 3174 | 3174 | 2 | | |
| util_setBaseTokenGasPriceMultiplierDenominator | 51008 | 51008 | 51008 | 51008 | 3 | | |
| util_setBridgehub | 34168 | 34168 | 34168 | 34168 | 3 | | |
| util_setFeeParams | 33442 | 33442 | 33442 | 33442 | 3 | | |
| util_setIsFrozen | 29071 | 39027 | 39027 | 48983 | 2 | | |
| util_setL2BootloaderBytecodeHash | 34159 | 34159 | 34159 | 34159 | 1 | | |
| util_setL2DefaultAccountBytecodeHash | 34161 | 34161 | 34161 | 34161 | 1 | | |
| util_setPriorityTxMaxGasLimit | 33779 | 33779 | 33779 | 33779 | 3 | | |
| util_setProtocolVersion | 50920 | 50920 | 50920 | 50920 | 2 | | |
| util_setStateTransitionManager | 34124 | 34124 | 34124 | 34124 | 3 | | |
| util_setTransactionFilterer | 51203 | 51203 | 51203 | 51203 | 3 | | |
| util_setValidator | 31633 | 41589 | 41589 | 51545 | 4 | | |
| util_setZkPorterAvailability | 31048 | 37685 | 31048 | 50960 | 3 | | |
| contracts/state-transition/chain-deps/facets/Admin.sol:AdminFacet contract | | | | | | | |
|----------------------------------------------------------------------------|-----------------|--------|--------|--------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 2201875 | 9968 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| acceptAdmin | 2412 | 6558 | 6558 | 10705 | 2 | | |
| changeFeeParams | 4720 | 9012 | 5017 | 17301 | 3 | | |
| executeUpgrade | 2658 | 243670 | 94310 | 473401 | 7 | | |
| freezeDiamond | 2524 | 10913 | 2649 | 23435 | 5 | | |
| setPendingAdmin | 2619 | 14404 | 14404 | 26190 | 2 | | |
| setPorterAvailability | 2603 | 12267 | 8550 | 25650 | 3 | | |
| setPriorityTxMaxGasLimit | 2542 | 4630 | 2555 | 8794 | 3 | | |
| setTokenMultiplier | 26771 | 28849 | 28899 | 28899 | 43 | | |
| setTransactionFilterer | 2619 | 12509 | 8905 | 26005 | 3 | | |
| setValidator | 2705 | 12683 | 9123 | 26223 | 3 | | |
| unfreezeDiamond | 2481 | 2562 | 2603 | 2603 | 3 | | |
| upgradeChainFromVersion | 4895 | 10644 | 9824 | 18035 | 4 | | |
| contracts/state-transition/chain-deps/facets/Executor.sol:ExecutorFacet contract | | | | | | | |
|----------------------------------------------------------------------------------|-----------------|--------|--------|--------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 2591222 | 11767 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| commitBatches | 134424 | 134424 | 134424 | 134424 | 1 | | |
| proveBatches | 48223 | 48223 | 48223 | 48223 | 1 | | |
| revertBatches | 29006 | 29006 | 29006 | 29006 | 1 | | |
| contracts/state-transition/chain-deps/facets/Getters.sol:GettersFacet contract | | | | | | | |
|--------------------------------------------------------------------------------|-----------------|-----|--------|------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 822963 | 3588 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| facetAddress | 621 | 621 | 621 | 621 | 29 | | |
| getAdmin | 375 | 375 | 375 | 375 | 1 | | |
| getL2SystemContractsUpgradeTxHash | 424 | 424 | 424 | 424 | 1 | | |
| getTotalBatchesCommitted | 402 | 402 | 402 | 402 | 3 | | |
| getTotalBlocksCommitted | 445 | 945 | 445 | 2445 | 4 | | |
| getTotalBlocksExecuted | 425 | 425 | 425 | 425 | 1 | | |
| getTotalBlocksVerified | 336 | 736 | 336 | 2336 | 5 | | |
| isDiamondStorageFrozen | 360 | 360 | 360 | 360 | 1 | | |
| isFunctionFreezable | 869 | 869 | 869 | 869 | 29 | | |
| contracts/state-transition/chain-deps/facets/Mailbox.sol:MailboxFacet contract | | | | | | | |
|--------------------------------------------------------------------------------|-----------------|--------|--------|--------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 2043496 | 9375 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| bridgehubRequestL2Transaction | 16195 | 79825 | 109448 | 113834 | 3 | | |
| l2TransactionBaseCost | 4393 | 4393 | 4393 | 4393 | 1 | | |
| requestL2Transaction | 119081 | 119081 | 119081 | 119081 | 1 | | |
| contracts/upgrades/GenesisUpgrade.sol:GenesisUpgrade contract | | | | | | | |
|---------------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 1359028 | 6070 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| upgrade | 55366 | 55366 | 55366 | 55366 | 3 | | |
| node_modules/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol:TransparentUpgradeableProxy contract | | | | | | | |
|-----------------------------------------------------------------------------------------------------------------------------|-----------------|---------|---------|---------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 818009 | 8020 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| bridgehubConfirmL2Transaction | 34147 | 48767 | 56078 | 56078 | 3 | | |
| bridgehubDeposit | 34827 | 59527 | 36001 | 113366 | 11 | | |
| bridgehubDepositBaseToken | 31891 | 62879 | 58432 | 92459 | 7 | | |
| chainBalance | 1315 | 3546 | 1315 | 9815 | 54 | | |
| claimFailedDeposit | 39841 | 61243 | 63790 | 80156 | 8 | | |
| claimFailedDepositLegacyErc20Bridge | 81304 | 81304 | 81304 | 81304 | 1 | | |
| createNewChain | 53112 | 2073477 | 3411481 | 3411481 | 5 | | |
| depositHappened | 1276 | 3479 | 1276 | 9776 | 27 | | |
| depositLegacyErc20Bridge | 42094 | 76503 | 76506 | 110906 | 4 | | |
| finalizeWithdrawal | 39095 | 86173 | 99002 | 116505 | 19 | | |
| finalizeWithdrawalLegacyErc20Bridge | 105483 | 107040 | 107040 | 108597 | 2 | | |
| freezeChain | 40757 | 53734 | 53734 | 66712 | 2 | | |
| getChainAdmin | 2916 | 2916 | 2916 | 2916 | 1 | | |
| getHyperchain | 1324 | 1324 | 1324 | 1324 | 3 | | |
| initialCutHash | 1023 | 5273 | 5273 | 9523 | 2 | | |
| initializeChainGovernance | 31374 | 53125 | 53514 | 53514 | 114 | | |
| protocolVersion | 957 | 5207 | 5207 | 9457 | 4 | | |
| protocolVersionIsActive | 9647 | 9647 | 9647 | 9647 | 1 | | |
| revertBatches | 59647 | 59647 | 59647 | 59647 | 1 | | |
| setEraLegacyBridgeLastDepositTime | 55268 | 55268 | 55268 | 55268 | 56 | | |
| setEraPostDiamondUpgradeFirstBatch | 52949 | 52949 | 52949 | 52949 | 56 | | |
| setEraPostLegacyBridgeUpgradeFirstBatch | 52883 | 52883 | 52883 | 52883 | 56 | | |
| setInitialCutHash | 80744 | 80744 | 80744 | 80744 | 1 | | |
| setL1Erc20Bridge | 53451 | 53451 | 53451 | 53451 | 56 | | |
| setNewVersionUpgrade | 149334 | 149334 | 149334 | 149334 | 1 | | |
| setUpgradeDiamondCut | 98057 | 98057 | 98057 | 98057 | 1 | | |
| setValidatorTimelock | 39639 | 39639 | 39639 | 39639 | 1 | | |
| upgradeCutHash | 1123 | 1123 | 1123 | 1123 | 2 | | |
| validatorTimelock | 1097 | 5347 | 5347 | 9597 | 2 | | |
| test/foundry/unit/concrete/Executor/ExecutorProof.t.sol:TestExecutorFacet contract | | | | | | | |
|------------------------------------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 2741562 | 12462 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| createBatchCommitment | 11504 | 11504 | 11504 | 11504 | 1 | | |
| getBatchProofPublicInput | 550 | 550 | 550 | 550 | 1 | | |
| processL2Logs | 13361 | 13361 | 13361 | 13361 | 1 | | |
| test/foundry/unit/concrete/Utils/Utils.sol:Utils contract | | | | | | | |
|-----------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 4361671 | 21836 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| constructL2Log | 1211 | 1211 | 1211 | 1211 | 71 | | |
| createCommitBatchInfo | 4280 | 4280 | 4280 | 4280 | 8 | | |
| createProofInput | 700 | 700 | 700 | 700 | 4 | | |
| createStoredBatchInfo | 888 | 888 | 888 | 888 | 22 | | |
| createSystemLogs | 11930 | 11930 | 11930 | 11930 | 94 | | |
| createSystemLogsWithUpgradeTransaction | 15968 | 15968 | 15968 | 15968 | 1 | | |
| encodePacked | 30725 | 33382 | 33527 | 37436 | 94 | | |
| getAdminSelectors | 2980 | 2980 | 2980 | 2980 | 10 | | |
| getExecutorSelectors | 1321 | 1321 | 1321 | 1321 | 10 | | |
| getGettersSelectors | 6995 | 6995 | 6995 | 6995 | 19 | | |
| getMailboxSelectors | 2082 | 2082 | 2082 | 2082 | 13 | | |
| getUtilsFacetSelectors | 8995 | 8995 | 8995 | 8995 | 65 | | |
| makeInitializeData | 2955 | 2955 | 2955 | 2955 | 12 | | |
| makeInitializeDataForNewChain | 2110 | 2110 | 2110 | 2110 | 30 | | |
| packBatchTimestampAndBlockTimestamp | 425 | 425 | 425 | 425 | 31 | | |
| randomBytes32 | 1159 | 1176 | 1159 | 1241 | 210 | | |
| test/foundry/unit/concrete/Utils/UtilsFacet.sol:UtilsFacet contract | | | | | | | |
|---------------------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 675694 | 2909 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| util_getAdmin | 464 | 2100 | 2464 | 2464 | 11 | | |
| util_getBaseToken | 375 | 375 | 375 | 375 | 1 | | |
| util_getBaseTokenBridge | 375 | 375 | 375 | 375 | 1 | | |
| util_getBridgehub | 420 | 1420 | 1420 | 2420 | 2 | | |
| util_getChainId | 357 | 357 | 357 | 357 | 1 | | |
| util_getFeeParams | 1234 | 1900 | 1234 | 3234 | 3 | | |
| util_getL2BootloaderBytecodeHash | 336 | 336 | 336 | 336 | 1 | | |
| util_getL2DefaultAccountBytecodeHash | 359 | 359 | 359 | 359 | 1 | | |
| util_getPendingAdmin | 398 | 1398 | 1398 | 2398 | 4 | | |
| util_getPriorityTxMaxGasLimit | 414 | 1080 | 414 | 2414 | 3 | | |
| util_getProtocolVersion | 335 | 335 | 335 | 335 | 1 | | |
| util_getStateTransitionManager | 440 | 2273 | 2440 | 2440 | 12 | | |
| util_getStoredBatchHashes | 637 | 637 | 637 | 637 | 1 | | |
| util_getValidator | 598 | 598 | 598 | 598 | 3 | | |
| util_getVerifier | 431 | 431 | 431 | 431 | 1 | | |
| util_getVerifierParams | 824 | 824 | 824 | 824 | 1 | | |
| util_getZkPorterAvailability | 403 | 403 | 403 | 403 | 2 | | |
| util_setBaseTokenGasPriceMultiplierDenominator | 22530 | 22530 | 22530 | 22530 | 3 | | |
| util_setBridgehub | 5462 | 5462 | 5462 | 5462 | 3 | | |
| util_setFeeParams | 4114 | 4114 | 4114 | 4114 | 3 | | |
| util_setIsFrozen | 605 | 10555 | 10555 | 20505 | 2 | | |
| util_setL2BootloaderBytecodeHash | 5321 | 5321 | 5321 | 5321 | 1 | | |
| util_setL2DefaultAccountBytecodeHash | 5323 | 5323 | 5323 | 5323 | 1 | | |
| util_setPriorityTxMaxGasLimit | 5277 | 5277 | 5277 | 5277 | 3 | | |
| util_setProtocolVersion | 22442 | 22442 | 22442 | 22442 | 2 | | |
| util_setStateTransitionManager | 5418 | 5418 | 5418 | 5418 | 3 | | |
| util_setTransactionFilterer | 22497 | 22497 | 22497 | 22497 | 3 | | |
| util_setValidator | 2793 | 12743 | 12743 | 22693 | 4 | | |
| util_setZkPorterAvailability | 2582 | 9215 | 2582 | 22482 | 3 | | |
| test/foundry/unit/concrete/state-transition/chain-deps/DiamondProxy/DiamondProxy.t.sol:TestFacet contract | | | | | | | |
|-----------------------------------------------------------------------------------------------------------|-----------------|-----|--------|-----|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 78531 | 142 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| func | 148 | 148 | 148 | 148 | 1 | | |
| test/foundry/unit/concrete/state-transition/chain-deps/facets/Base/_Base_Shared.t.sol:TestBaseFacet contract | | | | | | | |
|--------------------------------------------------------------------------------------------------------------|-----------------|------|--------|------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 242752 | 907 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| functionWithOnlyAdminModifier | 2261 | 2312 | 2312 | 2363 | 2 | | |
| functionWithOnlyAdminOrStateTransitionManagerModifier | 2300 | 3961 | 4493 | 4559 | 4 | | |
| functionWithOnlyBridgehubModifier | 2305 | 2358 | 2358 | 2412 | 2 | | |
| functionWithOnlyStateTransitionManagerModifier | 2327 | 2392 | 2392 | 2458 | 2 | | |
| functionWithOnlyValidatorModifier | 2421 | 2474 | 2474 | 2528 | 2 | | |
| test/foundry/unit/concrete/state-transition/chain-deps/facets/Getters/_Getters_Shared.t.sol:GettersFacetWrapper contract | | | | | | | |
|--------------------------------------------------------------------------------------------------------------------------|-----------------|--------|--------|--------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 1690208 | 7598 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| facetAddress | 679 | 679 | 679 | 679 | 1 | | |
| facetAddresses | 1324 | 1324 | 1324 | 1324 | 1 | | |
| facetFunctionSelectors | 1889 | 1889 | 1889 | 1889 | 1 | | |
| facets | 4037 | 4037 | 4037 | 4037 | 1 | | |
| getAdmin | 419 | 419 | 419 | 419 | 1 | | |
| getBaseToken | 465 | 465 | 465 | 465 | 1 | | |
| getBaseTokenBridge | 388 | 388 | 388 | 388 | 1 | | |
| getBridgehub | 399 | 399 | 399 | 399 | 1 | | |
| getFirstUnprocessedPriorityTx | 446 | 446 | 446 | 446 | 1 | | |
| getL2BootloaderBytecodeHash | 402 | 402 | 402 | 402 | 1 | | |
| getL2DefaultAccountBytecodeHash | 401 | 401 | 401 | 401 | 1 | | |
| getL2SystemContractsUpgradeBatchNumber | 358 | 358 | 358 | 358 | 1 | | |
| getL2SystemContractsUpgradeBlockNumber | 381 | 381 | 381 | 381 | 1 | | |
| getL2SystemContractsUpgradeTxHash | 382 | 382 | 382 | 382 | 1 | | |
| getPendingAdmin | 442 | 442 | 442 | 442 | 1 | | |
| getPriorityQueueSize | 654 | 654 | 654 | 654 | 1 | | |
| getPriorityTxMaxGasLimit | 371 | 371 | 371 | 371 | 1 | | |
| getProtocolVersion | 425 | 425 | 425 | 425 | 1 | | |
| getStateTransitionManager | 464 | 464 | 464 | 464 | 1 | | |
| getTotalBatchesCommitted | 424 | 424 | 424 | 424 | 1 | | |
| getTotalBatchesExecuted | 380 | 380 | 380 | 380 | 1 | | |
| getTotalBatchesVerified | 446 | 446 | 446 | 446 | 1 | | |
| getTotalBlocksCommitted | 423 | 423 | 423 | 423 | 1 | | |
| getTotalBlocksExecuted | 382 | 382 | 382 | 382 | 1 | | |
| getTotalBlocksVerified | 359 | 359 | 359 | 359 | 1 | | |
| getTotalPriorityTxs | 425 | 425 | 425 | 425 | 1 | | |
| getVerifier | 420 | 420 | 420 | 420 | 1 | | |
| getVerifierParams | 848 | 848 | 848 | 848 | 1 | | |
| isDiamondStorageFrozen | 360 | 360 | 360 | 360 | 1 | | |
| isEthWithdrawalFinalized | 673 | 673 | 673 | 673 | 1 | | |
| isFacetFreezable | 1429 | 2103 | 2103 | 2777 | 2 | | |
| isFunctionFreezable | 778 | 874 | 874 | 971 | 2 | | |
| isValidator | 634 | 634 | 634 | 634 | 2 | | |
| l2LogsRootHash | 503 | 503 | 503 | 503 | 1 | | |
| priorityQueueFrontOperation | 1425 | 3128 | 3128 | 4831 | 2 | | |
| storedBatchHash | 525 | 525 | 525 | 525 | 1 | | |
| storedBlockHash | 546 | 546 | 546 | 546 | 1 | | |
| util_setAdmin | 44023 | 44023 | 44023 | 44023 | 1 | | |
| util_setBaseToken | 44002 | 44002 | 44002 | 44002 | 1 | | |
| util_setBaseTokenBridge | 43957 | 43957 | 43957 | 43957 | 1 | | |
| util_setBridgehub | 43956 | 43956 | 43956 | 43956 | 1 | | |
| util_setFacetAddress | 24266 | 37692 | 44406 | 44406 | 3 | | |
| util_setFacetAddresses | 89488 | 89488 | 89488 | 89488 | 1 | | |
| util_setFacetFunctionSelectors | 70442 | 70442 | 70442 | 70442 | 1 | | |
| util_setFacets | 128568 | 128568 | 128568 | 128568 | 1 | | |
| util_setFirstUnprocessedPriorityTx | 43616 | 43616 | 43616 | 43616 | 1 | | |
| util_setIsDiamondStorageFrozen | 43732 | 43732 | 43732 | 43732 | 1 | | |
| util_setIsEthWithdrawalFinalized | 44308 | 44308 | 44308 | 44308 | 1 | | |
| util_setIsFacetFreezable | 93059 | 93059 | 93059 | 93059 | 1 | | |
| util_setIsFunctionFreezable | 27011 | 35561 | 35561 | 44111 | 2 | | |
| util_setL2BootloaderBytecodeHash | 43941 | 43941 | 43941 | 43941 | 1 | | |
| util_setL2DefaultAccountBytecodeHash | 43943 | 43943 | 43943 | 43943 | 1 | | |
| util_setL2LogsRootHash | 44184 | 44184 | 44184 | 44184 | 1 | | |
| util_setL2SystemContractsUpgradeBatchNumber | 43661 | 43661 | 43661 | 43661 | 2 | | |
| util_setL2SystemContractsUpgradeTxHash | 43998 | 43998 | 43998 | 43998 | 1 | | |
| util_setPendingAdmin | 44023 | 44023 | 44023 | 44023 | 1 | | |
| util_setPriorityQueueFrontOperation | 90868 | 90868 | 90868 | 90868 | 1 | | |
| util_setPriorityQueueSize | 45876 | 45876 | 45876 | 45876 | 1 | | |
| util_setPriorityTxMaxGasLimit | 43650 | 43650 | 43650 | 43650 | 1 | | |
| util_setProtocolVersion | 43692 | 43692 | 43692 | 43692 | 1 | | |
| util_setStateTransitionManager | 43957 | 43957 | 43957 | 43957 | 1 | | |
| util_setStoredBatchHash | 44194 | 44194 | 44194 | 44194 | 2 | | |
| util_setTotalBatchesCommitted | 43723 | 43723 | 43723 | 43723 | 2 | | |
| util_setTotalBatchesExecuted | 43675 | 43675 | 43675 | 43675 | 2 | | |
| util_setTotalBatchesVerified | 43732 | 43732 | 43732 | 43732 | 2 | | |
| util_setTotalPriorityTxs | 43695 | 43695 | 43695 | 43695 | 1 | | |
| util_setValidator | 24425 | 34381 | 34381 | 44337 | 2 | | |
| util_setVerifier | 43991 | 43991 | 43991 | 43991 | 1 | | |
| util_setVerifierParams | 89410 | 89410 | 89410 | 89410 | 1 | | |
| test/foundry/unit/concrete/state-transition/libraries/Merkle/MerkleTreeNoSort.sol:MerkleTreeNoSort contract | | | | | | | |
|-------------------------------------------------------------------------------------------------------------|-----------------|-------|--------|-------|---------| | |
| Deployment Cost | Deployment Size | | | | | | |
| 534636 | 2256 | | | | | | |
| Function Name | min | avg | median | max | # calls | | |
| getProof | 32953 | 33181 | 33193 | 33215 | 259 | | |
| getRoot | 30188 | 30188 | 30188 | 30188 | 6 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment