Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First iteration on testing the gateway upgrade #826

Merged

Conversation

StanislavBreadless
Copy link
Collaborator

@StanislavBreadless StanislavBreadless commented Sep 27, 2024

What ❔

Includes needed code changes to do a smooth migration.
Provides a runnable fork test.
Can serve as a basis to generate the upgrade data for the governance

A few changes that had to be done:

  • L2LegacySharedBridge should be in a fully working state after the upgrade, since all deposits will go through it
  • Initialization for bridgehub had to be added since it wouldn't work on normal chains.
  • L2ProxyAdminDeployer/TransitionaryOwners are added. The former to ensure deterministic ProxyAdmin address and the latter to ensure that nothing bad happens before the governance accepts the ownership of new contracts.
  • Deprecated baseTokenBridge field (it was used only for Era-specific operations).
  • Fixed upgrade flow

The upgrade flow can be observed here:
l1-contracts/test/foundry/l1/integration/UpgradeTest.t.sol

Why ❔

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

Copy link

github-actions bot commented Sep 27, 2024

Changes to gas cost

Generated at commit: b42bc365d8f30b2f03d122cda2ae2e2a560a4f15, compared to commit: c99b936fc0c064dcfd3c8a9d4dc06eb0306edd74

🧾 Summary (100% most significant diffs)

Contract Method Avg (+/-) %
Bridgehub addChainTypeManager
addTokenAssetId
createNewChain
ctmAssetIdFromChainId
ctmAssetIdToAddress
getHyperchain
setAddresses
setAssetHandlerAddress
+63 ❌
+27 ❌
-139,891 ✅
+71 ❌
+24 ❌
+12 ❌
-19,971 ✅
+78 ❌
+0.13%
+0.05%
-3.40%
+1.41%
+0.96%
+0.43%
-28.15%
+0.15%
DiamondProxy acceptAdmin
bridgehubRequestL2Transaction
changeFeeParams
createBatchCommitment
executeBatchesSharedBridge
executeUpgrade
facetAddress
fallback
finalizeEthWithdrawal
freezeDiamond
func
functionWithOnlyAdminModifier
functionWithOnlyAdminOrChainTypeManagerModifier
functionWithOnlyBridgehubModifier
functionWithOnlyChainTypeManagerModifier
functionWithOnlyValidatorModifier
getAdmin
getBatchProofPublicInput
getChainId
getL2SystemContractsUpgradeTxHash
getPriorityTreeRoot
getProtocolVersion
getTotalBatchesExecuted
isDiamondStorageFrozen
isFunctionFreezable
l2TransactionBaseCost
processL2Logs
proveBatchesSharedBridge
proveL1ToL2TransactionStatus
proveL2LogInclusion
proveL2MessageInclusion
requestL2Transaction
setDAValidatorPair
setPendingAdmin
setPorterAvailability
setPriorityTreeStartIndex
setPriorityTxMaxGasLimit
setTokenMultiplier
setTransactionFilterer
setValidator
unfreezeDiamond
upgradeChainFromVersion
util_getAdmin
util_getBaseTokenAssetId
util_getBridgehub
util_getChainId
util_getChainTypeManager
util_getFeeParams
util_getL2BootloaderBytecodeHash
util_getL2DefaultAccountBytecodeHash
util_getPendingAdmin
util_getPriorityTxMaxGasLimit
util_getProtocolVersion
util_getStoredBatchHashes
util_getValidator
util_getVerifier
util_getVerifierParams
util_getZkPorterAvailability
util_setBaseTokenGasPriceMultiplierDenominator
util_setBaseTokenGasPriceMultiplierNominator
util_setBridgehub
util_setChainId
util_setChainTypeManager
util_setFeeParams
util_setIsFrozen
util_setL2BootloaderBytecodeHash
util_setL2DefaultAccountBytecodeHash
util_setL2LogsRootHash
util_setPriorityTxMaxGasLimit
util_setProtocolVersion
util_setTransactionFilterer
util_setValidator
util_setZkPorterAvailability
+57 ❌
+477 ❌
+135 ❌
+252 ❌
+165 ❌
+10,399 ❌
+102 ❌
+51 ❌
+3,379 ❌
+49 ❌
+48 ❌
+31 ❌
+107 ❌
+31 ❌
+98 ❌
+86 ❌
+18 ❌
+42 ❌
+61 ❌
+61 ❌
-6 ✅
+61 ❌
-1,917 ✅
+22 ❌
+178 ❌
+88 ❌
+321 ❌
+165 ❌
+97 ❌
+177 ❌
+205 ❌
+2,530 ❌
+172 ❌
+57 ❌
+77 ❌
+83 ❌
+77 ❌
+94 ❌
+105 ❌
+52 ❌
+56 ❌
+204 ❌
+40 ❌
+16 ❌
+107 ❌
-6 ✅
+85 ❌
+73 ❌
+104 ❌
+16 ❌
+107 ❌
-27 ✅
-6 ✅
+39 ❌
+85 ❌
+107 ❌
+105 ❌
+39 ❌
+91 ❌
+43 ❌
-419 ✅
+46 ❌
+11 ❌
+127 ❌
+64 ❌
+39 ❌
+61 ❌
+39 ❌
+105 ❌
+61 ❌
+77 ❌
+110 ❌
-3 ✅
+0.18%
+0.45%
+0.35%
+1.06%
+0.41%
+3.63%
+7.87%
+0.22%
+4.43%
+0.14%
+2.92%
+0.10%
+0.33%
+0.10%
+0.32%
+0.28%
+0.37%
+1.26%
+0.67%
+0.63%
-0.09%
+0.64%
-37.66%
+2.43%
+11.27%
+0.92%
+1.94%
+0.39%
+1.32%
+2.82%
+2.33%
+1.96%
+0.22%
+0.13%
+0.20%
+0.16%
+0.23%
+0.16%
+0.26%
+0.13%
+0.18%
+0.51%
+0.52%
+1.46%
+1.99%
-0.19%
+0.99%
+2.23%
+9.63%
+1.45%
+2.53%
-1.10%
-0.54%
+2.91%
+3.20%
+9.58%
+6.99%
+1.25%
+0.18%
+0.13%
-1.23%
+0.14%
+0.03%
+0.37%
+0.16%
+0.11%
+0.18%
+0.08%
+0.31%
+0.12%
+0.15%
+0.27%
-0.01%
DeployL1Script runForTest -2,547,487 ✅ -24.36%
GettersFacetWrapper facetAddress
facetAddresses
facetFunctionSelectors
facets
getPriorityQueueSize
isEthWithdrawalFinalized
isFacetFreezable
isFunctionFreezable
isValidator
l2LogsRootHash
storedBatchHash
storedBlockHash
util_setAdmin
util_setBridgehub
util_setChainTypeManager
util_setFacetAddress
util_setFacetAddresses
util_setFacetFunctionSelectors
util_setFacets
util_setFirstUnprocessedPriorityTx
util_setIsDiamondStorageFrozen
util_setIsEthWithdrawalFinalized
util_setIsFacetFreezable
util_setIsFunctionFreezable
util_setL2SystemContractsUpgradeTxHash
util_setPendingAdmin
util_setPriorityQueueSize
util_setProtocolVersion
util_setStoredBatchHash
util_setTotalBatchesCommitted
util_setTotalBatchesVerified
util_setValidator
util_setVerifier
+86 ❌
+80 ❌
+110 ❌
+137 ❌
+65 ❌
-45 ✅
+73 ❌
+72 ❌
+1 ❌
+44 ❌
-45 ✅
+66 ❌
+39 ❌
+39 ❌
+104 ❌
+101 ❌
+90 ❌
+66 ❌
+282 ❌
+66 ❌
+3 ❌
+25 ❌
+161 ❌
+77 ❌
-45 ✅
+39 ❌
-45 ✅
+22 ❌
-23 ✅
+86 ❌
-45 ✅
+27 ❌
+39 ❌
+13.07%
+6.55%
+6.28%
+3.49%
+1.34%
-6.68%
+3.69%
+9.35%
+0.16%
+8.37%
-8.21%
+12.57%
+0.09%
+0.09%
+0.24%
+0.27%
+0.10%
+0.09%
+0.22%
+0.14%
+0.01%
+0.06%
+0.17%
+0.22%
-0.10%
+0.09%
-0.07%
+0.05%
-0.05%
+0.20%
-0.10%
+0.08%
+0.09%
ChainTypeManager acceptAdmin
createNewChain
freezeChain
getHyperchain
getSemverProtocolVersion
initialize
setChainCreationParams
setNewVersionUpgrade
setPendingAdmin
setUpgradeDiamondCut
setValidatorTimelock
+85 ❌
-129,705 ✅
+133 ❌
+109 ❌
+56 ❌
+1,422 ❌
+2,752 ❌
+4,574 ❌
+85 ❌
+2,550 ❌
+74 ❌
+0.28%
-3.85%
+0.51%
+6.79%
+9.66%
+1.25%
+6.40%
+3.08%
+0.30%
+5.71%
+0.93%
UtilsFacet util_getFeeParams
util_getValidator
util_getVerifierParams
util_setBaseTokenGasPriceMultiplierDenominator
util_setBaseTokenGasPriceMultiplierNominator
util_setBridgehub
util_setChainId
util_setChainTypeManager
util_setFeeParams
util_setIsFrozen
util_setL2DefaultAccountBytecodeHash
util_setPriorityTxMaxGasLimit
util_setProtocolVersion
util_setTransactionFilterer
util_setValidator
util_setZkPorterAvailability
+34 ❌
+46 ❌
+66 ❌
+52 ❌
+4 ❌
-458 ✅
-1 ✅
-28 ✅
+88 ❌
+25 ❌
+22 ❌
+66 ❌
+22 ❌
+38 ❌
+71 ❌
-42 ✅
+1.84%
+7.86%
+8.71%
+0.23%
+0.07%
-8.51%
-0.02%
-0.52%
+1.68%
+0.24%
+0.42%
+1.25%
+0.10%
+0.17%
+0.56%
-0.45%
Utils constructL2Log
constructRollupL2DAValidatorOutputHash
createCommitBatchInfo
createStoredBatchInfo
defaultPointEvaluationPrecompileInput
encodePacked
getAdminSelectors
getDefaultBlobCommitment
getExecutorSelectors
getGettersSelectors
getMailboxSelectors
getUtilsFacetSelectors
makeInitializeDataForNewChain
randomBytes32
+39 ❌
+89 ❌
+105 ❌
+56 ❌
+18 ❌
+273 ❌
+506 ❌
+12 ❌
+138 ❌
+1,110 ❌
+246 ❌
+1,030 ❌
+83 ❌
+42 ❌
+3.32%
+6.41%
+2.53%
+6.73%
+1.07%
+1.94%
+17.31%
+0.74%
+11.24%
+17.59%
+13.90%
+12.57%
+4.14%
+3.82%
GettersFacet facetAddress
getChainId
getL2SystemContractsUpgradeTxHash
getPriorityTreeRoot
getProtocolVersion
getSemverProtocolVersion
getTotalBatchesExecuted
isFunctionFreezable
+63 ❌
+22 ❌
+22 ❌
-45 ✅
+22 ❌
-23 ✅
+44 ❌
+139 ❌
+11.29%
+0.92%
+0.92%
-1.63%
+0.93%
-0.87%
+1.87%
+16.53%
DummyBridgehubSetter acceptAdmin
acceptOwnership
addChainTypeManager
addTokenAssetId
assetIdIsRegistered
baseToken
chainTypeManager
chainTypeManagerIsRegistered
createNewChain
getZKChain
initialize
l2TransactionBaseCost
pause
removeChainTypeManager
requestL2TransactionDirect
requestL2TransactionTwoBridges
setAddresses
setCTM
setPendingAdmin
setZKChain
transferOwnership
unpause
+60 ❌
+54 ❌
+60 ❌
+28 ❌
+200 ❌
+121 ❌
+24 ❌
+12 ❌
+801 ❌
+12 ❌
+50 ❌
+18 ❌
+27 ❌
+48 ❌
+1,186 ❌
+1,043 ❌
+122 ❌
+39 ❌
+130 ❌
+24 ❌
+75 ❌
+5 ❌
+0.13%
+0.21%
+0.14%
+0.06%
+15.22%
+1.01%
+1.29%
+0.90%
+0.75%
+1.58%
+0.21%
+1.54%
+0.06%
+0.19%
+1.25%
+0.72%
+0.19%
+0.09%
+0.27%
+0.02%
+0.16%
+0.02%
TransparentUpgradeableProxy acceptAdmin
admin
allowAdminImplementation
allowL2Admin
bridgeCheckCounterpartAddress
bridgeRecoverFailedTransfer
bridgehubConfirmL2Transaction
bridgehubDeposit
bridgehubDepositBaseToken
chainBalance(uint256,address)
chainBalance(uint256,bytes32)
claimFailedDeposit
createNewChain
depositHappened
depositLegacyErc20Bridge
encodeTxDataHash
finalizeDeposit
finalizeWithdrawal
freezeChain
getAssetId
getERC20Getters
getHyperchain
getSemverProtocolVersion
initialCutHash
l1GenesisUpgrade
l2BridgeAddress
legacyBridge
nativeTokenVault
nullifyChainBalanceByNTV
originChainId
pause
paused
protocolVersion
registerEthToken
registerToken
setAllowedData
setChainCreationParams
setL1AssetRouter
setL1Erc20Bridge
setL1NativeTokenVault
setNativeTokenVault
setNewVersionUpgrade
setPendingAdmin
setSelectorIsValidated
setUpgradeDiamondCut
setValidatorTimelock
storedBatchZero
transferFundsFromSharedBridge
transferTokenToNTV
tryCompareAdminOfAChain
tryGetNewAdminFromMigration
unpause
updateChainBalancesFromSharedBridge
upgradeCutHash
validateCall
validatorTimelock
+121 ❌
+115 ❌
+28 ❌
+97 ❌
+96 ❌
+615 ❌
+27 ❌
+938 ❌
+779 ❌
+38 ❌
+36 ❌
+705 ❌
-82,768 ✅
+102 ❌
+1,552 ❌
+211 ❌
+714 ❌
+755 ❌
+169 ❌
+60 ❌
+113 ❌
+145 ❌
+92 ❌
+25 ❌
+93 ❌
+60 ❌
+71 ❌
+71 ❌
+50 ❌
+36 ❌
+85 ❌
+58 ❌
+91 ❌
+192 ❌
+240 ❌
+99 ❌
+2,399 ❌
+111 ❌
+122 ❌
+89 ❌
-9 ✅
+4,233 ❌
+121 ❌
+56 ❌
+2,209 ❌
+111 ❌
+69 ❌
+244 ❌
+50 ❌
+237 ❌
+321 ❌
+85 ❌
+184 ❌
-20 ✅
+648 ❌
+115 ❌
+0.22%
+11.72%
+0.05%
+0.18%
+1.24%
+0.70%
+0.04%
+1.08%
+0.93%
+2.04%
+2.11%
+0.84%
-3.71%
+3.47%
+1.01%
+5.47%
+0.56%
+0.69%
+0.31%
+3.90%
+0.95%
+3.08%
+7.81%
+0.48%
+9.68%
+0.63%
+1.62%
+2.31%
+0.16%
+3.18%
+0.16%
+5.89%
+1.75%
+0.18%
+0.19%
+0.18%
+2.49%
+0.21%
+0.23%
+0.17%
-0.01%
+2.10%
+0.21%
+0.10%
+2.27%
+0.31%
+7.24%
+0.50%
+0.15%
+1.23%
+3.43%
+0.27%
+0.36%
-1.78%
+2.22%
+1.97%
L1NativeTokenVault bridgeBurn
bridgeCheckCounterpartAddress
bridgeMint
bridgeRecoverFailedTransfer
getAssetId
getERC20Getters
initialize
registerEthToken
registerToken
tokenAddress
transferFundsFromSharedBridge
updateChainBalancesFromSharedBridge
+853 ❌
+60 ❌
+179 ❌
+103 ❌
+24 ❌
+77 ❌
+114 ❌
+156 ❌
+203 ❌
+24 ❌
+208 ❌
+148 ❌
+1.01%
+9.77%
+0.61%
+0.53%
+3.50%
+1.66%
+0.21%
+0.20%
+0.21%
+1.50%
+0.96%
+0.54%
L1AssetRouter acceptOwnership
assetHandlerAddress
bridgeRecoverFailedTransfer
bridgehubConfirmL2Transaction
bridgehubDeposit
bridgehubDepositBaseToken
depositLegacyErc20Bridge
finalizeDeposit
finalizeWithdrawal
initialize
owner
pause
setAssetHandlerAddressThisChain
setL1Erc20Bridge
setNativeTokenVault
transferFundsToNTV
transferOwnership
unpause
-11 ✅
-53 ✅
+331 ❌
-9 ✅
+902 ❌
+743 ❌
+1,517 ❌
+327 ❌
+719 ❌
+129 ❌
+35 ❌
+49 ❌
+97 ❌
+97 ❌
-47 ✅
+245 ❌
+97 ❌
+49 ❌
-0.02%
-9.43%
+0.96%
-0.03%
+1.51%
+1.29%
+1.15%
+0.68%
+0.88%
+0.18%
+1.46%
+0.19%
+0.25%
+0.40%
-0.07%
+3.07%
+0.20%
+0.57%
DummyZKChain setBaseTokenGasMultiplierPrice
setBridgeHubAddress
setFeeParams
+19 ❌
+39 ❌
+39 ❌
+0.04%
+0.15%
+0.06%
IncrementalMerkleTest push
root
side
zeros
+44 ❌
+44 ❌
-23 ✅
+44 ❌
+0.06%
+3.82%
-3.76%
+7.48%
DiamondCutTestContract diamondCut
facetAddresses
+1,546 ❌
+106 ❌
+0.76%
+7.09%
MailboxFacet bridgehubRequestL2Transaction
finalizeEthWithdrawal
l2TransactionBaseCost
proveL1ToL2TransactionStatus
proveL2LogInclusion
proveL2MessageInclusion
requestL2Transaction
+438 ❌
+3,357 ❌
+49 ❌
+58 ❌
+138 ❌
+166 ❌
+2,490 ❌
+0.58%
+6.86%
+1.13%
+1.34%
+4.26%
+3.27%
+2.51%
L1Nullifier bridgeRecoverFailedTransfer
bridgehubConfirmL2TransactionForwarded
chainBalance
claimFailedDeposit
depositHappened
encodeTxDataHash
finalizeDeposit
initialize
l2BridgeAddress
nullifyChainBalanceByNTV
setL1AssetRouter
setL1Erc20Bridge
setL1NativeTokenVault
transferTokenToNTV
+580 ❌
-9 ✅
+2 ❌
+669 ❌
+66 ❌
+175 ❌
+483 ❌
+107 ❌
+24 ❌
+14 ❌
+75 ❌
+75 ❌
+53 ❌
+93 ❌
+0.97%
-0.04%
+0.16%
+1.11%
+6.67%
+5.42%
+0.70%
+0.08%
+0.97%
+0.31%
+0.16%
+0.30%
+0.12%
+0.99%
Governance cancel
execute
executeInstant
getOperationState
hashOperation
isOperation
isOperationDone
isOperationPending
isOperationReady
scheduleShadow
scheduleTransparent
updateDelay
updateSecurityCouncil
-9 ✅
+126 ❌
+147 ❌
-23 ✅
+16 ❌
+22 ❌
+22 ❌
-23 ✅
-23 ✅
+35 ❌
+106 ❌
-17 ✅
+62 ❌
-0.04%
+0.33%
+0.35%
-2.09%
+1.02%
+1.88%
+2.50%
-1.95%
-2.05%
+0.07%
+0.20%
-0.08%
+0.29%
DiamondInit initialize -21,399 ✅ -5.38%
PermanentRestriction allowAdminImplementation
allowL2Admin
initialize
setAllowedData
setSelectorIsValidated
tryGetNewAdminFromMigration
validateCall
-8 ✅
+61 ❌
+51 ❌
+56 ❌
+22 ❌
+284 ❌
+611 ❌
-0.03%
+0.25%
+0.10%
+0.21%
+0.08%
+5.24%
+2.42%
AccessControlRestriction grantRole
setRequiredRoleForCall
setRequiredRoleForFallback
validateCall
+118 ❌
+496 ❌
+530 ❌
+158 ❌
+0.23%
+1.00%
+1.09%
+5.05%
TransactionFiltererFalse isTransactionAllowed +39 ❌ +4.49%
TransactionFiltererTrue isTransactionAllowed +39 ❌ +4.48%
PriorityTreeTest getSize
getTotalPriorityTxs
initFromCommitment
processBatch
push
+22 ❌
-23 ✅
+6 ❌
+34 ❌
+25 ❌
+0.84%
-3.97%
+0.01%
+0.09%
+0.02%
VerifierRecursiveTest verificationKeyHash
verify
+12 ❌
+5,807 ❌
+1.20%
+4.22%
VerifierTest verificationKeyHash
verify
+12 ❌
+5,497 ❌
+1.20%
+4.07%
ReenterL1ERC20Bridge l2BridgeAddress
setBridge
setFunctionToCall
+141 ❌
+39 ❌
+15 ❌
+3.49%
+0.09%
+0.06%
AdminFacet acceptAdmin
changeFeeParams
executeUpgrade
freezeDiamond
genesisUpgrade
setDAValidatorPair
setPendingAdmin
setPorterAvailability
setPriorityTxMaxGasLimit
setTokenMultiplier
setTransactionFilterer
setValidator
unfreezeDiamond
upgradeChainFromVersion
+18 ❌
+96 ❌
+10,361 ❌
+13 ❌
-411 ✅
+133 ❌
+17 ❌
+38 ❌
+38 ❌
+55 ❌
+66 ❌
+13 ❌
+17 ❌
+165 ❌
+0.28%
+1.07%
+3.39%
+0.12%
-0.33%
+0.27%
+0.12%
+0.31%
+0.83%
+0.19%
+0.53%
+0.10%
+0.69%
+1.57%
TestnetERC20Token allowance
approve
decimals
mint
name
symbol
transfer
+92 ❌
+15 ❌
+44 ❌
+4 ❌
-20 ✅
-20 ✅
+96 ❌
+3.35%
+0.03%
+1.89%
+0.01%
-0.63%
-0.62%
+0.21%
DummyChainTypeManagerWBH owner
setZKChain
+79 ❌
+18 ❌
+3.31%
+0.04%
L1ERC20Bridge claimFailedDeposit
deposit(address,address,uint256,uint256,uint256)
deposit(address,address,uint256,uint256,uint256,address)
depositAmount
finalizeWithdrawal
initialize
l2TokenAddress
+253 ❌
+392 ❌
+492 ❌
+24 ❌
+184 ❌
+38 ❌
+36 ❌
+0.65%
+0.62%
+0.69%
+1.89%
+0.53%
+0.16%
+2.91%
FullMerkleTest node
nodeCount
pushNewLeaf
root
updateAllLeaves
updateAllNodesAtHeight
updateLeaf
zeros
+22 ❌
-23 ✅
-23 ✅
+22 ❌
+28 ❌
+25 ❌
+28 ❌
+22 ❌
+2.63%
-1.42%
-0.02%
+0.77%
+0.06%
+0.06%
+0.08%
+1.39%
MessageRoot addChainBatchRoot
addNewChain
getAggregatedRoot
getChainRoot
updateFullTree
+102 ❌
-8 ✅
-23 ✅
-23 ✅
-23 ✅
+0.13%
-0.00%
-0.38%
-2.85%
-0.04%
TestExecutorFacet createBatchCommitment
getBatchProofPublicInput
processL2Logs
+213 ❌
+3 ❌
+282 ❌
+1.07%
+0.51%
+2.75%
TestBaseFacet functionWithOnlyAdminModifier
functionWithOnlyAdminOrChainTypeManagerModifier
functionWithOnlyBridgehubModifier
functionWithOnlyChainTypeManagerModifier
functionWithOnlyValidatorModifier
-8 ✅
+68 ❌
-8 ✅
+59 ❌
+47 ❌
-0.34%
+1.73%
-0.34%
+2.56%
+1.95%
ValidatorTimelock addValidator
commitBatchesSharedBridge
executeBatchesSharedBridge
proveBatchesSharedBridge
removeValidator
revertBatchesSharedBridge
setChainTypeManager
setExecutionDelay
validators
+94 ❌
+64 ❌
+6 ❌
+18 ❌
+84 ❌
+30 ❌
+61 ❌
+38 ❌
+34 ❌
+0.18%
+0.11%
+0.02%
+0.05%
+0.27%
+0.11%
+0.14%
+0.14%
+2.00%
UnsafeBytesTest readAddress
readBytes32
readUint256
readUint32
+15 ❌
+3 ❌
+3 ❌
+3 ❌
+1.91%
+0.41%
+0.40%
+0.42%
DummyChainTypeManagerForValidatorTimelock getChainAdmin
getZKChain
+1 ❌
+46 ❌
+0.04%
+1.90%
DummySharedBridge assetHandlerAddress
chainBalance
pause
setNativeTokenVault
+24 ❌
+12 ❌
+37 ❌
+63 ❌
+1.30%
+1.86%
+0.08%
+0.14%
TestExecutor commitBatchesSharedBridge
executeBatchesSharedBridge
proveBatchesSharedBridge
setPriorityTreeStartIndex
+479 ❌
+126 ❌
+126 ❌
+44 ❌
+1.49%
+1.62%
+1.61%
+0.20%
L1GenesisUpgrade genesisUpgrade
upgrade
-584 ✅
+838 ❌
-0.51%
+1.42%
ChainAdmin addRestriction
getRestrictions
isRestrictionActive
multicall
removeRestriction
+37 ❌
+12 ❌
+24 ❌
+233 ❌
+33 ❌
+0.06%
+0.24%
+1.25%
+0.54%
+0.12%
TestCalldataDA processCalldataDA
processL2RollupDAValidatorOutputHash
+6 ❌
+9 ❌
+0.87%
+0.55%
DefaultUpgrade upgrade +144 ❌ +0.50%
PriorityQueueTest front
popFront
pushBack
+18 ❌
+22 ❌
+30 ❌
+0.36%
+0.07%
+0.04%
DummyBridgehub setMessageRoot +61 ❌ +0.14%
RelayedSLDAValidator checkDA +43 ❌ +0.14%
ReenterGovernance initialize +92 ❌ +0.09%
MerkleTreeNoSort getProof
getRoot
-13 ✅
-20 ✅
-0.04%
-0.08%
FeeOnTransferToken approve
mint
+25 ❌
+13 ❌
+0.05%
+0.02%
MerkleTest calculateRoot(bytes32[],bytes32[],uint256,bytes32[])
calculateRoot(bytes32[],uint256,bytes32)
+3 ❌
-1 ✅
+0.05%
-0.03%

Full diff report 👇
Contract Deployment Cost (+/-) Method Min (+/-) % Avg (+/-) % Median (+/-) % Max (+/-) % # Calls (+/-)
Bridgehub 4,280,793 (-1,046,631) addChainTypeManager
addTokenAssetId
createNewChain
ctmAssetIdFromChainId
ctmAssetIdToAddress
getHyperchain
getZKChain
l1CtmDeployer
setAddresses
setAssetHandlerAddress
sharedBridge
47,621 (+63)
49,731 (+27)
3,971,203 (-139,891)
5,101 (+71)
2,533 (+24)
2,788 (+12)
0 (0)
414 (-1,976)
50,873 (-20,065)
51,277 (+78)
387 (-1,976)
+0.13%
+0.05%
-3.40%
+1.41%
+0.96%
+0.43%
+∞%
-82.68%
-28.29%
+0.15%
-83.62%
47,621 (+63)
49,731 (+27)
3,971,203 (-139,891)
5,101 (+71)
2,533 (+24)
2,788 (+12)
2,942 (+12)
2,342 (-48)
50,967 (-19,971)
51,277 (+78)
932 (-1,431)
+0.13%
+0.05%
-3.40%
+1.41%
+0.96%
+0.43%
+0.41%
-2.01%
-28.15%
+0.15%
-60.56%
47,621 (+63)
49,731 (+27)
3,971,203 (-139,891)
5,101 (+71)
2,533 (+24)
2,788 (+12)
2,770 (+12)
2,414 (+24)
50,873 (-20,065)
51,277 (+78)
387 (-1,976)
+0.13%
+0.05%
-3.40%
+1.41%
+0.96%
+0.43%
+0.44%
+1.00%
-28.29%
+0.15%
-83.62%
47,621 (+63)
49,731 (+27)
3,971,203 (-139,891)
5,101 (+71)
2,533 (+24)
2,788 (+12)
5,051 (+12)
2,414 (+24)
51,113 (-19,825)
51,277 (+78)
2,387 (+24)
+0.13%
+0.05%
-3.40%
+1.41%
+0.96%
+0.43%
+0.24%
+1.00%
-27.95%
+0.15%
+1.02%
24 (0)
24 (0)
24 (0)
5 (0)
4 (0)
9 (0)
60 (0)
28 (0)
61 (+37)
24 (0)
33 (+27)
DiamondProxy 2,405,277 (-70,320) acceptAdmin
bridgehubRequestL2Transaction
changeFeeParams
commitBatchesSharedBridge
createBatchCommitment
executeBatchesSharedBridge
executeUpgrade
facetAddress
fallback
finalizeEthWithdrawal
freezeDiamond
func
functionWithOnlyAdminModifier
functionWithOnlyAdminOrChainTypeManagerModifier
functionWithOnlyBridgehubModifier
functionWithOnlyChainTypeManagerModifier
functionWithOnlyValidatorModifier
getAdmin
getBatchProofPublicInput
getChainId
getL2SystemContractsUpgradeTxHash
getPriorityTreeRoot
getProtocolVersion
getTotalBatchesExecuted
isDiamondStorageFrozen
isFunctionFreezable
l2TransactionBaseCost
processL2Logs
proveBatchesSharedBridge
proveL1ToL2TransactionStatus
proveL2LogInclusion
proveL2MessageInclusion
requestL2Transaction
setDAValidatorPair
setPendingAdmin
setPorterAvailability
setPriorityTreeStartIndex
setPriorityTxMaxGasLimit
setTokenMultiplier
setTransactionFilterer
setValidator
unfreezeDiamond
upgradeChainFromVersion
util_getAdmin
util_getBaseTokenAssetId
util_getBridgehub
util_getChainId
util_getChainTypeManager
util_getFeeParams
util_getL2BootloaderBytecodeHash
util_getL2DefaultAccountBytecodeHash
util_getPendingAdmin
util_getPriorityTxMaxGasLimit
util_getProtocolVersion
util_getStoredBatchHashes
util_getValidator
util_getVerifier
util_getVerifierParams
util_getZkPorterAvailability
util_setBaseTokenGasPriceMultiplierDenominator
util_setBaseTokenGasPriceMultiplierNominator
util_setBridgehub
util_setChainId
util_setChainTypeManager
util_setFeeParams
util_setIsFrozen
util_setL2BootloaderBytecodeHash
util_setL2DefaultAccountBytecodeHash
util_setL2LogsRootHash
util_setPriorityTxMaxGasLimit
util_setProtocolVersion
util_setTransactionFilterer
util_setValidator
util_setZkPorterAvailability
30,711 (+34)
34,233 (+46)
34,029 (+91)
0 (0)
24,073 (+252)
40,289 (+165)
31,755 (+46)
1,398 (+102)
23,567 (+51)
37,779 (+189)
30,740 (+34)
560 (+51)
30,615 (+28)
30,707 (+95)
30,637 (+28)
30,659 (+95)
30,753 (+83)
1,146 (+18)
3,378 (+42)
5,174 (+61)
9,695 (+61)
1,484 (-6)
9,652 (+61)
3,173 (-1,917)
726 (+51)
1,757 (+178)
8,302 (+64)
16,838 (+321)
42,932 (+165)
4,255 (+97)
4,507 (+179)
5,035 (+203)
33,295 (+149)
79,395 (+172)
31,268 (+46)
31,073 (+79)
50,832 (+83)
30,980 (+79)
57,491 (+94)
31,335 (+91)
31,482 (+46)
30,741 (+34)
34,172 (+103)
1,146 (+40)
1,109 (+16)
1,235 (+107)
3,117 (-6)
1,189 (+85)
2,013 (+73)
1,184 (+104)
1,119 (+16)
1,213 (+107)
1,097 (-27)
1,095 (-6)
1,381 (+39)
1,408 (+85)
1,224 (+107)
1,607 (+105)
3,163 (+39)
33,896 (+91)
33,834 (+43)
31,346 (-2,700)
28,944 (+38)
34,103 (+11)
33,529 (+127)
29,071 (+64)
34,159 (+39)
34,161 (+61)
51,452 (+39)
33,846 (+105)
50,920 (+61)
51,225 (+77)
31,655 (+110)
31,026 (-3)
+0.11%
+0.13%
+0.27%
+∞%
+1.06%
+0.41%
+0.15%
+7.87%
+0.22%
+0.50%
+0.11%
+10.02%
+0.09%
+0.31%
+0.09%
+0.31%
+0.27%
+1.60%
+1.26%
+1.19%
+0.63%
-0.40%
+0.64%
-37.66%
+7.56%
+11.27%
+0.78%
+1.94%
+0.39%
+2.33%
+4.14%
+4.20%
+0.45%
+0.22%
+0.15%
+0.25%
+0.16%
+0.26%
+0.16%
+0.29%
+0.15%
+0.11%
+0.30%
+3.62%
+1.46%
+9.49%
-0.19%
+7.70%
+3.76%
+9.63%
+1.45%
+9.67%
-2.40%
-0.54%
+2.91%
+6.42%
+9.58%
+6.99%
+1.25%
+0.27%
+0.13%
-7.93%
+0.13%
+0.03%
+0.38%
+0.22%
+0.11%
+0.18%
+0.08%
+0.31%
+0.12%
+0.15%
+0.35%
-0.01%
32,474 (+57)
106,409 (+477)
38,363 (+135)
38,435 (+277)
24,073 (+252)
40,289 (+165)
297,095 (+10,399)
1,398 (+102)
23,567 (+51)
79,626 (+3,379)
36,022 (+49)
1,691 (+48)
30,655 (+31)
32,340 (+107)
30,677 (+31)
30,699 (+98)
30,793 (+86)
4,827 (+18)
3,378 (+42)
9,174 (+61)
9,695 (+61)
6,734 (-6)
9,652 (+61)
3,173 (-1,917)
928 (+22)
1,757 (+178)
9,684 (+88)
16,838 (+321)
42,932 (+165)
7,470 (+97)
6,464 (+177)
8,995 (+205)
131,407 (+2,530)
79,395 (+172)
43,082 (+57)
39,183 (+77)
50,832 (+83)
33,094 (+77)
57,491 (+94)
41,278 (+105)
39,906 (+52)
30,825 (+56)
39,994 (+204)
7,691 (+40)
1,109 (+16)
5,485 (+107)
3,117 (-6)
8,689 (+85)
3,346 (+73)
1,184 (+104)
1,119 (+16)
4,338 (+107)
2,430 (-27)
1,095 (-6)
1,381 (+39)
2,741 (+85)
1,224 (+107)
1,607 (+105)
3,163 (+39)
50,975 (+91)
33,834 (+43)
33,627 (-419)
33,767 (+46)
34,103 (+11)
34,651 (+127)
39,027 (+64)
34,159 (+39)
34,161 (+61)
51,452 (+39)
33,846 (+105)
50,920 (+61)
51,225 (+77)
41,611 (+110)
37,663 (-3)
+0.18%
+0.45%
+0.35%
+0.73%
+1.06%
+0.41%
+3.63%
+7.87%
+0.22%
+4.43%
+0.14%
+2.92%
+0.10%
+0.33%
+0.10%
+0.32%
+0.28%
+0.37%
+1.26%
+0.67%
+0.63%
-0.09%
+0.64%
-37.66%
+2.43%
+11.27%
+0.92%
+1.94%
+0.39%
+1.32%
+2.82%
+2.33%
+1.96%
+0.22%
+0.13%
+0.20%
+0.16%
+0.23%
+0.16%
+0.26%
+0.13%
+0.18%
+0.51%
+0.52%
+1.46%
+1.99%
-0.19%
+0.99%
+2.23%
+9.63%
+1.45%
+2.53%
-1.10%
-0.54%
+2.91%
+3.20%
+9.58%
+6.99%
+1.25%
+0.18%
+0.13%
-1.23%
+0.14%
+0.03%
+0.37%
+0.16%
+0.11%
+0.18%
+0.08%
+0.31%
+0.12%
+0.15%
+0.27%
-0.01%
32,474 (+57)
148,495 (+643)
34,355 (+91)
64,986 (+416)
24,073 (+252)
40,289 (+165)
449,671 (+17,190)
1,398 (+102)
23,567 (+51)
79,991 (+3,272)
30,813 (+50)
1,643 (+51)
30,655 (+31)
32,871 (+110)
30,677 (+31)
30,699 (+98)
30,793 (+86)
5,146 (+18)
3,378 (+42)
9,674 (+61)
9,695 (+61)
6,734 (-6)
9,652 (+61)
3,173 (-1,917)
928 (+22)
1,757 (+178)
9,687 (+88)
16,838 (+321)
42,932 (+165)
7,470 (+97)
5,816 (+176)
8,314 (+203)
170,036 (+3,740)
79,395 (+172)
43,082 (+57)
32,283 (+76)
50,832 (+83)
31,010 (+79)
57,491 (+94)
37,700 (+112)
33,163 (+55)
30,867 (+66)
39,234 (+176)
9,646 (+40)
1,109 (+16)
5,485 (+107)
3,117 (-6)
9,689 (+85)
2,013 (+73)
1,184 (+104)
1,119 (+16)
3,213 (+107)
1,097 (-27)
1,095 (-6)
1,381 (+39)
3,408 (+85)
1,224 (+107)
1,607 (+105)
3,163 (+39)
51,008 (+91)
33,834 (+43)
34,146 (+100)
33,756 (+38)
34,103 (+11)
33,529 (+127)
39,027 (+64)
34,159 (+39)
34,161 (+61)
51,452 (+39)
33,846 (+105)
50,920 (+61)
51,225 (+77)
41,611 (+110)
31,026 (-3)
+0.18%
+0.43%
+0.27%
+0.64%
+1.06%
+0.41%
+3.97%
+7.87%
+0.22%
+4.26%
+0.16%
+3.20%
+0.10%
+0.34%
+0.10%
+0.32%
+0.28%
+0.35%
+1.26%
+0.63%
+0.63%
-0.09%
+0.64%
-37.66%
+2.43%
+11.27%
+0.92%
+1.94%
+0.39%
+1.32%
+3.12%
+2.50%
+2.25%
+0.22%
+0.13%
+0.24%
+0.16%
+0.26%
+0.16%
+0.30%
+0.17%
+0.21%
+0.45%
+0.42%
+1.46%
+1.99%
-0.19%
+0.89%
+3.76%
+9.63%
+1.45%
+3.44%
-2.40%
-0.54%
+2.91%
+2.56%
+9.58%
+6.99%
+1.25%
+0.18%
+0.13%
+0.29%
+0.11%
+0.03%
+0.38%
+0.16%
+0.11%
+0.18%
+0.08%
+0.31%
+0.12%
+0.15%
+0.27%
-0.01%
34,237 (+79)
152,881 (+715)
46,707 (+223)
92,401 (+598)
24,073 (+252)
40,289 (+165)
449,721 (+17,190)
1,398 (+102)
23,567 (+51)
80,291 (+3,284)
51,723 (+63)
2,919 (+39)
30,695 (+34)
32,911 (+113)
30,717 (+34)
30,739 (+101)
30,833 (+89)
9,646 (+18)
3,378 (+42)
9,674 (+61)
9,695 (+61)
11,984 (-6)
9,652 (+61)
3,173 (-1,917)
1,131 (-6)
1,757 (+178)
9,687 (+88)
16,838 (+321)
42,932 (+165)
10,686 (+97)
11,018 (+179)
13,893 (+209)
191,977 (+3,730)
79,395 (+172)
54,896 (+67)
54,195 (+76)
50,832 (+83)
37,294 (+73)
57,491 (+94)
54,800 (+112)
55,075 (+55)
30,867 (+66)
47,335 (+360)
9,646 (+40)
1,109 (+16)
9,735 (+107)
3,117 (-6)
9,689 (+85)
6,013 (+73)
1,184 (+104)
1,119 (+16)
9,713 (+107)
5,097 (-27)
1,095 (-6)
1,381 (+39)
3,408 (+85)
1,224 (+107)
1,607 (+105)
3,163 (+39)
51,008 (+91)
33,834 (+43)
34,146 (+100)
34,128 (+38)
34,103 (+11)
36,341 (+127)
48,983 (+64)
34,159 (+39)
34,161 (+61)
51,452 (+39)
33,846 (+105)
50,920 (+61)
51,225 (+77)
51,567 (+110)
50,938 (-3)
+0.23%
+0.47%
+0.48%
+0.65%
+1.06%
+0.41%
+3.97%
+7.87%
+0.22%
+4.26%
+0.12%
+1.35%
+0.11%
+0.34%
+0.11%
+0.33%
+0.29%
+0.19%
+1.26%
+0.63%
+0.63%
-0.05%
+0.64%
-37.66%
-0.53%
+11.27%
+0.92%
+1.94%
+0.39%
+0.92%
+1.65%
+1.53%
+1.98%
+0.22%
+0.12%
+0.14%
+0.16%
+0.20%
+0.16%
+0.20%
+0.10%
+0.21%
+0.77%
+0.42%
+1.46%
+1.11%
-0.19%
+0.89%
+1.23%
+9.63%
+1.45%
+1.11%
-0.53%
-0.54%
+2.91%
+2.56%
+9.58%
+6.99%
+1.25%
+0.18%
+0.13%
+0.29%
+0.11%
+0.03%
+0.35%
+0.13%
+0.11%
+0.18%
+0.08%
+0.31%
+0.12%
+0.15%
+0.21%
-0.01%
2 (0)
5 (0)
3 (0)
43 (0)
1 (0)
1 (0)
5 (0)
31 (0)
1 (0)
257 (0)
4 (0)
4 (0)
2 (0)
4 (0)
2 (0)
2 (0)
2 (0)
11 (0)
1 (0)
9 (0)
1 (0)
2 (0)
6 (0)
5 (0)
2 (0)
31 (0)
516 (0)
1 (0)
1 (0)
2 (0)
6 (0)
6 (0)
771 (0)
33 (0)
2 (0)
3 (0)
1 (0)
3 (0)
32 (0)
3 (0)
3 (0)
3 (0)
4 (0)
11 (0)
1 (0)
2 (0)
1 (0)
13 (0)
3 (0)
1 (0)
1 (0)
4 (0)
3 (0)
1 (0)
1 (0)
3 (0)
1 (0)
1 (0)
2 (0)
522 (0)
4 (0)
27 (+22)
519 (0)
3 (0)
5 (0)
2 (0)
1 (0)
1 (0)
4 (0)
516 (0)
3 (0)
3 (0)
4 (0)
3 (0)
DeployL1Script 56,276,059 (-16,964,831) runForTest 7,910,918 (-2,547,487) -24.36% 7,910,918 (-2,547,487) -24.36% 7,910,918 (-2,547,487) -24.36% 7,910,918 (-2,547,487) -24.36% 3 (0)
GettersFacetWrapper 1,729,370 (-463,505) facetAddress
facetAddresses
facetFunctionSelectors
facets
getAdmin
getBaseTokenAssetId
getBridgehub
getChainTypeManager
getL2BootloaderBytecodeHash
getL2DefaultAccountBytecodeHash
getL2SystemContractsUpgradeBatchNumber
getL2SystemContractsUpgradeBlockNumber
getPendingAdmin
getPriorityQueueSize
getPriorityTxMaxGasLimit
getTotalBatchesCommitted
getTotalBatchesExecuted
getTotalBatchesVerified
getTotalBlocksCommitted
getTotalBlocksExecuted
getTotalBlocksVerified
getVerifier
isEthWithdrawalFinalized
isFacetFreezable
isFunctionFreezable
isValidator
l2LogsRootHash
storedBatchHash
storedBlockHash
util_setAdmin
util_setBridgehub
util_setChainTypeManager
util_setFacetAddress
util_setFacetAddresses
util_setFacetFunctionSelectors
util_setFacets
util_setFirstUnprocessedPriorityTx
util_setIsDiamondStorageFrozen
util_setIsEthWithdrawalFinalized
util_setIsFacetFreezable
util_setIsFunctionFreezable
util_setL2SystemContractsUpgradeTxHash
util_setPendingAdmin
util_setPriorityQueueSize
util_setProtocolVersion
util_setStoredBatchHash
util_setTotalBatchesCommitted
util_setTotalBatchesVerified
util_setValidator
util_setVerifier
744 (+86)
1,302 (+80)
1,861 (+110)
4,067 (+137)
464 (+24)
382 (-22)
486 (+88)
399 (+2)
380 (-23)
401 (+22)
446 (+22)
359 (-45)
398 (-21)
4,923 (+65)
349 (-45)
402 (+22)
447 (+66)
424 (+22)
423 (+22)
360 (-45)
447 (+65)
398 (-21)
629 (-45)
1,379 (+89)
735 (+72)
628 (+1)
570 (+44)
503 (-45)
591 (+66)
43,995 (+39)
43,973 (+39)
44,040 (+104)
24,243 (+101)
89,440 (+90)
70,378 (+66)
128,501 (+282)
45,888 (+66)
43,732 (+3)
44,286 (+25)
93,053 (+161)
27,011 (+77)
43,954 (-45)
43,995 (+39)
65,809 (-45)
43,692 (+22)
44,172 (-23)
43,765 (+86)
43,666 (-45)
24,397 (+27)
43,985 (+39)
+13.07%
+6.55%
+6.28%
+3.49%
+5.45%
-5.45%
+22.11%
+0.50%
-5.71%
+5.80%
+5.19%
-11.14%
-5.01%
+1.34%
-11.42%
+5.79%
+17.32%
+5.47%
+5.49%
-11.11%
+17.02%
-5.01%
-6.68%
+6.90%
+10.86%
+0.16%
+8.37%
-8.21%
+12.57%
+0.09%
+0.09%
+0.24%
+0.42%
+0.10%
+0.09%
+0.22%
+0.14%
+0.01%
+0.06%
+0.17%
+0.29%
-0.10%
+0.09%
-0.07%
+0.05%
-0.05%
+0.20%
-0.10%
+0.11%
+0.09%
744 (+86)
1,302 (+80)
1,861 (+110)
4,067 (+137)
464 (+24)
382 (-22)
486 (+88)
399 (+2)
380 (-23)
401 (+22)
446 (+22)
359 (-45)
398 (-21)
4,923 (+65)
349 (-45)
402 (+22)
447 (+66)
424 (+22)
423 (+22)
360 (-45)
447 (+65)
398 (-21)
629 (-45)
2,053 (+73)
842 (+72)
628 (+1)
570 (+44)
503 (-45)
591 (+66)
43,995 (+39)
43,973 (+39)
44,040 (+104)
37,669 (+101)
89,440 (+90)
70,378 (+66)
128,501 (+282)
45,888 (+66)
43,732 (+3)
44,286 (+25)
93,053 (+161)
35,561 (+77)
43,954 (-45)
43,995 (+39)
65,809 (-45)
43,692 (+22)
44,172 (-23)
43,765 (+86)
43,666 (-45)
34,353 (+27)
43,985 (+39)
+13.07%
+6.55%
+6.28%
+3.49%
+5.45%
-5.45%
+22.11%
+0.50%
-5.71%
+5.80%
+5.19%
-11.14%
-5.01%
+1.34%
-11.42%
+5.79%
+17.32%
+5.47%
+5.49%
-11.11%
+17.02%
-5.01%
-6.68%
+3.69%
+9.35%
+0.16%
+8.37%
-8.21%
+12.57%
+0.09%
+0.09%
+0.24%
+0.27%
+0.10%
+0.09%
+0.22%
+0.14%
+0.01%
+0.06%
+0.17%
+0.22%
-0.10%
+0.09%
-0.07%
+0.05%
-0.05%
+0.20%
-0.10%
+0.08%
+0.09%
744 (+86)
1,302 (+80)
1,861 (+110)
4,067 (+137)
464 (+24)
382 (-22)
486 (+88)
399 (+2)
380 (-23)
401 (+22)
446 (+22)
359 (-45)
398 (-21)
4,923 (+65)
349 (-45)
402 (+22)
447 (+66)
424 (+22)
423 (+22)
360 (-45)
447 (+65)
398 (-21)
629 (-45)
2,053 (+73)
842 (+72)
628 (+1)
570 (+44)
503 (-45)
591 (+66)
43,995 (+39)
43,973 (+39)
44,040 (+104)
44,383 (+101)
89,440 (+90)
70,378 (+66)
128,501 (+282)
45,888 (+66)
43,732 (+3)
44,286 (+25)
93,053 (+161)
35,561 (+77)
43,954 (-45)
43,995 (+39)
65,809 (-45)
43,692 (+22)
44,172 (-23)
43,765 (+86)
43,666 (-45)
34,353 (+27)
43,985 (+39)
+13.07%
+6.55%
+6.28%
+3.49%
+5.45%
-5.45%
+22.11%
+0.50%
-5.71%
+5.80%
+5.19%
-11.14%
-5.01%
+1.34%
-11.42%
+5.79%
+17.32%
+5.47%
+5.49%
-11.11%
+17.02%
-5.01%
-6.68%
+3.69%
+9.35%
+0.16%
+8.37%
-8.21%
+12.57%
+0.09%
+0.09%
+0.24%
+0.23%
+0.10%
+0.09%
+0.22%
+0.14%
+0.01%
+0.06%
+0.17%
+0.22%
-0.10%
+0.09%
-0.07%
+0.05%
-0.05%
+0.20%
-0.10%
+0.08%
+0.09%
744 (+86)
1,302 (+80)
1,861 (+110)
4,067 (+137)
464 (+24)
382 (-22)
486 (+88)
399 (+2)
380 (-23)
401 (+22)
446 (+22)
359 (-45)
398 (-21)
4,923 (+65)
349 (-45)
402 (+22)
447 (+66)
424 (+22)
423 (+22)
360 (-45)
447 (+65)
398 (-21)
629 (-45)
2,727 (+56)
949 (+72)
628 (+1)
570 (+44)
503 (-45)
591 (+66)
43,995 (+39)
43,973 (+39)
44,040 (+104)
44,383 (+101)
89,440 (+90)
70,378 (+66)
128,501 (+282)
45,888 (+66)
43,732 (+3)
44,286 (+25)
93,053 (+161)
44,111 (+77)
43,954 (-45)
43,995 (+39)
65,809 (-45)
43,692 (+22)
44,172 (-23)
43,765 (+86)
43,666 (-45)
44,309 (+27)
43,985 (+39)
+13.07%
+6.55%
+6.28%
+3.49%
+5.45%
-5.45%
+22.11%
+0.50%
-5.71%
+5.80%
+5.19%
-11.14%
-5.01%
+1.34%
-11.42%
+5.79%
+17.32%
+5.47%
+5.49%
-11.11%
+17.02%
-5.01%
-6.68%
+2.10%
+8.21%
+0.16%
+8.37%
-8.21%
+12.57%
+0.09%
+0.09%
+0.24%
+0.23%
+0.10%
+0.09%
+0.22%
+0.14%
+0.01%
+0.06%
+0.17%
+0.17%
-0.10%
+0.09%
-0.07%
+0.05%
-0.05%
+0.20%
-0.10%
+0.06%
+0.09%
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
2 (0)
2 (0)
2 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
3 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
1 (0)
2 (0)
1 (0)
1 (0)
1 (0)
1 (0)
2 (0)
2 (0)
2 (0)
2 (0)
1 (0)
ChainTypeManager 3,826,188 (-720,812) acceptAdmin
admin
createNewChain
freezeChain
getHyperchain
getSemverProtocolVersion
initialCutHash
initialize
l1GenesisUpgrade
protocolVersion
setChainCreationParams
setNewVersionUpgrade
setPendingAdmin
setUpgradeDiamondCut
setValidatorTimelock
storedBatchZero
upgradeCutHash
validatorTimelock
30,672 (+85)
468 (+79)
1,046 (-7)
13,056 (+127)
1,715 (+109)
636 (+56)
373 (-11)
22,764 (+19)
426 (+57)
418 (+55)
45,757 (+2,752)
152,946 (+4,574)
28,430 (+85)
47,228 (+2,550)
4,772 (+64)
394 (+33)
470 (-56)
447 (+79)
+0.28%
+20.31%
-0.66%
+0.98%
+6.79%
+9.66%
-2.86%
+0.08%
+15.45%
+15.15%
+6.40%
+3.08%
+0.30%
+5.71%
+1.36%
+9.14%
-10.65%
+21.47%
30,672 (+85)
468 (+79)
3,236,173 (-129,705)
26,019 (+133)
1,715 (+109)
636 (+56)
1,373 (-11)
115,179 (+1,422)
426 (+57)
1,418 (+55)
45,757 (+2,752)
152,946 (+4,574)
28,430 (+85)
47,228 (+2,550)
8,039 (+74)
394 (+33)
470 (-56)
1,447 (+79)
+0.28%
+20.31%
-3.85%
+0.51%
+6.79%
+9.66%
-0.79%
+1.25%
+15.45%
+4.04%
+6.40%
+3.08%
+0.30%
+5.71%
+0.93%
+9.14%
-10.65%
+5.77%
30,672 (+85)
468 (+79)
3,474,483 (-139,587)
26,019 (+133)
1,715 (+109)
636 (+56)
1,373 (-11)
22,764 (+19)
426 (+57)
1,418 (+55)
45,757 (+2,752)
152,946 (+4,574)
28,430 (+85)
47,228 (+2,550)
8,039 (+74)
394 (+33)
470 (-56)
1,447 (+79)
+0.28%
+20.31%
-3.86%
+0.51%
+6.79%
+9.66%
-0.79%
+0.08%
+15.45%
+4.04%
+6.40%
+3.08%
+0.30%
+5.71%
+0.93%
+9.14%
-10.65%
+5.77%
30,672 (+85)
468 (+79)
3,476,483 (-137,587)
38,983 (+139)
1,715 (+109)
636 (+56)
2,373 (-11)
210,092 (+2,862)
426 (+57)
2,418 (+55)
45,757 (+2,752)
152,946 (+4,574)
28,430 (+85)
47,228 (+2,550)
11,307 (+85)
394 (+33)
470 (-56)
2,447 (+79)
+0.28%
+20.31%
-3.81%
+0.36%
+6.79%
+9.66%
-0.46%
+1.38%
+15.45%
+2.33%
+6.40%
+3.08%
+0.30%
+5.71%
+0.76%
+9.14%
-10.65%
+3.34%
1 (0)
1 (0)
29 (0)
2 (0)
24 (0)
1 (0)
2 (0)
75 (0)
1 (0)
4 (0)
1 (0)
1 (0)
2 (0)
1 (0)
2 (0)
1 (0)
2 (0)
4 (0)
UtilsFacet 685,923 (-206,209) util_getAdmin
util_getBaseTokenAssetId
util_getBridgehub
util_getChainId
util_getChainTypeManager
util_getFeeParams
util_getL2BootloaderBytecodeHash
util_getL2DefaultAccountBytecodeHash
util_getPendingAdmin
util_getPriorityTxMaxGasLimit
util_getProtocolVersion
util_getValidator
util_getVerifier
util_getVerifierParams
util_setBaseTokenGasPriceMultiplierDenominator
util_setBaseTokenGasPriceMultiplierNominator
util_setBridgehub
util_setChainId
util_setChainTypeManager
util_setFeeParams
util_setIsFrozen
util_setL2DefaultAccountBytecodeHash
util_setPriorityTxMaxGasLimit
util_setProtocolVersion
util_setTransactionFilterer
util_setValidator
util_setZkPorterAvailability
375 (+1)
338 (-23)
464 (+68)
346 (-45)
418 (+46)
1,212 (+34)
413 (+65)
348 (-23)
442 (+68)
326 (-66)
324 (-45)
631 (+46)
453 (+68)
824 (+66)
5,430 (+52)
5,356 (+4)
2,640 (-2,739)
5,278 (-1)
5,397 (-28)
4,201 (+88)
605 (+25)
5,323 (+22)
5,344 (+66)
22,442 (+22)
22,519 (+38)
2,815 (+71)
2,560 (-42)
+0.27%
-6.37%
+17.17%
-11.51%
+12.37%
+2.89%
+18.68%
-6.20%
+18.18%
-16.84%
-12.20%
+7.86%
+17.66%
+8.71%
+0.97%
+0.07%
-50.92%
-0.02%
-0.52%
+2.14%
+4.31%
+0.42%
+1.25%
+0.10%
+0.17%
+2.59%
-1.61%
2,011 (+1)
338 (-23)
1,464 (+68)
346 (-45)
2,264 (+46)
1,878 (+34)
413 (+65)
348 (-23)
1,442 (+68)
992 (-66)
324 (-45)
631 (+46)
453 (+68)
824 (+66)
22,497 (+52)
5,356 (+4)
4,921 (-458)
5,278 (-1)
5,397 (-28)
5,321 (+88)
10,555 (+25)
5,323 (+22)
5,344 (+66)
22,442 (+22)
22,519 (+38)
12,765 (+71)
9,193 (-42)
+0.05%
-6.37%
+4.87%
-11.51%
+2.07%
+1.84%
+18.68%
-6.20%
+4.95%
-6.24%
-12.20%
+7.86%
+17.66%
+8.71%
+0.23%
+0.07%
-8.51%
-0.02%
-0.52%
+1.68%
+0.24%
+0.42%
+1.25%
+0.10%
+0.17%
+0.56%
-0.45%
2,375 (+1)
338 (-23)
1,464 (+68)
346 (-45)
2,418 (+46)
1,212 (+34)
413 (+65)
348 (-23)
1,442 (+68)
326 (-66)
324 (-45)
631 (+46)
453 (+68)
824 (+66)
22,530 (+52)
5,356 (+4)
5,440 (+61)
5,278 (-1)
5,397 (-28)
4,201 (+88)
10,555 (+25)
5,323 (+22)
5,344 (+66)
22,442 (+22)
22,519 (+38)
12,765 (+71)
2,560 (-42)
+0.04%
-6.37%
+4.87%
-11.51%
+1.94%
+2.89%
+18.68%
-6.20%
+4.95%
-16.84%
-12.20%
+7.86%
+17.66%
+8.71%
+0.23%
+0.07%
+1.13%
-0.02%
-0.52%
+2.14%
+0.24%
+0.42%
+1.25%
+0.10%
+0.17%
+0.56%
-1.61%
2,375 (+1)
338 (-23)
2,464 (+68)
346 (-45)
2,418 (+46)
3,212 (+34)
413 (+65)
348 (-23)
2,442 (+68)
2,326 (-66)
324 (-45)
631 (+46)
453 (+68)
824 (+66)
22,530 (+52)
5,356 (+4)
5,440 (+61)
5,278 (-1)
5,397 (-28)
7,001 (+88)
20,505 (+25)
5,323 (+22)
5,344 (+66)
22,442 (+22)
22,519 (+38)
22,715 (+71)
22,460 (-42)
+0.04%
-6.37%
+2.84%
-11.51%
+1.94%
+1.07%
+18.68%
-6.20%
+2.86%
-2.76%
-12.20%
+7.86%
+17.66%
+8.71%
+0.23%
+0.07%
+1.13%
-0.02%
-0.52%
+1.27%
+0.12%
+0.42%
+1.25%
+0.10%
+0.17%
+0.31%
-0.19%
11 (0)
1 (0)
2 (0)
1 (0)
13 (0)
3 (0)
1 (0)
1 (0)
4 (0)
3 (0)
1 (0)
3 (0)
1 (0)
1 (0)
522 (0)
4 (0)
27 (+22)
519 (0)
3 (0)
5 (0)
2 (0)
1 (0)
516 (0)
3 (0)
3 (0)
4 (0)
3 (0)
Utils 4,667,685 (-1,482,955) constructL2Log
constructRollupL2DAValidatorOutputHash
createCommitBatchInfo
createStoredBatchInfo
defaultPointEvaluationPrecompileInput
encodePacked
getAdminSelectors
getDefaultBlobCommitment
getExecutorSelectors
getGettersSelectors
getMailboxSelectors
getUtilsFacetSelectors
makeInitializeDataForNewChain
randomBytes32
1,212 (+39)
1,464 (+89)
4,258 (+105)
888 (+56)
1,696 (+18)
12,771 (+273)
3,429 (+506)
1,635 (+12)
1,366 (+138)
7,422 (+1,110)
2,016 (+246)
9,221 (+1,030)
2,088 (+83)
1,137 (+42)
+3.32%
+6.47%
+2.53%
+6.73%
+1.07%
+2.18%
+17.31%
+0.74%
+11.24%
+17.59%
+13.90%
+12.57%
+4.14%
+3.84%
1,212 (+39)
1,477 (+89)
4,258 (+105)
888 (+56)
1,696 (+18)
14,326 (+273)
3,429 (+506)
1,635 (+12)
1,366 (+138)
7,422 (+1,110)
2,016 (+246)
9,221 (+1,030)
2,088 (+83)
1,142 (+42)
+3.32%
+6.41%
+2.53%
+6.73%
+1.07%
+1.94%
+17.31%
+0.74%
+11.24%
+17.59%
+13.90%
+12.57%
+4.14%
+3.82%
1,212 (+39)
1,464 (+89)
4,258 (+105)
888 (+56)
1,696 (+18)
14,409 (+273)
3,429 (+506)
1,635 (+12)
1,366 (+138)
7,422 (+1,110)
2,016 (+246)
9,221 (+1,030)
2,088 (+83)
1,137 (+42)
+3.32%
+6.47%
+2.53%
+6.73%
+1.07%
+1.93%
+17.31%
+0.74%
+11.24%
+17.59%
+13.90%
+12.57%
+4.14%
+3.84%
1,212 (+39)
1,622 (+89)
4,258 (+105)
888 (+56)
1,696 (+18)
17,070 (+306)
3,429 (+506)
1,635 (+12)
1,366 (+138)
7,422 (+1,110)
2,016 (+246)
9,221 (+1,030)
2,088 (+83)
1,219 (+42)
+3.32%
+5.81%
+2.53%
+6.73%
+1.07%
+1.83%
+17.31%
+0.74%
+11.24%
+17.59%
+13.90%
+12.57%
+4.14%
+3.57%
38 (0)
34 (0)
6 (0)
13 (0)
30 (0)
73 (0)
37 (0)
30 (0)
37 (0)
68 (0)
36 (0)
112 (0)
72 (0)
566 (0)
GettersFacet 922,106 (-230,367) facetAddress
getAdmin
getChainId
getL2SystemContractsUpgradeTxHash
getPriorityTreeRoot
getProtocolVersion
getSemverProtocolVersion
getTotalBatchesExecuted
isDiamondStorageFrozen
isFunctionFreezable
621 (+63)
375 (-21)
2,403 (+22)
2,424 (+22)
713 (-45)
2,381 (+22)
2,607 (-23)
2,402 (+44)
360 (-45)
980 (+139)
+11.29%
-5.30%
+0.92%
+0.92%
-5.94%
+0.93%
-0.87%
+1.87%
-11.11%
+16.53%
621 (+63)
2,011 (-21)
2,403 (+22)
2,424 (+22)
2,713 (-45)
2,381 (+22)
2,607 (-23)
2,402 (+44)
360 (-45)
980 (+139)
+11.29%
-1.03%
+0.92%
+0.92%
-1.63%
+0.93%
-0.87%
+1.87%
-11.11%
+16.53%
621 (+63)
2,375 (-21)
2,403 (+22)
2,424 (+22)
2,713 (-45)
2,381 (+22)
2,607 (-23)
2,402 (+44)
360 (-45)
980 (+139)
+11.29%
-0.88%
+0.92%
+0.92%
-1.63%
+0.93%
-0.87%
+1.87%
-11.11%
+16.53%
621 (+63)
2,375 (-21)
2,403 (+22)
2,424 (+22)
4,713 (-45)
2,381 (+22)
2,607 (-23)
2,402 (+44)
360 (-45)
980 (+139)
+11.29%
-0.88%
+0.92%
+0.92%
-0.95%
+0.93%
-0.87%
+1.87%
-11.11%
+16.53%
31 (0)
11 (0)
9 (0)
1 (0)
2 (0)
6 (0)
256 (0)
5 (0)
1 (0)
31 (0)
DummyBridgehubSetter 4,310,069 (-1,054,463) acceptAdmin
acceptOwnership
addChainTypeManager
addTokenAssetId
admin
assetIdIsRegistered
baseToken
chainTypeManager
chainTypeManagerIsRegistered
createNewChain
getZKChain
initialize
l1CtmDeployer
l2TransactionBaseCost
messageRoot
owner
pause
proveL1ToL2TransactionStatus
proveL2LogInclusion
proveL2MessageInclusion
removeChainTypeManager
requestL2TransactionDirect
requestL2TransactionTwoBridges
setAddresses
setCTM
setPendingAdmin
setZKChain
sharedBridge
transferOwnership
unpause
23,501 (+18)
25,580 (+54)
23,895 (+30)
26,276 (+30)
435 (+24)
514 (0)
3,302 (+69)
554 (+24)
656 (+12)
28,973 (+450)
770 (+12)
24,161 (+50)
392 (+24)
1,184 (+18)
436 (+24)
408 (+24)
46,828 (+27)
0 (0)
0 (0)
0 (0)
23,832 (+30)
33,044 (+118)
30,993 (+118)
24,336 (+78)
44,232 (+39)
25,999 (+119)
111,339 (+24)
454 (+91)
47,805 (+75)
24,906 (+5)
+0.08%
+0.21%
+0.13%
+0.11%
+5.84%
0.00%
+2.13%
+4.53%
+1.86%
+1.58%
+1.58%
+0.21%
+6.52%
+1.54%
+5.83%
+6.25%
+0.06%
+∞%
+∞%
+∞%
+0.13%
+0.36%
+0.38%
+0.32%
+0.09%
+0.46%
+0.02%
+25.07%
+0.16%
+0.02%
45,558 (+60)
25,580 (+54)
44,150 (+60)
45,603 (+28)
1,546 (+24)
1,514 (+200)
12,150 (+121)
1,887 (+24)
1,351 (+12)
107,022 (+801)
770 (+12)
24,161 (+50)
1,725 (+24)
1,184 (+18)
1,769 (+24)
1,927 (+24)
46,828 (+27)
1,381 (+29)
1,494 (+58)
1,614 (+62)
25,463 (+48)
96,414 (+1,186)
145,334 (+1,043)
66,065 (+122)
44,270 (+39)
47,719 (+130)
111,377 (+24)
1,254 (+91)
47,805 (+75)
24,906 (+5)
+0.13%
+0.21%
+0.14%
+0.06%
+1.58%
+15.22%
+1.01%
+1.29%
+0.90%
+0.75%
+1.58%
+0.21%
+1.41%
+1.54%
+1.38%
+1.26%
+0.06%
+2.14%
+4.04%
+3.99%
+0.19%
+1.25%
+0.72%
+0.19%
+0.09%
+0.27%
+0.02%
+7.82%
+0.16%
+0.02%
46,937 (+63)
25,580 (+54)
47,621 (+63)
49,731 (+27)
2,435 (+24)
1,514 (+1,000)
14,324 (+146)
2,554 (+24)
656 (+12)
36,509 (+166)
770 (+12)
24,161 (+50)
2,392 (+24)
1,184 (+18)
2,436 (+24)
2,408 (+24)
46,828 (+27)
988 (+30)
1,100 (+37)
1,197 (+56)
25,832 (+58)
72,732 (-3,147)
47,093 (-21,274)
71,205 (+75)
44,280 (+27)
49,885 (+140)
111,387 (+12)
454 (+91)
47,805 (+75)
24,906 (+5)
+0.13%
+0.21%
+0.13%
+0.05%
+1.00%
+194.55%
+1.03%
+0.95%
+1.86%
+0.46%
+1.58%
+0.21%
+1.01%
+1.54%
+1.00%
+1.01%
+0.06%
+3.13%
+3.48%
+4.91%
+0.23%
-4.15%
-31.12%
+0.11%
+0.06%
+0.28%
+0.01%
+25.07%
+0.16%
+0.02%
46,937 (+63)
25,580 (+54)
47,621 (+63)
49,731 (+27)
2,435 (+24)
2,514 (0)
18,824 (+146)
2,554 (+24)
2,656 (+12)
877,902 (+7,533)
770 (-269)
24,161 (+50)
2,392 (+24)
1,184 (+18)
2,436 (+24)
2,408 (+24)
46,828 (+27)
3,632 (+47)
3,873 (+116)
4,069 (+142)
26,244 (+54)
224,351 (+1,124)
403,529 (+3,756)
91,345 (+75)
44,292 (+39)
49,897 (+140)
111,399 (+24)
2,454 (+91)
47,805 (+75)
24,906 (+5)
+0.13%
+0.21%
+0.13%
+0.05%
+1.00%
0.00%
+0.78%
+0.95%
+0.45%
+0.87%
-25.89%
+0.21%
+1.01%
+1.54%
+1.00%
+1.01%
+0.06%
+1.31%
+3.09%
+3.62%
+0.21%
+0.50%
+0.94%
+0.08%
+0.09%
+0.28%
+0.02%
+3.85%
+0.16%
+0.02%
4,352 (0)
34 (0)
6,656 (0)
4,096 (0)
2,304 (+1)
1,536 (+256)
1,536 (0)
4,608 (0)
5,888 (0)
2,560 (0)
2,560 (0)
34 (0)
768 (0)
256 (0)
768 (0)
1,348 (0)
256 (0)
512 (0)
512 (0)
512 (0)
2,048 (0)
1,024 (0)
1,536 (+2)
3,328 (0)
2,816 (0)
4,864 (+1)
2,816 (0)
1,280 (0)
34 (0)
256 (0)
TransparentUpgradeableProxy 846,950 (+59,082) acceptAdmin
admin
allowAdminImplementation
allowL2Admin
bridgeCheckCounterpartAddress
bridgeRecoverFailedTransfer
bridgehubConfirmL2Transaction
bridgehubDeposit
bridgehubDepositBaseToken
chainBalance(uint256,address)
chainBalance(uint256,bytes32)
claimFailedDeposit
createNewChain
depositHappened
depositLegacyErc20Bridge
encodeTxDataHash
finalizeDeposit
finalizeWithdrawal
freezeChain
getAssetId
getERC20Getters
getHyperchain
getSemverProtocolVersion
initialCutHash
l1GenesisUpgrade
l2BridgeAddress
legacyBridge
nativeTokenVault
nullifyChainBalanceByNTV
originChainId
pause
paused
protocolVersion
registerEthToken
registerToken
setAllowedData
setChainCreationParams
setL1AssetRouter
setL1Erc20Bridge
setL1NativeTokenVault
setNativeTokenVault
setNewVersionUpgrade
setPendingAdmin
setSelectorIsValidated
setUpgradeDiamondCut
setValidatorTimelock
storedBatchZero
tokenAddress
transferFundsFromSharedBridge
transferTokenToNTV
tryCompareAdminOfAChain
tryGetNewAdminFromMigration
unpause
updateChainBalancesFromSharedBridge
upgradeCutHash
validateCall
validatorTimelock
54,061 (+121)
1,096 (+115)
54,675 (+40)
52,791 (+97)
7,830 (+96)
45,682 (+151)
48,696 (+31)
46,669 (+172)
29,946 (+88)
1,374 (+38)
1,221 (+36)
47,388 (+152)
55,179 (-507)
1,275 (+102)
39,944 (+224)
2,719 (+211)
125,047 (+634)
56,800 (+362)
41,416 (+163)
1,344 (+60)
11,947 (+113)
4,846 (+145)
1,270 (+92)
1,001 (+25)
1,054 (+93)
9,641 (+60)
1,042 (+71)
1,020 (+71)
31,343 (+50)
1,167 (+36)
53,954 (+85)
1,043 (+58)
1,046 (+91)
101,017 (+159)
29,007 (+96)
55,427 (+92)
98,745 (+2,399)
53,406 (+111)
33,064 (+112)
53,393 (+89)
33,097 (+100)
205,396 (+4,233)
56,990 (+121)
54,738 (+58)
99,337 (+2,209)
33,123 (+100)
1,022 (+69)
0 (0)
37,521 (+106)
31,117 (+44)
1,946 (+129)
1,533 (+136)
32,053 (+85)
51,348 (+184)
1,101 (-20)
8,103 (+100)
1,075 (+115)
+0.22%
+11.72%
+0.07%
+0.18%
+1.24%
+0.33%
+0.06%
+0.37%
+0.29%
+2.84%
+3.04%
+0.32%
-0.91%
+8.70%
+0.56%
+8.41%
+0.51%
+0.64%
+0.40%
+4.67%
+0.95%
+3.08%
+7.81%
+2.56%
+9.68%
+0.63%
+7.31%
+7.48%
+0.16%
+3.18%
+0.16%
+5.89%
+9.53%
+0.16%
+0.33%
+0.17%
+2.49%
+0.21%
+0.34%
+0.17%
+0.30%
+2.10%
+0.21%
+0.11%
+2.27%
+0.30%
+7.24%
+∞%
+0.28%
+0.14%
+7.10%
+9.74%
+0.27%
+0.36%
-1.78%
+1.25%
+11.98%
54,061 (+121)
1,096 (+115)
54,913 (+28)
52,791 (+97)
7,830 (+96)
88,374 (+615)
63,372 (+27)
88,052 (+938)
84,858 (+779)
1,899 (+38)
1,739 (+36)
85,079 (+705)
2,146,535 (-82,768)
3,039 (+102)
154,989 (+1,552)
4,069 (+211)
128,678 (+714)
109,527 (+755)
54,371 (+169)
1,600 (+60)
11,947 (+113)
4,846 (+145)
1,270 (+92)
5,251 (+25)
1,054 (+93)
9,641 (+60)
4,442 (+71)
3,145 (+71)
31,343 (+50)
1,167 (+36)
53,954 (+85)
1,043 (+58)
5,296 (+91)
106,041 (+192)
128,288 (+240)
56,486 (+99)
98,745 (+2,399)
53,406 (+111)
53,171 (+122)
53,393 (+89)
74,747 (-9)
205,396 (+4,233)
56,990 (+121)
54,767 (+56)
99,337 (+2,209)
36,387 (+111)
1,022 (+69)
3,737 (+59)
49,287 (+244)
34,528 (+50)
19,503 (+237)
9,685 (+321)
32,053 (+85)
51,462 (+184)
1,101 (-20)
29,790 (+648)
5,950 (+115)
+0.22%
+11.72%
+0.05%
+0.18%
+1.24%
+0.70%
+0.04%
+1.08%
+0.93%
+2.04%
+2.11%
+0.84%
-3.71%
+3.47%
+1.01%
+5.47%
+0.56%
+0.69%
+0.31%
+3.90%
+0.95%
+3.08%
+7.81%
+0.48%
+9.68%
+0.63%
+1.62%
+2.31%
+0.16%
+3.18%
+0.16%
+5.89%
+1.75%
+0.18%
+0.19%
+0.18%
+2.49%
+0.21%
+0.23%
+0.17%
-0.01%
+2.10%
+0.21%
+0.10%
+2.27%
+0.31%
+7.24%
+1.60%
+0.50%
+0.15%
+1.23%
+3.43%
+0.27%
+0.36%
-1.78%
+2.22%
+1.97%
54,061 (+121)
1,096 (+115)
55,035 (+28)
52,791 (+97)
7,830 (+96)
98,783 (+776)
70,711 (+25)
88,300 (+978)
82,530 (+551)
1,374 (+38)
1,221 (+36)
93,233 (+762)
3,530,804 (-138,087)
1,275 (+102)
212,480 (+2,223)
2,719 (+211)
128,678 (+714)
126,433 (+835)
54,371 (+169)
1,344 (+60)
11,947 (+113)
4,846 (+145)
1,270 (+92)
5,251 (+25)
1,054 (+93)
9,641 (+60)
1,042 (+71)
1,020 (+71)
31,343 (+50)
1,167 (+36)
53,954 (+85)
1,043 (+58)
5,296 (+91)
105,586 (+190)
128,718 (+238)
56,120 (+56)
98,745 (+2,399)
53,406 (+111)
53,428 (+133)
53,393 (+89)
75,815 (-12)
205,396 (+4,233)
56,990 (+121)
54,786 (+58)
99,337 (+2,209)
36,387 (+111)
1,022 (+69)
3,195 (+60)
49,076 (+178)
34,528 (+50)
25,463 (+289)
10,896 (+278)
32,053 (+85)
51,462 (+184)
1,101 (-20)
31,929 (+612)
6,575 (+115)
+0.22%
+11.72%
+0.05%
+0.18%
+1.24%
+0.79%
+0.04%
+1.12%
+0.67%
+2.84%
+3.04%
+0.82%
-3.76%
+8.70%
+1.06%
+8.41%
+0.56%
+0.66%
+0.31%
+4.67%
+0.95%
+3.08%
+7.81%
+0.48%
+9.68%
+0.63%
+7.31%
+7.48%
+0.16%
+3.18%
+0.16%
+5.89%
+1.75%
+0.18%
+0.19%
+0.10%
+2.49%
+0.21%
+0.25%
+0.17%
-0.02%
+2.10%
+0.21%
+0.11%
+2.27%
+0.31%
+7.24%
+1.91%
+0.36%
+0.15%
+1.15%
+2.62%
+0.27%
+0.36%
-1.78%
+1.95%
+1.78%
54,061 (+121)
1,096 (+115)
55,035 (+28)
52,791 (+97)
7,830 (+96)
110,249 (+757)
70,711 (+25)
134,080 (+1,709)
115,473 (+1,291)
9,874 (+38)
9,721 (+36)
103,650 (+973)
3,530,804 (-138,087)
9,775 (+102)
212,545 (+2,211)
7,219 (+211)
132,310 (+795)
136,148 (+1,038)
67,327 (+175)
7,844 (+60)
11,947 (+113)
4,846 (+145)
1,270 (+92)
9,501 (+25)
1,054 (+93)
9,641 (+60)
9,542 (+71)
9,520 (+71)
31,343 (+50)
1,167 (+36)
53,954 (+85)
1,043 (+58)
9,546 (+91)
112,717 (+226)
135,849 (+274)
58,223 (+68)
98,745 (+2,399)
53,406 (+111)
53,429 (+111)
53,393 (+89)
75,815 (-12)
205,396 (+4,233)
56,990 (+121)
54,786 (+58)
99,337 (+2,209)
39,651 (+121)
1,022 (+69)
9,695 (+60)
60,053 (+378)
37,939 (+56)
31,963 (+289)
20,054 (+601)
32,053 (+85)
51,576 (+184)
1,101 (-20)
39,624 (+706)
9,575 (+115)
+0.22%
+11.72%
+0.05%
+0.18%
+1.24%
+0.69%
+0.04%
+1.29%
+1.13%
+0.39%
+0.37%
+0.95%
-3.76%
+1.05%
+1.05%
+3.01%
+0.60%
+0.77%
+0.26%
+0.77%
+0.95%
+3.08%
+7.81%
+0.26%
+9.68%
+0.63%
+0.75%
+0.75%
+0.16%
+3.18%
+0.16%
+5.89%
+0.96%
+0.20%
+0.20%
+0.12%
+2.49%
+0.21%
+0.21%
+0.17%
-0.02%
+2.10%
+0.21%
+0.11%
+2.27%
+0.31%
+7.24%
+0.62%
+0.63%
+0.15%
+0.91%
+3.09%
+0.27%
+0.36%
-1.78%
+1.81%
+1.22%
1 (0)
1 (0)
258 (0)
1 (0)
1 (0)
4 (0)
3 (0)
12 (0)
9 (0)
626 (0)
718 (0)
8 (0)
5 (0)
53 (0)
3 (0)
10 (0)
2 (0)
20 (0)
2 (0)
533 (0)
1 (0)
24 (0)
1 (0)
2 (0)
1 (0)
20 (0)
5 (0)
4 (0)
1 (0)
518 (0)
2 (0)
3 (0)
4 (0)
880 (0)
881 (0)
257 (0)
1 (0)
78 (0)
158 (0)
78 (0)
80 (0)
1 (0)
2 (0)
258 (0)
1 (0)
2 (0)
1 (0)
4,406 (0)
5 (0)
2 (0)
13 (0)
12 (0)
1 (0)
2 (0)
2 (0)
10 (0)
4 (0)
L1NativeTokenVault 3,156,294 (-751,464) bridgeBurn
bridgeCheckCounterpartAddress
bridgeMint
bridgeRecoverFailedTransfer
getAssetId
getERC20Getters
initialize
receive
registerEthToken
registerToken
tokenAddress
transferFundsFromSharedBridge
updateChainBalancesFromSharedBridge
12,755 (+220)
674 (+60)
10,587 (+69)
5,293 (+54)
710 (+24)
4,723 (+77)
23,203 (+48)
121 (+12)
72,828 (+123)
507 (+54)
564 (+24)
8,945 (+70)
27,673 (+148)
+1.76%
+9.77%
+0.66%
+1.03%
+3.50%
+1.66%
+0.21%
+11.01%
+0.17%
+11.92%
+4.44%
+0.79%
+0.54%
85,475 (+853)
674 (+60)
29,672 (+179)
19,364 (+103)
710 (+24)
4,723 (+77)
54,435 (+114)
121 (+12)
77,852 (+156)
98,206 (+203)
1,623 (+24)
21,771 (+208)
27,673 (+148)
+1.01%
+9.77%
+0.61%
+0.53%
+3.50%
+1.66%
+0.21%
+11.01%
+0.20%
+0.21%
+1.50%
+0.96%
+0.54%
100,667 (+988)
674 (+60)
31,186 (+181)
22,425 (+62)
710 (+24)
4,723 (+77)
52,707 (+114)
121 (+12)
77,397 (+154)
100,158 (+202)
2,564 (+24)
20,744 (+142)
27,673 (+148)
+0.99%
+9.77%
+0.58%
+0.28%
+3.50%
+1.66%
+0.22%
+11.01%
+0.20%
+0.20%
+0.94%
+0.69%
+0.54%
100,667 (+988)
674 (+60)
34,863 (+275)
29,785 (+250)
710 (+24)
4,723 (+77)
72,607 (+114)
121 (+12)
84,528 (+190)
107,289 (+238)
2,564 (+24)
33,620 (+340)
27,673 (+148)
+0.99%
+9.77%
+0.80%
+0.85%
+3.50%
+1.66%
+0.16%
+11.01%
+0.23%
+0.22%
+0.94%
+1.02%
+0.54%
1,299 (0)
1 (0)
14 (0)
9 (0)
533 (0)
1 (0)
881 (0)
2 (0)
880 (0)
1,139 (0)
4,353 (0)
5 (0)
2 (0)
L1AssetRouter 3,239,955 (-888,345) acceptOwnership
assetHandlerAddress
bridgeRecoverFailedTransfer
bridgehubConfirmL2Transaction
bridgehubDeposit
bridgehubDepositBaseToken
depositLegacyErc20Bridge
finalizeDeposit
finalizeWithdrawal
initialize
legacyBridge
nativeTokenVault
owner
pause
paused
setAssetHandlerAddressThisChain
setL1Erc20Bridge
setNativeTokenVault
transferFundsToNTV
transferOwnership
unpause
45,392 (-11)
509 (-53)
16,807 (+261)
19,471 (-5)
16,489 (+136)
572 (+52)
10,276 (+188)
25,891 (+212)
26,129 (+326)
45,316 (+90)
414 (+35)
392 (+35)
2,431 (+35)
25,765 (+49)
415 (+22)
7,701 (+97)
4,740 (+76)
4,761 (+64)
1,281 (+88)
47,871 (+97)
8,664 (+49)
-0.02%
-9.43%
+1.58%
-0.03%
+0.83%
+10.00%
+1.86%
+0.83%
+1.26%
+0.20%
+9.23%
+9.80%
+1.46%
+0.19%
+5.60%
+1.28%
+1.63%
+1.36%
+7.38%
+0.20%
+0.57%
45,392 (-11)
509 (-53)
34,666 (+331)
34,150 (-9)
60,663 (+902)
58,155 (+743)
133,587 (+1,517)
48,267 (+327)
82,427 (+719)
72,218 (+129)
1,214 (+35)
892 (+35)
2,431 (+35)
25,765 (+49)
415 (+22)
39,348 (+97)
24,366 (+97)
66,566 (-47)
8,217 (+245)
47,871 (+97)
8,664 (+49)
-0.02%
-9.43%
+0.96%
-0.03%
+1.51%
+1.29%
+1.15%
+0.68%
+0.88%
+0.18%
+2.97%
+4.08%
+1.46%
+0.19%
+5.60%
+0.25%
+0.40%
-0.07%
+3.07%
+0.20%
+0.57%
45,392 (-11)
509 (-53)
36,852 (+308)
41,490 (-11)
58,513 (+942)
53,163 (+515)
195,216 (+2,187)
50,330 (+331)
99,253 (+799)
72,563 (+129)
414 (+35)
392 (+35)
2,431 (+35)
25,765 (+49)
415 (+22)
29,601 (+97)
24,868 (+97)
68,687 (-48)
7,929 (+320)
47,871 (+97)
8,664 (+49)
-0.02%
-9.43%
+0.84%
-0.03%
+1.64%
+0.98%
+1.13%
+0.66%
+0.81%
+0.18%
+9.23%
+9.80%
+1.46%
+0.19%
+5.60%
+0.33%
+0.39%
-0.07%
+4.21%
+0.20%
+0.57%
45,392 (-11)
509 (-53)
44,212 (+496)
41,490 (-11)
113,718 (+1,673)
90,906 (+1,255)
195,269 (+2,175)
54,007 (+425)
112,097 (+1,002)
72,563 (+129)
2,414 (+35)
2,392 (+35)
2,431 (+35)
25,765 (+49)
415 (+22)
49,501 (+97)
24,868 (+97)
68,687 (-48)
32,390 (+663)
47,871 (+97)
8,664 (+49)
-0.02%
-9.43%
+1.13%
-0.03%
+1.49%
+1.40%
+1.13%
+0.79%
+0.90%
+0.18%
+1.47%
+1.48%
+1.46%
+0.19%
+5.60%
+0.20%
+0.39%
-0.07%
+2.09%
+0.20%
+0.57%
68 (0)
512 (0)
9 (0)
3 (0)
12 (0)
9 (0)
3 (0)
14 (0)
20 (0)
79 (0)
5 (0)
4 (0)
68 (0)
2 (0)
3 (0)
157 (0)
80 (0)
848 (0)
19 (0)
68 (0)
1 (0)
DummyZKChain 2,950,245 (-603,704) getBridgeHubAddress
getEraChainId
setBaseTokenGasMultiplierPrice
setBridgeHubAddress
setFeeParams
411 (+34)
235 (-23)
43,907 (+19)
26,806 (+39)
66,393 (+39)
+9.02%
-8.91%
+0.04%
+0.15%
+0.06%
411 (+34)
235 (-23)
43,907 (+19)
26,806 (+39)
66,393 (+39)
+9.02%
-8.91%
+0.04%
+0.15%
+0.06%
411 (+34)
235 (-23)
43,907 (+19)
26,806 (+39)
66,393 (+39)
+9.02%
-8.91%
+0.04%
+0.15%
+0.06%
411 (+34)
235 (-23)
43,907 (+19)
26,806 (+39)
66,393 (+39)
+9.02%
-8.91%
+0.04%
+0.15%
+0.06%
768 (0)
1 (0)
768 (0)
1,536 (0)
768 (0)
AddressAliasHelperTest 110,827 (-11,264) applyL1ToL2Alias
undoL1ToL2Alias
364 (+24)
334 (+27)
+7.06%
+8.79%
364 (+24)
334 (+27)
+7.06%
+8.79%
364 (+24)
334 (+27)
+7.06%
+8.79%
364 (+24)
334 (+27)
+7.06%
+8.79%
2 (0)
2 (0)
IncrementalMerkleTest 340,244 (-25,149) height
index
push
root
side
zeros
401 (-23)
278 (-23)
48,257 (+44)
697 (+44)
588 (-23)
632 (+44)
-5.42%
-7.64%
+0.09%
+6.74%
-3.76%
+7.48%
801 (-23)
678 (-23)
72,957 (+44)
1,197 (+44)
588 (-23)
632 (+44)
-2.79%
-3.28%
+0.06%
+3.82%
-3.76%
+7.48%
401 (-23)
278 (-23)
77,318 (+44)
697 (+44)
588 (-23)
632 (+44)
-5.42%
-7.64%
+0.06%
+6.74%
-3.76%
+7.48%
2,401 (-23)
2,278 (-23)
111,222 (+44)
2,697 (+44)
588 (-23)
632 (+44)
-0.95%
-1.00%
+0.04%
+1.66%
-3.76%
+7.48%
5 (0)
5 (0)
8 (0)
4 (0)
2 (0)
6 (0)
DiamondCutTestContract 1,826,396 (-603,228) diamondCut
facetAddresses
23,669 (+16)
1,050 (+100)
+0.07%
+10.53%
204,897 (+1,546)
1,601 (+106)
+0.76%
+7.09%
45,131 (+481)
1,324 (+124)
+1.08%
+10.33%
1,448,030 (+10,597)
2,707 (+76)
+0.74%
+2.89%
20 (0)
4 (0)
MailboxFacet 2,743,534 (-543,878) bridgehubRequestL2Transaction
finalizeEthWithdrawal
l2TransactionBaseCost
proveL1ToL2TransactionStatus
proveL2LogInclusion
proveL2MessageInclusion
requestL2Transaction
2,527 (+7)
8,251 (+150)
3,012 (+25)
3,430 (+58)
1,708 (+134)
4,198 (+164)
3,249 (+110)
+0.28%
+1.85%
+0.84%
+1.72%
+8.51%
+4.07%
+3.50%
76,386 (+438)
52,315 (+3,357)
4,395 (+49)
4,398 (+58)
3,374 (+138)
5,235 (+166)
101,596 (+2,490)
+0.58%
+6.86%
+1.13%
+1.34%
+4.26%
+3.27%
+2.51%
119,593 (+604)
52,735 (+3,245)
4,398 (+49)
4,398 (+58)
3,701 (+140)
5,118 (+167)
139,015 (+3,689)
+0.51%
+6.56%
+1.13%
+1.34%
+3.93%
+3.37%
+2.73%
123,979 (+676)
52,735 (+3,245)
4,398 (+49)
5,367 (+58)
5,681 (+140)
6,540 (+170)
163,466 (+3,691)
+0.55%
+6.56%
+1.13%
+1.09%
+2.53%
+2.67%
+2.31%
5 (0)
257 (0)
516 (0)
2 (0)
6 (0)
6 (0)
771 (0)
L1Nullifier 2,580,084 (-744,933) bridgeRecoverFailedTransfer
bridgehubConfirmL2TransactionForwarded
chainBalance
claimFailedDeposit
depositHappened
encodeTxDataHash
finalizeDeposit
initialize
l2BridgeAddress
nullifyChainBalanceByNTV
owner
setL1AssetRouter
setL1Erc20Bridge
setL1NativeTokenVault
transferTokenToNTV
14,140 (+115)
6,920 (-4)
740 (+2)
16,899 (+116)
641 (+66)
2,055 (+175)
10,085 (+70)
141,202 (+107)
2,510 (+24)
2,624 (+14)
431 (+91)
24,846 (+75)
24,869 (+75)
24,845 (+53)
2,550 (+8)
+0.82%
-0.06%
+0.27%
+0.69%
+11.48%
+9.31%
+0.70%
+0.08%
+0.97%
+0.54%
+26.76%
+0.30%
+0.30%
+0.21%
+0.31%
60,635 (+580)
24,532 (-9)
1,244 (+2)
60,737 (+669)
1,056 (+66)
3,405 (+175)
69,784 (+483)
141,202 (+107)
2,510 (+24)
4,589 (+14)
1,431 (+91)
45,576 (+75)
24,869 (+75)
45,571 (+53)
9,478 (+93)
+0.97%
-0.04%
+0.16%
+1.11%
+6.67%
+5.42%
+0.70%
+0.08%
+0.97%
+0.31%
+6.79%
+0.16%
+0.30%
+0.12%
+0.99%
73,408 (+711)
28,936 (-10)
740 (+2)
68,946 (+726)
641 (+66)
2,055 (+175)
86,939 (+558)
141,202 (+107)
2,510 (+24)
5,572 (+14)
1,431 (+91)
46,278 (+75)
24,869 (+75)
46,277 (+53)
9,918 (+41)
+0.98%
-0.03%
+0.27%
+1.06%
+11.48%
+9.31%
+0.65%
+0.08%
+0.97%
+0.25%
+6.79%
+0.16%
+0.30%
+0.11%
+0.42%
81,584 (+780)
28,936 (-10)
2,740 (+2)
85,337 (+937)
2,641 (+66)
6,555 (+175)
108,927 (+759)
141,202 (+107)
2,510 (+24)
5,572 (+14)
2,431 (+91)
46,278 (+75)
24,869 (+75)
46,277 (+53)
17,190 (+202)
+0.97%
-0.03%
+0.07%
+1.11%
+2.56%
+2.74%
+0.70%
+0.08%
+0.97%
+0.25%
+3.89%
+0.16%
+0.30%
+0.11%
+1.19%
4 (0)
5 (0)
626 (0)
8 (0)
53 (0)
10 (0)
22 (0)
78 (0)
20 (0)
3 (0)
4,608 (0)
2,382 (0)
78 (0)
2,382 (0)
6 (0)
Governance 987,184 (-231,035) cancel
execute
executeInstant
getOperationState
hashOperation
isOperation
isOperationDone
isOperationPending
isOperationReady
minDelay
owner
scheduleShadow
scheduleTransparent
securityCouncil
updateDelay
updateSecurityCouncil
23,719 (-5)
27,429 (+52)
25,251 (+40)
574 (-23)
1,560 (+16)
685 (+22)
650 (+22)
648 (-23)
595 (-23)
360 (-23)
396 (+46)
23,893 (+40)
25,479 (+40)
382 (+1)
21,536 (-17)
21,671 (+62)
-0.02%
+0.19%
+0.16%
-3.85%
+1.04%
+3.32%
+3.50%
-3.43%
-3.72%
-6.01%
+13.14%
+0.17%
+0.16%
+0.26%
-0.08%
+0.29%
25,327 (-9)
37,903 (+126)
41,662 (+147)
1,080 (-23)
1,588 (+16)
1,191 (+22)
903 (+22)
1,157 (-23)
1,101 (-23)
1,026 (-23)
896 (+46)
46,743 (+35)
53,547 (+106)
953 (+1)
21,536 (-17)
21,671 (+62)
-0.04%
+0.33%
+0.35%
-2.09%
+1.02%
+1.88%
+2.50%
-1.95%
-2.05%
-2.19%
+5.41%
+0.07%
+0.20%
+0.11%
-0.08%
+0.29%
25,754 (-11)
39,322 (+136)
39,331 (+136)
599 (-23)
1,560 (+16)
710 (+22)
650 (+22)
673 (-23)
620 (-23)
360 (-23)
396 (+46)
50,288 (+34)
56,207 (+112)
382 (+1)
21,536 (-17)
21,671 (+62)
-0.04%
+0.35%
+0.35%
-3.70%
+1.04%
+3.20%
+3.50%
-3.30%
-3.58%
-6.01%
+13.14%
+0.07%
+0.20%
+0.26%
-0.08%
+0.29%
26,042 (-5)
58,878 (+89)
59,915 (+192)
2,550 (-23)
1,754 (+16)
2,661 (+22)
2,626 (+22)
2,636 (-23)
2,571 (-23)
2,360 (-23)
2,396 (+46)
50,300 (+34)
63,412 (+112)
2,382 (+1)
21,536 (-17)
21,671 (+62)
-0.02%
+0.15%
+0.32%
-0.89%
+0.92%
+0.83%
+0.84%
-0.86%
-0.89%
-0.97%
+1.96%
+0.07%
+0.18%
+0.04%
-0.08%
+0.29%
5 (0)
28 (0)
8 (0)
4 (0)
16 (0)
4 (0)
8 (0)
4 (0)
4 (0)
6 (0)
24 (0)
15 (0)
35 (0)
14 (0)
3 (0)
3 (0)
DiamondInit 439,771 (-185,293) initialize 22,599 (+30) +0.13% 376,425 (-21,399) -5.38% 378,218 (-22,039) -5.51% 398,118 (-22,039) -5.25% 138 (0)
PermanentRestriction 1,543,705 (-455,050) allowAdminImplementation
allowL2Admin
initialize
setAllowedData
setSelectorIsValidated
tryCompareAdminOfAChain
tryGetNewAdminFromMigration
validateCall
26,188 (-8)
24,206 (+61)
23,056 (+13)
26,818 (+56)
26,275 (+22)
495 (+42)
877 (+100)
786 (+64)
-0.03%
+0.25%
+0.06%
+0.21%
+0.08%
+9.27%
+12.87%
+8.86%
26,188 (-8)
24,206 (+61)
49,213 (+51)
27,260 (+56)
26,275 (+22)
16,869 (+201)
5,705 (+284)
25,828 (+611)
-0.03%
+0.25%
+0.10%
+0.21%
+0.08%
+1.21%
+5.24%
+2.42%
26,188 (-8)
24,206 (+61)
50,303 (+52)
27,089 (+56)
26,275 (+22)
24,832 (+253)
3,660 (+243)
30,689 (+519)
-0.03%
+0.25%
+0.10%
+0.21%
+0.08%
+1.03%
+7.11%
+1.72%
26,188 (-8)
24,206 (+61)
50,303 (+52)
27,902 (+56)
26,275 (+22)
24,832 (+253)
12,744 (+565)
32,463 (+670)
-0.03%
+0.25%
+0.10%
+0.20%
+0.08%
+1.03%
+4.64%
+2.11%
258 (0)
1 (0)
25 (0)
257 (0)
258 (0)
13 (0)
12 (0)
10 (0)
AccessControlRestriction 1,329,794 (-429,909) grantRole
setRequiredRoleForCall
setRequiredRoleForFallback
validateCall
51,166 (+130)
48,687 (+82)
48,037 (+97)
1,382 (+121)
+0.25%
+0.17%
+0.20%
+9.60%
51,394 (+118)
49,922 (+496)
49,376 (+530)
3,287 (+158)
+0.23%
+1.00%
+1.09%
+5.05%
51,538 (+130)
49,059 (+82)
48,409 (+97)
3,658 (+151)
+0.25%
+0.17%
+0.20%
+4.31%
51,538 (+130)
54,114 (+2,237)
53,925 (+2,267)
6,205 (+202)
+0.25%
+4.31%
+4.39%
+3.36%
1,024 (0)
1,280 (0)
1,280 (0)
2,051 (0)
TransactionFiltererFalse 145,823 (-14,392) isTransactionAllowed 908 (+39) +4.49% 908 (+39) +4.49% 908 (+39) +4.49% 908 (+39) +4.49% 1 (0)
TransactionFiltererTrue 146,027 (-14,404) isTransactionAllowed 909 (+39) +4.48% 909 (+39) +4.48% 909 (+39) +4.48% 909 (+39) +4.48% 1 (0)
PriorityTreeTest 908,858 (-90,057) getSize
getTotalPriorityTxs
getZero
initFromCommitment
processBatch
push
629 (+22)
557 (-23)
494 (-23)
54,076 (+6)
23,693 (+31)
90,782 (+25)
+3.62%
-3.97%
-4.45%
+0.01%
+0.13%
+0.03%
2,629 (+22)
557 (-23)
494 (-23)
54,076 (+6)
37,406 (+34)
104,732 (+25)
+0.84%
-3.97%
-4.45%
+0.01%
+0.09%
+0.02%
2,629 (+22)
557 (-23)
494 (-23)
54,076 (+6)
36,291 (+37)
109,081 (+25)
+0.84%
-3.97%
-4.45%
+0.01%
+0.10%
+0.02%
4,629 (+22)
557 (-23)
494 (-23)
54,076 (+6)
53,350 (+31)
116,735 (+25)
+0.48%
-3.97%
-4.45%
+0.01%
+0.06%
+0.02%
3 (0)
4 (0)
1 (0)
1 (0)
4 (0)
14 (0)
VerifierRecursiveTest 2,392,983 (-1,379,867) verificationKeyHash
verify
1,011 (+12)
7,698 (+3,422)
+1.20%
+80.03%
1,011 (+12)
143,329 (+5,807)
+1.20%
+4.22%
1,011 (+12)
7,698 (+3,422)
+1.20%
+80.03%
1,011 (+12)
383,648 (+9,642)
+1.20%
+2.58%
1 (0)
14 (0)
VerifierTest 2,392,791 (-1,379,627) verificationKeyHash
verify
1,010 (+12)
7,004 (+3,038)
+1.20%
+76.60%
1,010 (+12)
140,701 (+5,497)
+1.20%
+4.07%
1,010 (+12)
7,004 (+3,038)
+1.20%
+76.60%
1,010 (+12)
369,850 (+9,220)
+1.20%
+2.56%
1 (0)
11 (0)
ReenterL1ERC20Bridge 321,813 (-84,779) l2BridgeAddress
setBridge
setFunctionToCall
3,626 (+187)
43,853 (+39)
26,511 (+15)
+5.44%
+0.09%
+0.06%
4,180 (+141)
43,853 (+39)
26,511 (+15)
+3.49%
+0.09%
+0.06%
4,171 (+146)
43,853 (+39)
26,511 (+15)
+3.63%
+0.09%
+0.06%
4,752 (+83)
43,853 (+39)
26,511 (+15)
+1.78%
+0.09%
+0.06%
4 (0)
31 (0)
16 (0)
AdminFacet 3,414,210 (-1,183,933) acceptAdmin
changeFeeParams
executeUpgrade
freezeDiamond
genesisUpgrade
setDAValidatorPair
setPendingAdmin
setPorterAvailability
setPriorityTxMaxGasLimit
setTokenMultiplier
setTransactionFilterer
setValidator
unfreezeDiamond
upgradeChainFromVersion
2,369 (-5)
4,694 (+52)
2,576 (+7)
2,398 (-5)
125,221 (-633)
50,315 (+133)
2,555 (+7)
2,588 (+40)
2,492 (+40)
28,867 (+55)
2,622 (+52)
2,623 (+7)
2,399 (-5)
4,847 (+64)
-0.21%
+1.12%
+0.27%
-0.21%
-0.50%
+0.27%
+0.27%
+1.57%
+1.63%
+0.19%
+2.02%
+0.27%
-0.21%
+1.34%
6,537 (+18)
9,032 (+96)
316,380 (+10,361)
10,822 (+13)
125,443 (-411)
50,315 (+133)
14,372 (+17)
12,307 (+38)
4,601 (+38)
28,867 (+55)
12,570 (+66)
12,656 (+13)
2,487 (+17)
10,668 (+165)
+0.28%
+1.07%
+3.39%
+0.12%
-0.33%
+0.27%
+0.12%
+0.31%
+0.83%
+0.19%
+0.53%
+0.10%
+0.69%
+1.57%
6,537 (+18)
5,023 (+52)
503,324 (+17,151)
2,533 (+27)
125,221 (-633)
50,315 (+133)
14,372 (+17)
8,617 (+37)
2,495 (+40)
28,867 (+55)
8,994 (+73)
9,123 (+16)
2,531 (+27)
9,906 (+137)
+0.28%
+1.05%
+3.53%
+1.08%
-0.50%
+0.27%
+0.12%
+0.43%
+1.63%
+0.19%
+0.82%
+0.18%
+1.08%
+1.40%
10,705 (+40)
17,379 (+184)
503,374 (+17,151)
23,391 (+24)
127,221 (+1,367)
50,315 (+133)
26,190 (+28)
25,717 (+37)
8,816 (+34)
28,867 (+55)
26,094 (+73)
26,223 (+16)
2,531 (+27)
18,013 (+321)
+0.38%
+1.07%
+3.53%
+0.10%
+1.09%
+0.27%
+0.11%
+0.14%
+0.39%
+0.19%
+0.28%
+0.06%
+1.08%
+1.81%
2 (0)
3 (0)
5 (0)
5 (0)
27 (0)
33 (0)
2 (0)
3 (0)
3 (0)
32 (0)
3 (0)
3 (0)
3 (0)
4 (0)
TestnetERC20Token 640,427 (-159,956) allowance
approve
balanceOf
decimals
mint
name
symbol
transfer
845 (+92)
24,272 (+25)
0 (0)
2,377 (+44)
34,031 (+13)
3,174 (-20)
3,217 (-20)
46,377 (+104)
+12.22%
+0.10%
+∞%
+1.89%
+0.04%
-0.63%
-0.62%
+0.22%
2,841 (+92)
46,257 (+15)
576 (+1)
2,377 (+44)
61,797 (+4)
3,174 (-20)
3,217 (-20)
46,727 (+96)
+3.35%
+0.03%
+0.17%
+1.89%
+0.01%
-0.63%
-0.62%
+0.21%
2,845 (+92)
46,220 (+13)
559 (+1)
2,377 (+44)
68,255 (+13)
3,174 (-20)
3,217 (-20)
46,653 (+68)
+3.34%
+0.03%
+0.18%
+1.89%
+0.02%
-0.63%
-0.62%
+0.15%
2,845 (+92)
46,568 (+25)
2,559 (+1)
2,377 (+44)
68,615 (+13)
3,174 (-20)
3,217 (-20)
46,977 (+104)
+3.34%
+0.05%
+0.04%
+1.89%
+0.02%
-0.63%
-0.62%
+0.22%
2,081 (0)
1,527 (0)
2,354 (0)
1,032 (0)
1,704 (0)
1,032 (0)
1,032 (0)
257 (0)
DummyChainTypeManagerWBH 3,848,191 (-728,588) owner
setZKChain
2,463 (+79)
44,101 (+16)
+3.31%
+0.04%
2,463 (+79)
44,141 (+18)
+3.31%
+0.04%
2,463 (+79)
44,161 (+28)
+3.31%
+0.06%
2,463 (+79)
44,161 (+16)
+3.31%
+0.04%
256 (0)
256 (0)
L1ERC20Bridge 1,183,628 (-246,883) claimFailedDeposit
deposit(address,address,uint256,uint256,uint256)
deposit(address,address,uint256,uint256,uint256,address)
depositAmount
finalizeWithdrawal
initialize
l2Bridge
l2TokenAddress
l2TokenBeacon
30,958 (+106)
27,875 (+94)
28,071 (+106)
771 (+24)
30,238 (+70)
23,619 (+38)
403 (+24)
1,272 (+36)
403 (+24)
+0.34%
+0.34%
+0.38%
+3.21%
+0.23%
+0.16%
+6.33%
+2.91%
+6.33%
39,375 (+253)
63,248 (+392)
72,312 (+492)
1,297 (+24)
35,178 (+184)
23,619 (+38)
903 (+24)
1,272 (+36)
903 (+24)
+0.65%
+0.62%
+0.69%
+1.89%
+0.53%
+0.16%
+2.73%
+2.91%
+2.73%
41,097 (+332)
77,822 (+620)
78,478 (+594)
771 (+24)
36,767 (+260)
23,619 (+38)
403 (+24)
1,272 (+36)
403 (+24)
+0.81%
+0.80%
+0.76%
+3.21%
+0.71%
+0.16%
+6.33%
+2.91%
+6.33%
42,052 (+233)
94,793 (+470)
91,853 (+492)
2,771 (+24)
37,808 (+159)
23,619 (+38)
2,403 (+24)
1,272 (+36)
2,403 (+24)
+0.56%
+0.50%
+0.54%
+0.87%
+0.42%
+0.16%
+1.01%
+2.91%
+1.01%
5 (0)
12 (0)
6 (0)
19 (0)
6 (0)
1 (0)
4 (0)
1 (0)
4 (0)
FullMerkleTest 796,169 (-55,597) height
index
node
nodeCount
pushNewLeaf
root
updateAllLeaves
updateAllNodesAtHeight
updateLeaf
zeros
268 (-23)
302 (-23)
859 (+22)
592 (-23)
55,989 (-23)
874 (+22)
25,983 (+37)
34,410 (+25)
24,405 (+34)
610 (+22)
-7.90%
-7.08%
+2.63%
-3.74%
-0.04%
+2.58%
+0.14%
+0.07%
+0.14%
+3.74%
768 (-23)
802 (-23)
859 (+22)
1,592 (-23)
114,052 (-23)
2,874 (+22)
47,357 (+28)
44,218 (+25)
35,335 (+28)
1,610 (+22)
-2.91%
-2.79%
+2.63%
-1.42%
-0.02%
+0.77%
+0.06%
+0.06%
+0.08%
+1.39%
268 (-23)
302 (-23)
859 (+22)
592 (-23)
161,121 (-23)
874 (+22)
43,754 (+25)
49,116 (+25)
35,335 (+28)
610 (+22)
-7.90%
-7.08%
+2.63%
-3.74%
-0.01%
+2.58%
+0.06%
+0.05%
+0.08%
+3.74%
2,268 (-23)
2,302 (-23)
859 (+22)
4,592 (-23)
175,278 (-23)
8,874 (+22)
75,940 (+25)
49,128 (+25)
46,266 (+22)
4,610 (+22)
-1.00%
-0.99%
+2.63%
-0.50%
-0.01%
+0.25%
+0.03%
+0.05%
+0.05%
+0.48%
4 (0)
4 (0)
35 (0)
4 (0)
32 (0)
4 (0)
4 (0)
3 (0)
2 (0)
8 (0)
MessageRoot 1,394,108 (-114,591) addChainBatchRoot
addNewChain
chainRegistered
getAggregatedRoot
getChainRoot
updateFullTree
27,646 (+110)
21,837 (+1)
489 (-23)
955 (-23)
783 (-23)
57,460 (-23)
+0.40%
+0.00%
-4.49%
-2.35%
-2.85%
-0.04%
77,616 (+102)
218,081 (-8)
1,489 (-23)
5,955 (-23)
783 (-23)
57,460 (-23)
+0.13%
-0.00%
-1.52%
-0.38%
-2.85%
-0.04%
102,601 (+98)
283,496 (-11)
1,489 (-23)
5,955 (-23)
783 (-23)
57,460 (-23)
+0.10%
-0.00%
-1.52%
-0.38%
-2.85%
-0.04%
102,601 (+98)
283,496 (-11)
2,489 (-23)
10,955 (-23)
783 (-23)
57,460 (-23)
+0.10%
-0.00%
-0.92%
-0.21%
-2.85%
-0.04%
3 (0)
4 (0)
6 (0)
2 (0)
1 (0)
1 (0)
TestExecutorFacet 2,833,330 (-749,715) createBatchCommitment
getBatchProofPublicInput
processL2Logs
20,032 (+213)
595 (+3)
10,518 (+282)
+1.07%
+0.51%
+2.75%
20,032 (+213)
595 (+3)
10,518 (+282)
+1.07%
+0.51%
+2.75%
20,032 (+213)
595 (+3)
10,518 (+282)
+1.07%
+0.51%
+2.75%
20,032 (+213)
595 (+3)
10,518 (+282)
+1.07%
+0.51%
+2.75%
1 (0)
1 (0)
1 (0)
TestBaseFacet 169,019 (-50,669) functionWithOnlyAdminModifier
functionWithOnlyAdminOrChainTypeManagerModifier
functionWithOnlyBridgehubModifier
functionWithOnlyChainTypeManagerModifier
functionWithOnlyValidatorModifier
2,283 (-11)
2,375 (+56)
2,305 (-11)
2,327 (+56)
2,421 (+44)
-0.48%
+2.41%
-0.47%
+2.47%
+1.85%
2,318 (-8)
4,003 (+68)
2,340 (-8)
2,362 (+59)
2,456 (+47)
-0.34%
+1.73%
-0.34%
+2.56%
+1.95%
2,318 (-8)
4,534 (+71)
2,340 (-8)
2,362 (+59)
2,456 (+47)
-0.34%
+1.59%
-0.34%
+2.56%
+1.95%
2,353 (-5)
4,569 (+74)
2,375 (-5)
2,397 (+62)
2,491 (+50)
-0.21%
+1.65%
-0.21%
+2.66%
+2.05%
2 (0)
4 (0)
2 (0)
2 (0)
2 (0)
ValidatorTimelock 785,851 (-201,950) addValidator
chainTypeManager
commitBatchesSharedBridge
executeBatchesSharedBridge
executionDelay
proveBatchesSharedBridge
removeValidator
revertBatchesSharedBridge
setChainTypeManager
setExecutionDelay
validators
29,511 (+73)
425 (+24)
30,416 (+6)
26,651 (-17)
379 (+22)
28,081 (-17)
29,533 (+73)
23,922 (+6)
24,057 (+30)
23,831 (+40)
736 (+34)
+0.25%
+5.99%
+0.02%
-0.06%
+6.16%
-0.06%
+0.25%
+0.03%
+0.12%
+0.17%
+4.84%
52,537 (+94)
1,425 (+24)
57,657 (+64)
33,067 (+6)
1,379 (+22)
33,248 (+18)
30,973 (+84)
27,313 (+30)
44,591 (+61)
26,829 (+38)
1,736 (+34)
+0.18%
+1.71%
+0.11%
+0.02%
+1.62%
+0.05%
+0.27%
+0.11%
+0.14%
+0.14%
+2.00%
53,449 (+94)
1,425 (+24)
63,104 (+76)
31,154 (-17)
1,379 (+22)
33,248 (+18)
31,573 (+94)
23,934 (+6)
46,160 (+63)
26,829 (+38)
1,736 (+34)
+0.18%
+1.71%
+0.12%
-0.05%
+1.62%
+0.05%
+0.30%
+0.03%
+0.14%
+0.14%
+2.00%
53,449 (+94)
2,425 (+24)
63,116 (+76)
41,397 (+53)
2,379 (+22)
38,415 (+53)
31,815 (+85)
34,083 (+76)
46,160 (+63)
29,828 (+37)
2,736 (+34)
+0.18%
+1.00%
+0.12%
+0.13%
+0.93%
+0.14%
+0.27%
+0.22%
+0.14%
+0.12%
+1.26%
50 (0)
2 (0)
6 (0)
3 (0)
2 (0)
2 (0)
3 (0)
3 (0)
25 (0)
2 (0)
10 (0)
UnsafeBytesTest 170,663 (-14,386) readAddress
readBytes32
readUint256
readUint32
799 (+15)
734 (+3)
756 (+3)
710 (+3)
+1.91%
+0.41%
+0.40%
+0.42%
799 (+15)
734 (+3)
756 (+3)
710 (+3)
+1.91%
+0.41%
+0.40%
+0.42%
799 (+15)
734 (+3)
756 (+3)
710 (+3)
+1.91%
+0.41%
+0.40%
+0.42%
799 (+15)
734 (+3)
756 (+3)
710 (+3)
+1.91%
+0.41%
+0.40%
+0.42%
4 (0)
1 (0)
1 (0)
2 (0)
DummyChainTypeManagerForValidatorTimelock 187,067 (-27,908) getChainAdmin
getZKChain
2,376 (+1)
2,465 (+46)
+0.04%
+1.90%
2,376 (+1)
2,465 (+46)
+0.04%
+1.90%
2,376 (+1)
2,465 (+46)
+0.04%
+1.90%
2,376 (+1)
2,465 (+46)
+0.04%
+1.90%
53 (0)
8 (0)
DummySharedBridge 1,306,270 (-287,874) assetHandlerAddress
chainBalance
pause
setNativeTokenVault
531 (+24)
658 (+12)
44,686 (+37)
44,092 (+63)
+4.73%
+1.86%
+0.08%
+0.14%
1,864 (+24)
658 (+12)
44,686 (+37)
44,092 (+63)
+1.30%
+1.86%
+0.08%
+0.14%
2,531 (+24)
658 (+12)
44,686 (+37)
44,092 (+63)
+0.96%
+1.86%
+0.08%
+0.14%
2,531 (+24)
658 (+12)
44,686 (+37)
44,092 (+63)
+0.96%
+1.86%
+0.08%
+0.14%
1,536 (0)
256 (0)
256 (0)
68 (0)
TestExecutor 2,744,682 (-728,043) commitBatchesSharedBridge
executeBatchesSharedBridge
proveBatchesSharedBridge
setPriorityTreeStartIndex
7,873 (+59)
7,917 (+126)
7,939 (+126)
22,354 (+44)
+0.76%
+1.62%
+1.61%
+0.20%
32,669 (+479)
7,917 (+126)
7,939 (+126)
22,354 (+44)
+1.49%
+1.62%
+1.61%
+0.20%
32,724 (+500)
7,917 (+126)
7,939 (+126)
22,354 (+44)
+1.55%
+1.62%
+1.61%
+0.20%
47,347 (+559)
7,917 (+126)
7,939 (+126)
22,354 (+44)
+1.19%
+1.62%
+1.61%
+0.20%
23 (0)
1 (0)
1 (0)
1 (0)
L1GenesisUpgrade 2,678,069 (-779,276) genesisUpgrade
upgrade
113,912 (-806)
59,937 (+838)
-0.70%
+1.42%
114,134 (-584)
59,937 (+838)
-0.51%
+1.42%
113,912 (-806)
59,937 (+838)
-0.70%
+1.42%
115,912 (+1,194)
59,937 (+838)
+1.04%
+1.42%
27 (0)
27 (0)
ChainAdmin 784,876 (-124,971) addRestriction
getRestrictions
isRestrictionActive
multicall
removeRestriction
setUpgradeTimestamp
24,203 (+42)
5,084 (+12)
609 (+24)
27,054 (+6)
24,162 (+42)
25,361 (0)
+0.17%
+0.24%
+4.10%
+0.02%
+0.17%
0.00%
64,588 (+37)
5,084 (+12)
1,942 (+24)
43,395 (+233)
28,665 (+33)
45,169 (+4)
+0.06%
+0.24%
+1.25%
+0.54%
+0.12%
+0.01%
72,666 (+36)
5,084 (+12)
2,609 (+24)
43,735 (+250)
30,917 (+29)
45,321 (0)
+0.05%
+0.24%
+0.93%
+0.57%
+0.09%
0.00%
72,666 (+36)
5,084 (+12)
2,609 (+24)
64,760 (+530)
30,917 (+29)
45,645 (0)
+0.05%
+0.24%
+0.93%
+0.83%
+0.09%
0.00%
6 (0)
4 (0)
3 (0)
515 (0)
3 (0)
256 (0)
TestCalldataDA 482,724 (-90,134) processCalldataDA
processL2RollupDAValidatorOutputHash
682 (+6)
637 (+12)
+0.89%
+1.92%
693 (+6)
1,633 (+9)
+0.87%
+0.55%
682 (+6)
1,467 (+12)
+0.89%
+0.82%
2,495 (+7)
2,802 (+7)
+0.28%
+0.25%
260 (0)
5 (0)
DefaultUpgrade 1,332,833 (-338,403) upgrade 29,017 (+144) +0.50% 29,017 (+144) +0.50% 29,017 (+144) +0.50% 29,017 (+144) +0.50% 1 (0)
PriorityQueueTest 287,033 (-41,635) front
popFront
pushBack
4,646 (+6)
25,666 (+6)
69,009 (+30)
+0.13%
+0.02%
+0.04%
4,967 (+18)
32,878 (+22)
71,558 (+30)
+0.36%
+0.07%
+0.04%
4,967 (+18)
31,322 (+24)
71,833 (+30)
+0.36%
+0.08%
+0.04%
5,288 (+30)
48,652 (+30)
71,857 (+30)
+0.57%
+0.06%
+0.04%
2 (0)
15 (0)
31 (0)
DummyBridgehub 194,899 (-7,592) setMessageRoot 43,933 (+61) +0.14% 43,933 (+61) +0.14% 43,933 (+61) +0.14% 43,933 (+61) +0.14% 32 (0)
RelayedSLDAValidator 631,088 (-137,144) checkDA 27,723 (+36) +0.13% 31,398 (+43) +0.14% 29,802 (+42) +0.14% 38,265 (+51) +0.13% 4 (0)
ReenterGovernance 599,571 (-147,759) initialize 100,764 (+92) +0.09% 100,764 (+92) +0.09% 100,764 (+92) +0.09% 100,764 (+92) +0.09% 4 (0)
MerkleTreeNoSort 534,636 (-48,478) getProof
getRoot
2,594 (-14)
1,526 (-20)
-0.54%
-1.29%
32,741 (-13)
23,818 (-20)
-0.04%
-0.08%
33,193 (-14)
30,188 (-20)
-0.04%
-0.07%
33,215 (-14)
30,188 (-20)
-0.04%
-0.07%
277 (0)
18 (0)
FeeOnTransferToken 654,657 (-159,942) approve
mint
46,196 (+25)
68,615 (+13)
+0.05%
+0.02%
46,196 (+25)
68,615 (+13)
+0.05%
+0.02%
46,196 (+25)
68,615 (+13)
+0.05%
+0.02%
46,196 (+25)
68,615 (+13)
+0.05%
+0.02%
2 (0)
31 (0)
MerkleTest 463,574 (-56,430) calculateRoot(bytes32[],bytes32[],uint256,bytes32[])
calculateRoot(bytes32[],uint256,bytes32)
1,601 (+6)
571 (+6)
+0.38%
+1.06%
5,734 (+3)
2,929 (-1)
+0.05%
-0.03%
1,859 (+3)
2,982 (0)
+0.16%
0.00%
13,520 (0)
3,026 (0)
0.00%
0.00%
8 (0)
265 (0)
ReturnSomething 67,058 (-12)
RevertFallback 66,842 (-12)
DummyChainTypeManager 3,846,441 (-728,590)

Copy link

Coverage after merging sb-test-sync-layer-stable-upgrade into kl/sync-layer-reorg will be

85.55%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
../da-contracts/contracts
   RollupL1DAValidator.sol64.94%37.50%83.33%70.91%145, 148, 148, 148, 150, 183–184, 187–188, 27, 27–28, 30, 30–31, 34, 36–37, 41–42, 65, 67, 67, 67–68, 70
contracts/bridge
   BridgeHelper.sol93.33%50%100%100%22
   BridgedStandardERC20.sol73.33%25%92.31%75.93%107–108, 113–114, 126–127, 151–152, 193, 193, 200, 200, 207, 207, 218, 54–55, 81–82
   L1ERC20Bridge.sol93.18%80%100%93.75%188–189, 264
   L1Nullifier.sol77.73%60%80%83.57%117–118, 133, 133–134, 141, 141–142, 149, 149–150, 179–180, 239–240, 242–243, 252–253, 261–262, 264, 430, 432–433, 433, 433, 435–436, 436, 436, 461–462, 483–484, 523, 617, 703, 705, 707, 720, 734, 739
contracts/bridge/asset-router
   AssetRouterBase.sol83.78%40%100%88%138–139, 57–58, 85–86
   L1AssetRouter.sol90.32%72%92.31%94.23%204–205, 241, 250, 252, 255, 57, 576, 58, 73–74, 81–82
contracts/bridge/ntv
   L1NativeTokenVault.sol94.90%90.91%92.86%96.77%135, 227, 227–228
   NativeTokenVault.sol89.12%72.73%90.48%92.31%192, 194, 212–213, 220–221, 380, 382, 394–395, 447, 452, 64–65
contracts/bridgehub
   Bridgehub.sol79.65%48.48%91.49%86.28%111, 111–112, 118–119, 126–127, 133–134, 140, 140–141, 170, 185–186, 232–233, 233, 233–234, 241–242, 244–245, 248–249, 259–260, 274–275, 324–325, 327–328, 384–385, 400–401, 431–432, 515–516, 597, 696, 699–700, 704–705, 738–739, 752, 795–796, 798–799, 801–802, 836–837, 840–841, 843–844, 879, 884
   CTMDeploymentTracker.sol79.07%50%90%94.74%115, 119, 34, 41, 64, 91, 94, 96
   MessageRoot.sol91.07%63.64%100%96.97%116–117, 148, 69, 87
contracts/common
   ReentrancyGuard.sol90%66.67%100%92.86%78–79
contracts/common/libraries
   DataEncoding.sol71.43%37.50%100%75%108, 112, 119, 129, 129–131, 134, 75, 83
   DynamicIncrementalMerkle.sol74.42%100%80%72.22%67–70, 72–74, 76–78
   FullMerkle.sol100%100%100%100%
   L2ContractHelper.sol50%0%50%60%100, 100–101, 109, 56, 68–69, 74–75, 78–79, 93, 95, 95–96
   Merkle.sol96.61%90.91%100%97.67%80–81
   MessageHashing.sol100%100%100%100%
   SemVer.sol100%100%100%100%
   SystemContractsCaller.sol0%0%0%0%114, 122–125, 135–138, 138–139, 141, 141–142, 33, 33–34, 37, 45, 47, 49, 51, 53, 66, 66, 66, 69, 72, 75, 78, 89, 91, 93, 96, 98
   UncheckedMath.sol100%100%100%100%
   UnsafeBytes.sol84.21%100%83.33%84.62%35–36
contracts/governance
   AccessControlRestriction.sol100%100%100%100%
   ChainAdmin.sol95.12%80%100%96.15%27–28
   Governance.sol98.15%94.74%100%98.55%45–46
   L2ProxyAdminDeployer.sol0%100%0%0%17–18, 20
   PermanentRestriction.sol89.43%82.61%100%89.41%110, 110–111, 138, 201, 201–202, 205, 207, 207–208, 248–249
   TransitionaryOwner.sol0%100%0%0%17, 22–23
contracts/state-transition
   ChainTypeManager.sol70.37%33.33%65.71%80.58%108, 135–136, 138–139, 141–142, 144–145, 200–201, 252, 276, 295, 302, 309, 317, 324, 332, 339, 355, 357, 419, 438, 438, 438, 441, 441, 441, 443, 456, 461, 486, 74, 87–88
   TestnetVerifier.sol77.78%66.67%100%75%16, 28
   ValidatorTimelock.sol95.08%83.33%100%95.24%200, 82–83
   Verifier.sol89.90%40%96.30%90.93%1674–1675, 287–302, 305–308, 311–318, 321–328, 331–332, 335–336, 339, 383–384, 394–395, 405–406, 416–417, 427–428, 443–444, 453, 453–454, 905–906
contracts/state-transition/chain-deps
   DiamondInit.sol80.43%50%100%88.24%39–40, 42–43, 45–46, 48–49, 73
   DiamondProxy.sol92.31%75%100%100%16, 27
contracts/state-transition/chain-deps/facets
   Admin.sol75.46%39.66%95.45%87.50%104–105, 115–116, 130, 130–131, 133–134, 157–158, 239, 241, 254–255, 261, 263, 266, 266, 266, 284, 295–296, 301, 313, 313, 315, 315, 315, 321, 321, 321–322, 322, 322–324, 324, 324–325, 325, 325–327, 354, 356, 360, 369, 379, 383, 40, 40
   Executor.sol81.61%62.34%96%87.02%120–121, 173, 178, 183, 188, 193, 198, 202–203, 208–210, 212–213, 227–228, 246–247, 317–318, 355–358, 360, 38, 416, 416, 416–419, 421, 424, 427–428, 441,

@StanislavBreadless StanislavBreadless merged commit c3030f5 into kl/sync-layer-reorg Sep 30, 2024
25 checks passed
@StanislavBreadless StanislavBreadless deleted the sb-test-sync-layer-stable-upgrade branch September 30, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants