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

Kl/interop #676

Open
wants to merge 82 commits into
base: gateway-release-candidate
Choose a base branch
from
Open

Kl/interop #676

wants to merge 82 commits into from

Conversation

kelemeno
Copy link
Contributor

@kelemeno kelemeno commented Aug 5, 2024

What ❔

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.

@kelemeno kelemeno removed the request for review from Deniallugo August 5, 2024 15:31
Base automatically changed from kl/sync-layer-reorg to sync-layer-stable August 14, 2024 10:23
Copy link

github-actions bot commented Aug 22, 2024

Changes to gas cost

Generated at commit: a68adf2d2c0d59fc57b81cc7ecc76df1ce46812c, compared to commit: d5afbdf878995b192fd0a1c1874cce1b5d73b7b9

🧾 Summary (100% most significant diffs)

Contract Method Avg (+/-) %
MailboxFacet bridgehubRequestL2Transaction
finalizeEthWithdrawal
proveL1ToL2TransactionStatus
proveL2LogInclusion
proveL2MessageInclusion
requestL2Transaction
+33 ❌
+373 ❌
+1,449 ❌
+632 ❌
+1,447 ❌
+30 ❌
+0.04%
+0.76%
+33.39%
+19.53%
+28.55%
+0.03%
DiamondProxy acceptAdmin
bridgehubRequestL2Transaction
changeFeeParams
executeUpgrade
finalizeEthWithdrawal
freezeDiamond
proveL1ToL2TransactionStatus
proveL2LogInclusion
proveL2MessageInclusion
requestL2Transaction
setDAValidatorPair
setPendingAdmin
setPorterAvailability
setPriorityTxMaxGasLimit
setTokenMultiplier
setTransactionFilterer
setValidator
unfreezeDiamond
upgradeChainFromVersion
+33 ❌
+33 ❌
+27 ❌
+2,131 ❌
+370 ❌
+15 ❌
+1,449 ❌
+633 ❌
+1,447 ❌
+26 ❌
+96 ❌
+33 ❌
+16 ❌
+14 ❌
+24 ❌
+34 ❌
+36 ❌
+14 ❌
+70 ❌
+0.10%
+0.03%
+0.07%
+0.74%
+0.49%
+0.04%
+19.65%
+10.07%
+16.46%
+0.02%
+0.12%
+0.08%
+0.04%
+0.04%
+0.04%
+0.08%
+0.09%
+0.05%
+0.18%
Utils constructL2Log
constructRollupL2DAValidatorOutputHash
createCommitBatchInfo
defaultPointEvaluationPrecompileInput
encodePacked
getAdminSelectors
getDefaultBlobCommitment
getExecutorSelectors
getGettersSelectors
getMailboxSelectors
getUtilsFacetSelectors
randomBytes32
+3 ❌
+3 ❌
+9 ❌
+6 ❌
+69 ❌
+360 ❌
+3 ❌
+120 ❌
+930 ❌
+210 ❌
+1,230 ❌
+6 ❌
+0.26%
+0.22%
+0.22%
+0.36%
+0.49%
+13.27%
+0.18%
+9.95%
+14.79%
+11.58%
+15.06%
+0.56%
L1NativeTokenVault bridgeBurn
bridgeMint
bridgeRecoverFailedTransfer
getAssetId
getERC20Getters
initialize
registerEthToken
registerToken
tokenAddress
transferFundsFromSharedBridge
updateChainBalancesFromSharedBridge
+323 ❌
+109 ❌
+68 ❌
+24 ❌
+45 ❌
+60 ❌
+94 ❌
+142 ❌
+24 ❌
+113 ❌
+108 ❌
+0.38%
+0.37%
+0.35%
+3.50%
+0.97%
+0.11%
+0.12%
+0.14%
+1.54%
+0.53%
+0.39%
DeployL1Script runForTest -880,765 ✅ -8.42%
DummyBridgehubSetter acceptAdmin
acceptOwnership
addChainTypeManager
addTokenAssetId
baseToken
chainTypeManager
chainTypeManagerIsRegistered
createNewChain
getZKChain
initialize
l2TransactionBaseCost
pause
removeChainTypeManager
requestL2TransactionDirect
requestL2TransactionTwoBridges
setAddresses
setCTM
setPendingAdmin
setZKChain
transferOwnership
unpause
+46 ❌
+24 ❌
+59 ❌
+27 ❌
+104 ❌
+46 ❌
-54 ✅
-2,674 ✅
+12 ❌
+34 ❌
+12 ❌
+27 ❌
+35 ❌
+533 ❌
+794 ❌
+64 ❌
-21 ✅
+57 ❌
+46 ❌
+60 ❌
+27 ❌
+0.10%
+0.09%
+0.13%
+0.06%
+0.87%
+2.47%
-4.03%
-2.45%
+1.58%
+0.14%
+1.03%
+0.06%
+0.14%
+0.56%
+0.55%
+0.10%
-0.05%
+0.12%
+0.04%
+0.13%
+0.11%
ChainTypeManager acceptAdmin
createNewChain
getHyperchain
initialize
setChainCreationParams
setNewVersionUpgrade
setPendingAdmin
setUpgradeDiamondCut
setValidatorTimelock
+48 ❌
+619 ❌
+48 ❌
+149 ❌
+219 ❌
+261 ❌
+48 ❌
+138 ❌
+42 ❌
+0.16%
+0.02%
+2.99%
+0.13%
+0.51%
+0.18%
+0.17%
+0.31%
+0.53%
L1AssetRouter acceptOwnership
assetHandlerAddress
bridgeRecoverFailedTransfer
bridgehubConfirmL2Transaction
bridgehubDeposit
bridgehubDepositBaseToken
depositLegacyErc20Bridge
finalizeDeposit
finalizeWithdrawal
initialize
owner
pause
setAssetHandlerAddressThisChain
setL1Erc20Bridge
setNativeTokenVault
transferFundsToNTV
transferOwnership
unpause
+24 ❌
+24 ❌
+121 ❌
+36 ❌
+939 ❌
+484 ❌
+618 ❌
+166 ❌
+304 ❌
+36 ❌
+24 ❌
+24 ❌
+60 ❌
+60 ❌
+84 ❌
+90 ❌
+60 ❌
+24 ❌
+0.05%
+4.27%
+0.35%
+0.11%
+1.41%
+0.81%
+0.47%
+0.35%
+0.37%
+0.05%
+1.00%
+0.09%
+0.15%
+0.25%
+0.13%
+1.04%
+0.13%
+0.28%
TestExecutor commitBatchesSharedBridge -1,149 ✅ -3.57%
TransparentUpgradeableProxy acceptAdmin
admin
bridgeRecoverFailedTransfer
bridgehubConfirmL2Transaction
bridgehubDeposit
bridgehubDepositBaseToken
chainBalance(uint256,address)
claimFailedDeposit
createNewChain
depositLegacyErc20Bridge
encodeTxDataHash
finalizeDeposit
finalizeWithdrawal
getAssetId
getERC20Getters
getHyperchain
l1GenesisUpgrade
l2BridgeAddress
legacyBridge
nativeTokenVault
nullifyChainBalanceByNTV
pause
registerEthToken
registerToken
setChainCreationParams
setL1AssetRouter
setL1Erc20Bridge
setL1NativeTokenVault
setNativeTokenVault
setNewVersionUpgrade
setPendingAdmin
setUpgradeDiamondCut
setValidatorTimelock
transferFundsFromSharedBridge
transferTokenToNTV
unpause
updateChainBalancesFromSharedBridge
validatorTimelock
+48 ❌
+24 ❌
+197 ❌
+36 ❌
+938 ❌
+484 ❌
+24 ❌
+269 ❌
+112 ❌
+618 ❌
+72 ❌
+305 ❌
+303 ❌
+24 ❌
+45 ❌
+48 ❌
+24 ❌
+24 ❌
+24 ❌
+24 ❌
+30 ❌
+24 ❌
+94 ❌
+142 ❌
+219 ❌
+60 ❌
+60 ❌
+60 ❌
+83 ❌
+261 ❌
+48 ❌
+138 ❌
+42 ❌
+113 ❌
+24 ❌
+24 ❌
+108 ❌
+24 ❌
+0.09%
+2.45%
+0.22%
+0.06%
+1.00%
+0.56%
+1.29%
+0.32%
+0.16%
+0.40%
+1.87%
+0.24%
+0.28%
+1.57%
+0.38%
+1.02%
+2.50%
+0.25%
+0.55%
+0.78%
+0.10%
+0.04%
+0.09%
+0.11%
+0.23%
+0.11%
+0.11%
+0.11%
+0.11%
+0.13%
+0.08%
+0.14%
+0.12%
+0.23%
+0.08%
+0.08%
+0.21%
+0.41%
L1Nullifier bridgeRecoverFailedTransfer
bridgehubConfirmL2TransactionForwarded
chainBalance
claimFailedDeposit
encodeTxDataHash
finalizeDeposit
initialize
l2BridgeAddress
nullifyChainBalanceByNTV
setL1AssetRouter
setL1Erc20Bridge
setL1NativeTokenVault
transferTokenToNTV
+198 ❌
+12 ❌
+24 ❌
+269 ❌
+72 ❌
+201 ❌
+36 ❌
+24 ❌
+34 ❌
+60 ❌
+60 ❌
+60 ❌
+62 ❌
+0.33%
+0.05%
+1.93%
+0.45%
+2.23%
+0.28%
+0.03%
+0.97%
+0.74%
+0.13%
+0.24%
+0.13%
+0.66%
VerifierTest verify +2,953 ❌ +2.18%
VerifierRecursiveTest verify +2,882 ❌ +2.10%
DiamondCutTestContract diamondCut
facetAddresses
+346 ❌
+30 ❌
+0.17%
+2.01%
DummyChainTypeManagerWBH owner
setZKChain
+24 ❌
+22 ❌
+1.01%
+0.05%
Bridgehub addChainTypeManager
addTokenAssetId
createNewChain
getZKChain
l1CtmDeployer
setAddresses
+63 ❌
+27 ❌
+894 ❌
+12 ❌
+24 ❌
+60 ❌
+0.13%
+0.05%
+0.02%
+0.41%
+1.00%
+0.08%
AdminFacet acceptAdmin
changeFeeParams
executeUpgrade
freezeDiamond
genesisUpgrade
setDAValidatorPair
setPendingAdmin
setPorterAvailability
setPriorityTxMaxGasLimit
setTokenMultiplier
setTransactionFilterer
setValidator
unfreezeDiamond
upgradeChainFromVersion
+33 ❌
+27 ❌
+2,131 ❌
+16 ❌
+249 ❌
+96 ❌
+33 ❌
+16 ❌
+14 ❌
+24 ❌
+34 ❌
+36 ❌
+14 ❌
+70 ❌
+0.51%
+0.30%
+0.70%
+0.21%
+0.20%
+0.19%
+0.23%
+0.13%
+0.31%
+0.08%
+0.27%
+0.28%
+0.57%
+0.67%
ChainAdmin setUpgradeTimestamp -162 ✅ -0.36%
L1GenesisUpgrade genesisUpgrade
upgrade
+144 ❌
+87 ❌
+0.13%
+0.15%
DefaultUpgrade upgrade +21 ❌ +0.07%
PermanentRestriction allowAdminImplementation
setAllowedData
validateCall
+2 ❌
-4 ✅
+12 ❌
+0.00%
-0.01%
+0.04%
TestnetERC20Token approve
transfer
+11 ❌
-1 ✅
+0.02%
-0.00%
MerkleTest calculateRoot(bytes32[],uint256,bytes32) 0 ➖ 0.00%

Full diff report 👇
Contract Deployment Cost (+/-) Method Min (+/-) % Avg (+/-) % Median (+/-) % Max (+/-) % # Calls (+/-)
MailboxFacet 3,305,369 (+17,957) bridgehubRequestL2Transaction
finalizeEthWithdrawal
proveL1ToL2TransactionStatus
proveL2LogInclusion
proveL2MessageInclusion
requestL2Transaction
2,520 (0)
8,101 (0)
3,821 (+449)
1,574 (0)
4,482 (+448)
3,139 (0)
0.00%
0.00%
+13.32%
0.00%
+11.11%
0.00%
75,981 (+33)
49,208 (+373)
5,789 (+1,449)
3,868 (+632)
6,516 (+1,447)
99,136 (+30)
+0.04%
+0.76%
+33.39%
+19.53%
+28.55%
+0.03%
119,037 (+48)
49,493 (+3)
5,789 (+1,449)
4,010 (+449)
6,398 (+1,447)
135,374 (+48)
+0.04%
+0.01%
+33.39%
+12.61%
+29.23%
+0.04%
123,354 (+51)
49,493 (+3)
7,758 (+2,449)
7,990 (+2,449)
8,816 (+2,446)
159,817 (+42)
+0.04%
+0.01%
+46.13%
+44.20%
+38.40%
+0.03%
5 (0)
257 (0)
2 (0)
6 (0)
6 (0)
771 (0)
DiamondProxy 2,475,597 (0) acceptAdmin
bridgehubRequestL2Transaction
changeFeeParams
commitBatchesSharedBridge
executeUpgrade
finalizeEthWithdrawal
freezeDiamond
proveL1ToL2TransactionStatus
proveL2LogInclusion
proveL2MessageInclusion
requestL2Transaction
setDAValidatorPair
setPendingAdmin
setPorterAvailability
setPriorityTxMaxGasLimit
setTokenMultiplier
setTransactionFilterer
setValidator
unfreezeDiamond
upgradeChainFromVersion
util_setChainId
30,695 (+18)
34,187 (0)
33,968 (+30)
0 (0)
31,727 (+18)
37,590 (0)
30,724 (+18)
4,607 (+449)
4,777 (+449)
5,280 (+448)
33,146 (0)
79,319 (+96)
31,252 (+30)
31,012 (+18)
30,919 (+18)
57,421 (+24)
31,274 (+30)
31,466 (+30)
30,725 (+18)
34,099 (+30)
28,906 (0)
+0.06%
0.00%
+0.09%
+∞%
+0.06%
0.00%
+0.06%
+10.80%
+10.37%
+9.27%
0.00%
+0.12%
+0.10%
+0.06%
+0.06%
+0.04%
+0.10%
+0.10%
+0.06%
+0.09%
0.00%
32,450 (+33)
105,965 (+33)
38,255 (+27)
38,437 (-629)
288,827 (+2,131)
76,493 (+370)
35,988 (+15)
8,822 (+1,449)
6,920 (+633)
10,237 (+1,447)
128,911 (+26)
79,319 (+96)
43,058 (+33)
39,122 (+16)
33,031 (+14)
57,421 (+24)
41,207 (+34)
39,890 (+36)
30,783 (+14)
39,860 (+70)
33,752 (+20)
+0.10%
+0.03%
+0.07%
-1.61%
+0.74%
+0.49%
+0.04%
+19.65%
+10.07%
+16.46%
+0.02%
+0.12%
+0.08%
+0.04%
+0.04%
+0.04%
+0.08%
+0.09%
+0.05%
+0.18%
+0.06%
32,450 (+33)
147,900 (+48)
34,288 (+24)
65,017 (-537)
435,985 (+3,504)
76,710 (-21)
30,778 (+15)
8,822 (+1,449)
5,865 (+225)
9,559 (+1,448)
166,392 (+72)
79,319 (+96)
43,058 (+33)
32,222 (+15)
30,943 (+12)
57,421 (+24)
37,624 (+36)
33,147 (+39)
30,813 (+12)
39,115 (+57)
33,718 (0)
+0.10%
+0.03%
+0.07%
-0.82%
+0.81%
-0.03%
+0.05%
+19.65%
+3.99%
+17.85%
+0.04%
+0.12%
+0.08%
+0.05%
+0.04%
+0.04%
+0.10%
+0.12%
+0.04%
+0.15%
0.00%
34,206 (+48)
152,217 (+51)
46,511 (+27)
89,655 (-2,148)
436,035 (+3,504)
77,010 (+3)
51,675 (+15)
13,038 (+2,449)
13,288 (+2,449)
16,130 (+2,446)
188,289 (+42)
79,319 (+96)
54,865 (+36)
54,134 (+15)
37,233 (+12)
57,421 (+24)
54,724 (+36)
55,059 (+39)
30,813 (+12)
47,110 (+135)
34,090 (0)
+0.14%
+0.03%
+0.06%
-2.34%
+0.81%
+0.00%
+0.03%
+23.13%
+22.59%
+17.87%
+0.02%
+0.12%
+0.07%
+0.03%
+0.03%
+0.04%
+0.07%
+0.07%
+0.04%
+0.29%
0.00%
2 (0)
5 (0)
3 (0)
42 (0)
5 (0)
257 (0)
4 (0)
2 (0)
6 (0)
6 (0)
771 (0)
32 (0)
2 (0)
3 (0)
3 (0)
32 (0)
3 (0)
3 (0)
3 (0)
4 (0)
519 (0)
Utils 5,526,906 (-510,762) constructL2Log
constructRollupL2DAValidatorOutputHash
createCommitBatchInfo
defaultPointEvaluationPrecompileInput
encodePacked
getAdminSelectors
getDefaultBlobCommitment
getExecutorSelectors
getGettersSelectors
getMailboxSelectors
getUtilsFacetSelectors
randomBytes32
1,154 (+3)
1,367 (+3)
4,140 (+9)
1,662 (+6)
12,545 (+69)
3,072 (+360)
1,671 (+3)
1,326 (+120)
7,220 (+930)
2,024 (+210)
9,399 (+1,230)
1,068 (+6)
+0.26%
+0.22%
+0.22%
+0.36%
+0.55%
+13.27%
+0.18%
+9.95%
+14.79%
+11.58%
+15.06%
+0.56%
1,154 (+3)
1,381 (+3)
4,140 (+9)
1,662 (+6)
14,058 (+69)
3,072 (+360)
1,671 (+3)
1,326 (+120)
7,220 (+930)
2,024 (+210)
9,399 (+1,230)
1,073 (+6)
+0.26%
+0.22%
+0.22%
+0.36%
+0.49%
+13.27%
+0.18%
+9.95%
+14.79%
+11.58%
+15.06%
+0.56%
1,154 (+3)
1,367 (+3)
4,140 (+9)
1,662 (+6)
14,183 (+69)
3,072 (+360)
1,671 (+3)
1,326 (+120)
7,220 (+930)
2,024 (+210)
9,399 (+1,230)
1,068 (+6)
+0.26%
+0.22%
+0.22%
+0.36%
+0.49%
+13.27%
+0.18%
+9.95%
+14.79%
+11.58%
+15.06%
+0.56%
1,154 (+3)
1,525 (+3)
4,140 (+9)
1,662 (+6)
14,183 (+69)
3,072 (+360)
1,671 (+3)
1,326 (+120)
7,220 (+930)
2,024 (+210)
9,399 (+1,230)
1,150 (+6)
+0.26%
+0.20%
+0.22%
+0.36%
+0.49%
+13.27%
+0.18%
+9.95%
+14.79%
+11.58%
+15.06%
+0.52%
37 (0)
33 (0)
6 (0)
29 (0)
70 (0)
25 (0)
29 (0)
25 (0)
56 (0)
36 (0)
99 (0)
560 (0)
L1NativeTokenVault 3,456,869 (-371,664) bridgeBurn
bridgeMint
bridgeRecoverFailedTransfer
getAssetId
getERC20Getters
initialize
receive
registerEthToken
registerToken
tokenAddress
transferFundsFromSharedBridge
updateChainBalancesFromSharedBridge
12,701 (+144)
10,581 (+63)
5,287 (+48)
710 (+24)
4,691 (+45)
23,191 (+36)
121 (+12)
72,741 (+36)
501 (+48)
519 (+24)
8,864 (+54)
27,633 (+108)
+1.15%
+0.60%
+0.92%
+3.50%
+0.97%
+0.16%
+11.01%
+0.05%
+10.60%
+4.85%
+0.61%
+0.39%
85,034 (+323)
29,602 (+109)
19,329 (+68)
710 (+24)
4,691 (+45)
54,277 (+60)
121 (+12)
77,752 (+94)
98,105 (+142)
1,578 (+24)
21,611 (+113)
27,633 (+108)
+0.38%
+0.37%
+0.35%
+3.50%
+0.97%
+0.11%
+11.01%
+0.12%
+0.14%
+1.54%
+0.53%
+0.39%
100,001 (+345)
31,117 (+112)
22,423 (+60)
710 (+24)
4,691 (+45)
52,653 (+60)
121 (+12)
77,339 (+96)
100,100 (+144)
2,519 (+24)
20,621 (+84)
27,633 (+108)
+0.35%
+0.36%
+0.27%
+3.50%
+0.97%
+0.11%
+11.01%
+0.12%
+0.14%
+0.96%
+0.41%
+0.39%
100,001 (+345)
34,726 (+138)
29,646 (+111)
710 (+24)
4,691 (+45)
72,553 (+60)
121 (+12)
84,434 (+96)
107,195 (+144)
2,519 (+24)
33,383 (+168)
27,633 (+108)
+0.35%
+0.40%
+0.38%
+3.50%
+0.97%
+0.08%
+11.01%
+0.11%
+0.13%
+0.96%
+0.51%
+0.39%
1,297 (0)
14 (0)
9 (0)
532 (0)
1 (0)
876 (0)
2 (0)
875 (0)
1,134 (0)
4,353 (0)
5 (0)
2 (0)
DeployL1Script 67,241,836 (-5,917,964) runForTest 9,577,640 (-880,765) -8.42% 9,577,640 (-880,765) -8.42% 9,577,640 (-880,765) -8.42% 9,577,640 (-880,765) -8.42% 3 (0)
DummyBridgehubSetter 5,050,339 (-314,181) acceptAdmin
acceptOwnership
addChainTypeManager
addTokenAssetId
admin
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,550 (+24)
23,889 (+24)
26,276 (+30)
435 (+24)
3,308 (+120)
576 (+46)
590 (-54)
28,673 (-42)
770 (+12)
24,145 (+34)
414 (+46)
1,178 (+12)
458 (+46)
430 (+46)
46,828 (+27)
0 (0)
0 (0)
0 (0)
23,826 (+24)
32,839 (-99)
30,913 (+50)
24,306 (+24)
44,172 (-21)
25,922 (+42)
111,361 (+46)
454 (+91)
47,790 (+60)
24,928 (+27)
+0.08%
+0.09%
+0.10%
+0.11%
+5.84%
+3.76%
+8.68%
-8.39%
-0.15%
+1.58%
+0.14%
+12.50%
+1.03%
+11.17%
+11.98%
+0.06%
+∞%
+∞%
+∞%
+0.10%
-0.30%
+0.16%
+0.10%
-0.05%
+0.16%
+0.04%
+25.07%
+0.13%
+0.11%
45,544 (+46)
25,550 (+24)
44,149 (+59)
45,602 (+27)
1,547 (+24)
12,088 (+104)
1,909 (+46)
1,285 (-54)
106,617 (-2,674)
770 (+12)
24,145 (+34)
1,747 (+46)
1,178 (+12)
1,791 (+46)
1,949 (+46)
46,828 (+27)
1,379 (+3)
1,494 (+39)
1,571 (+33)
25,458 (+35)
95,342 (+533)
144,858 (+794)
66,002 (+64)
44,209 (-21)
47,652 (+57)
111,398 (+46)
1,254 (+91)
47,790 (+60)
24,928 (+27)
+0.10%
+0.09%
+0.13%
+0.06%
+1.58%
+0.87%
+2.47%
-4.03%
-2.45%
+1.58%
+0.14%
+2.70%
+1.03%
+2.64%
+2.42%
+0.06%
+0.22%
+2.68%
+2.15%
+0.14%
+0.56%
+0.55%
+0.10%
-0.05%
+0.12%
+0.04%
+7.82%
+0.13%
+0.11%
46,922 (+48)
25,550 (+24)
47,621 (+63)
49,731 (+27)
2,435 (+24)
14,229 (+96)
2,576 (+46)
590 (-54)
36,403 (+60)
770 (+12)
24,145 (+34)
2,414 (+46)
1,178 (+12)
2,458 (+46)
2,430 (+46)
46,828 (+27)
975 (+17)
1,078 (+18)
1,172 (+31)
25,829 (+55)
73,357 (-1,005)
46,929 (-10,348)
71,190 (+60)
44,220 (-21)
49,805 (+60)
111,409 (+46)
454 (+91)
47,790 (+60)
24,928 (+27)
+0.10%
+0.09%
+0.13%
+0.05%
+1.00%
+0.68%
+1.82%
-8.39%
+0.17%
+1.58%
+0.14%
+1.94%
+1.03%
+1.91%
+1.93%
+0.06%
+1.77%
+1.70%
+2.72%
+0.21%
-1.35%
-18.07%
+0.08%
-0.05%
+0.12%
+0.04%
+25.07%
+0.13%
+0.11%
46,922 (+48)
25,550 (+24)
47,621 (+63)
49,731 (+27)
2,435 (+24)
18,729 (+96)
2,576 (+46)
2,590 (-54)
865,864 (-10,187)
1,051 (+12)
24,145 (+34)
2,414 (+46)
1,178 (+12)
2,458 (+46)
2,430 (+46)
46,828 (+27)
3,612 (+41)
3,828 (+43)
4,016 (+47)
26,238 (+48)
223,070 (+1,401)
401,845 (+2,224)
91,330 (+60)
44,232 (-21)
49,817 (+60)
111,421 (+46)
2,454 (+91)
47,790 (+60)
24,928 (+27)
+0.10%
+0.09%
+0.13%
+0.05%
+1.00%
+0.52%
+1.82%
-2.04%
-1.16%
+1.15%
+0.14%
+1.94%
+1.03%
+1.91%
+1.93%
+0.06%
+1.15%
+1.14%
+1.18%
+0.18%
+0.63%
+0.56%
+0.07%
-0.05%
+0.12%
+0.04%
+3.85%
+0.13%
+0.11%
4,352 (0)
34 (0)
6,656 (0)
4,096 (0)
2,302 (+1)
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 (0)
3,328 (0)
2,816 (0)
4,862 (+1)
2,816 (0)
1,280 (0)
34 (0)
256 (0)
ChainTypeManager 4,275,908 (-271,080) acceptAdmin
admin
createNewChain
getHyperchain
initialize
l1GenesisUpgrade
setChainCreationParams
setNewVersionUpgrade
setPendingAdmin
setUpgradeDiamondCut
setValidatorTimelock
validatorTimelock
30,635 (+48)
413 (+24)
1,089 (+36)
1,654 (+48)
22,769 (+24)
393 (+24)
43,065 (+219)
148,065 (+261)
28,393 (+48)
44,658 (+138)
4,744 (+36)
392 (+24)
+0.16%
+6.17%
+3.42%
+2.99%
+0.11%
+6.50%
+0.51%
+0.18%
+0.17%
+0.31%
+0.76%
+6.52%
30,635 (+48)
413 (+24)
3,168,756 (+619)
1,654 (+48)
113,249 (+149)
393 (+24)
43,065 (+219)
148,065 (+261)
28,393 (+48)
44,658 (+138)
8,007 (+42)
1,392 (+24)
+0.16%
+6.17%
+0.02%
+2.99%
+0.13%
+6.50%
+0.51%
+0.18%
+0.17%
+0.31%
+0.53%
+1.75%
30,635 (+48)
413 (+24)
3,589,214 (+687)
1,654 (+48)
22,769 (+24)
393 (+24)
43,065 (+219)
148,065 (+261)
28,393 (+48)
44,658 (+138)
8,007 (+42)
1,392 (+24)
+0.16%
+6.17%
+0.02%
+2.99%
+0.11%
+6.50%
+0.51%
+0.18%
+0.17%
+0.31%
+0.53%
+1.75%
30,635 (+48)
413 (+24)
3,589,214 (+687)
1,654 (+48)
207,350 (+279)
393 (+24)
43,065 (+219)
148,065 (+261)
28,393 (+48)
44,658 (+138)
11,270 (+48)
2,392 (+24)
+0.16%
+6.17%
+0.02%
+2.99%
+0.13%
+6.50%
+0.51%
+0.18%
+0.17%
+0.31%
+0.43%
+1.01%
1 (0)
1 (0)
17 (0)
15 (0)
51 (0)
1 (0)
1 (0)
1 (0)
2 (0)
1 (0)
2 (0)
4 (0)
L1AssetRouter 3,756,705 (-371,595) acceptOwnership
assetHandlerAddress
bridgeRecoverFailedTransfer
bridgehubConfirmL2Transaction
bridgehubDeposit
bridgehubDepositBaseToken
depositLegacyErc20Bridge
finalizeDeposit
finalizeWithdrawal
initialize
legacyBridge
nativeTokenVault
owner
pause
setAssetHandlerAddressThisChain
setL1Erc20Bridge
setNativeTokenVault
transferFundsToNTV
transferOwnership
unpause
45,427 (+24)
586 (+24)
16,645 (+99)
19,512 (+36)
18,012 (+634)
544 (+24)
10,184 (+96)
25,797 (+118)
25,917 (+114)
45,250 (+24)
403 (+24)
381 (+24)
2,420 (+24)
25,740 (+24)
7,664 (+60)
4,712 (+48)
4,733 (+36)
1,253 (+60)
47,834 (+60)
8,639 (+24)
+0.05%
+4.27%
+0.60%
+0.18%
+3.65%
+4.62%
+0.95%
+0.46%
+0.44%
+0.05%
+6.33%
+6.72%
+1.00%
+0.09%
+0.79%
+1.03%
+0.77%
+5.03%
+0.13%
+0.28%
45,427 (+24)
586 (+24)
34,456 (+121)
34,195 (+36)
67,656 (+939)
60,182 (+484)
132,658 (+618)
48,106 (+166)
83,414 (+304)
72,102 (+36)
1,203 (+24)
881 (+24)
2,420 (+24)
25,740 (+24)
39,297 (+60)
24,296 (+60)
66,812 (+84)
8,740 (+90)
47,834 (+60)
8,639 (+24)
+0.05%
+4.27%
+0.35%
+0.11%
+1.41%
+0.81%
+0.47%
+0.35%
+0.37%
+0.05%
+2.04%
+2.80%
+1.00%
+0.09%
+0.15%
+0.25%
+0.13%
+1.04%
+0.13%
+0.28%
45,427 (+24)
586 (+24)
36,658 (+114)
41,537 (+36)
72,035 (+963)
59,352 (+507)
193,863 (+879)
50,169 (+170)
101,778 (+349)
72,470 (+36)
403 (+24)
381 (+24)
2,420 (+24)
25,740 (+24)
29,564 (+60)
24,831 (+60)
68,819 (+84)
10,205 (+96)
47,834 (+60)
8,639 (+24)
+0.05%
+4.27%
+0.31%
+0.09%
+1.35%
+0.86%
+0.46%
+0.34%
+0.34%
+0.05%
+6.33%
+6.72%
+1.00%
+0.09%
+0.20%
+0.24%
+0.12%
+0.95%
+0.13%
+0.28%
45,427 (+24)
586 (+24)
43,881 (+165)
41,537 (+36)
113,260 (+1,193)
90,320 (+647)
193,928 (+879)
53,778 (+196)
111,495 (+400)
72,470 (+36)
2,403 (+24)
2,381 (+24)
2,420 (+24)
25,740 (+24)
49,464 (+60)
24,831 (+60)
68,819 (+84)
31,874 (+147)
47,834 (+60)
8,639 (+24)
+0.05%
+4.27%
+0.38%
+0.09%
+1.06%
+0.72%
+0.46%
+0.37%
+0.36%
+0.05%
+1.01%
+1.02%
+1.00%
+0.09%
+0.12%
+0.24%
+0.12%
+0.46%
+0.13%
+0.28%
68 (0)
512 (0)
9 (0)
3 (0)
10 (0)
8 (0)
3 (0)
14 (0)
19 (0)
74 (0)
5 (0)
4 (0)
68 (0)
2 (0)
147 (0)
75 (0)
843 (0)
17 (0)
68 (0)
1 (0)
TestExecutor 3,313,807 (-158,930) commitBatchesSharedBridge 7,814 (0) 0.00% 31,041 (-1,149) -3.57% 30,676 (-1,548) -4.80% 44,640 (-2,148) -4.59% 23 (0)
TransparentUpgradeableProxy 787,928 (+60) acceptAdmin
admin
bridgeRecoverFailedTransfer
bridgehubConfirmL2Transaction
bridgehubDeposit
bridgehubDepositBaseToken
chainBalance(uint256,address)
claimFailedDeposit
createNewChain
depositLegacyErc20Bridge
encodeTxDataHash
finalizeDeposit
finalizeWithdrawal
getAssetId
getERC20Getters
getHyperchain
l1GenesisUpgrade
l2BridgeAddress
legacyBridge
nativeTokenVault
nullifyChainBalanceByNTV
pause
registerEthToken
registerToken
setChainCreationParams
setL1AssetRouter
setL1Erc20Bridge
setL1NativeTokenVault
setNativeTokenVault
setNewVersionUpgrade
setPendingAdmin
setUpgradeDiamondCut
setValidatorTimelock
tokenAddress
transferFundsFromSharedBridge
transferTokenToNTV
unpause
updateChainBalancesFromSharedBridge
validatorTimelock
53,988 (+48)
1,005 (+24)
45,558 (+27)
48,701 (+36)
47,526 (+634)
29,882 (+24)
1,360 (+24)
47,308 (+72)
55,552 (+36)
39,816 (+96)
2,580 (+72)
124,711 (+298)
56,552 (+114)
1,308 (+24)
11,879 (+45)
4,749 (+48)
985 (+24)
9,605 (+24)
995 (+24)
973 (+24)
31,323 (+30)
53,893 (+24)
100,894 (+36)
28,965 (+54)
96,224 (+219)
53,355 (+60)
33,000 (+48)
53,364 (+60)
33,033 (+36)
200,674 (+261)
56,917 (+48)
96,926 (+138)
33,059 (+36)
0 (0)
37,404 (+54)
31,097 (+24)
31,992 (+24)
51,272 (+108)
984 (+24)
+0.09%
+2.45%
+0.06%
+0.07%
+1.35%
+0.08%
+1.80%
+0.15%
+0.06%
+0.24%
+2.87%
+0.24%
+0.20%
+1.87%
+0.38%
+1.02%
+2.50%
+0.25%
+2.47%
+2.53%
+0.10%
+0.04%
+0.04%
+0.19%
+0.23%
+0.11%
+0.15%
+0.11%
+0.11%
+0.13%
+0.08%
+0.14%
+0.11%
+∞%
+0.14%
+0.08%
+0.08%
+0.21%
+2.50%
53,988 (+48)
1,005 (+24)
87,956 (+197)
63,381 (+36)
94,512 (+938)
86,515 (+484)
1,887 (+24)
84,643 (+269)
69,789 (+112)
154,025 (+618)
3,930 (+72)
128,269 (+305)
110,289 (+303)
1,552 (+24)
11,879 (+45)
4,749 (+48)
985 (+24)
9,605 (+24)
4,395 (+24)
3,098 (+24)
31,323 (+30)
53,893 (+24)
105,905 (+94)
128,147 (+142)
96,224 (+219)
53,355 (+60)
53,092 (+60)
53,364 (+60)
74,768 (+83)
200,674 (+261)
56,917 (+48)
96,926 (+138)
36,318 (+42)
3,660 (+24)
49,091 (+113)
31,097 (+24)
31,992 (+24)
51,386 (+108)
5,859 (+24)
+0.09%
+2.45%
+0.22%
+0.06%
+1.00%
+0.56%
+1.29%
+0.32%
+0.16%
+0.40%
+1.87%
+0.24%
+0.28%
+1.57%
+0.38%
+1.02%
+2.50%
+0.25%
+0.55%
+0.78%
+0.10%
+0.04%
+0.09%
+0.11%
+0.23%
+0.11%
+0.11%
+0.11%
+0.11%
+0.13%
+0.08%
+0.14%
+0.12%
+0.66%
+0.23%
+0.08%
+0.08%
+0.21%
+0.41%
53,988 (+48)
1,005 (+24)
98,257 (+250)
70,722 (+36)
101,747 (+963)
88,685 (+507)
1,360 (+24)
92,767 (+296)
69,789 (+112)
211,091 (+879)
2,580 (+72)
128,269 (+305)
126,125 (+373)
1,308 (+24)
11,879 (+45)
4,749 (+48)
985 (+24)
9,605 (+24)
995 (+24)
973 (+24)
31,323 (+30)
53,893 (+24)
105,492 (+96)
128,624 (+144)
96,224 (+219)
53,355 (+60)
53,355 (+60)
53,364 (+60)
75,911 (+84)
200,674 (+261)
56,917 (+48)
96,926 (+138)
36,318 (+42)
3,114 (+24)
48,917 (+84)
31,097 (+24)
31,992 (+24)
51,386 (+108)
6,484 (+24)
+0.09%
+2.45%
+0.26%
+0.05%
+0.96%
+0.57%
+1.80%
+0.32%
+0.16%
+0.42%
+2.87%
+0.24%
+0.30%
+1.87%
+0.38%
+1.02%
+2.50%
+0.25%
+2.47%
+2.53%
+0.10%
+0.04%
+0.09%
+0.11%
+0.23%
+0.11%
+0.11%
+0.11%
+0.11%
+0.13%
+0.08%
+0.14%
+0.12%
+0.78%
+0.17%
+0.08%
+0.08%
+0.21%
+0.37%
53,988 (+48)
1,005 (+24)
109,753 (+261)
70,722 (+36)
133,586 (+1,193)
114,851 (+647)
9,860 (+24)
103,031 (+354)
84,027 (+189)
211,168 (+879)
7,080 (+72)
131,828 (+313)
135,510 (+400)
7,808 (+24)
11,879 (+45)
4,749 (+48)
985 (+24)
9,605 (+24)
9,495 (+24)
9,473 (+24)
31,323 (+30)
53,893 (+24)
112,587 (+96)
135,719 (+144)
96,224 (+219)
53,355 (+60)
53,378 (+60)
53,364 (+60)
75,911 (+84)
200,674 (+261)
56,917 (+48)
96,926 (+138)
39,578 (+48)
9,614 (+24)
59,784 (+174)
31,097 (+24)
31,992 (+24)
51,500 (+108)
9,484 (+24)
+0.09%
+2.45%
+0.24%
+0.05%
+0.90%
+0.57%
+0.24%
+0.34%
+0.23%
+0.42%
+1.03%
+0.24%
+0.30%
+0.31%
+0.38%
+1.02%
+2.50%
+0.25%
+0.25%
+0.25%
+0.10%
+0.04%
+0.09%
+0.11%
+0.23%
+0.11%
+0.11%
+0.11%
+0.11%
+0.13%
+0.08%
+0.14%
+0.12%
+0.25%
+0.29%
+0.08%
+0.08%
+0.21%
+0.25%
1 (0)
1 (0)
4 (0)
3 (0)
10 (0)
8 (0)
586 (0)
8 (0)
2 (0)
3 (0)
10 (0)
2 (0)
19 (0)
532 (0)
1 (0)
15 (0)
1 (0)
19 (0)
5 (0)
4 (0)
1 (0)
2 (0)
875 (0)
876 (0)
1 (0)
73 (0)
148 (0)
73 (0)
75 (0)
1 (0)
2 (0)
1 (0)
2 (0)
4,403 (0)
5 (0)
1 (0)
1 (0)
2 (0)
4 (0)
L1Nullifier 3,003,377 (-321,640) bridgeRecoverFailedTransfer
bridgehubConfirmL2TransactionForwarded
chainBalance
claimFailedDeposit
encodeTxDataHash
finalizeDeposit
initialize
l2BridgeAddress
nullifyChainBalanceByNTV
owner
setL1AssetRouter
setL1Erc20Bridge
setL1NativeTokenVault
transferTokenToNTV
14,052 (+27)
6,936 (+12)
762 (+24)
16,855 (+72)
1,952 (+72)
10,015 (0)
141,131 (+36)
2,510 (+24)
2,640 (+30)
364 (+24)
24,831 (+60)
24,854 (+60)
24,852 (+60)
2,566 (+24)
+0.19%
+0.17%
+3.25%
+0.43%
+3.83%
0.00%
+0.03%
+0.97%
+1.15%
+7.06%
+0.24%
+0.24%
+0.24%
+0.94%
60,253 (+198)
24,553 (+12)
1,267 (+24)
60,337 (+269)
3,302 (+72)
70,932 (+201)
141,131 (+36)
2,510 (+24)
4,609 (+34)
1,364 (+24)
45,604 (+60)
24,854 (+60)
45,621 (+60)
9,410 (+62)
+0.33%
+0.05%
+1.93%
+0.45%
+2.23%
+0.28%
+0.03%
+0.97%
+0.74%
+1.79%
+0.13%
+0.24%
+0.13%
+0.66%
72,949 (+252)
28,958 (+12)
762 (+24)
68,516 (+296)
1,952 (+72)
87,866 (+235)
141,131 (+36)
2,510 (+24)
5,594 (+36)
1,364 (+24)
46,263 (+60)
24,854 (+60)
46,284 (+60)
10,231 (+48)
+0.35%
+0.04%
+3.25%
+0.43%
+3.83%
+0.27%
+0.03%
+0.97%
+0.65%
+1.79%
+0.13%
+0.24%
+0.13%
+0.47%
81,062 (+258)
28,958 (+12)
2,762 (+24)
84,754 (+354)
6,452 (+72)
108,481 (+313)
141,131 (+36)
2,510 (+24)
5,594 (+36)
2,364 (+24)
46,263 (+60)
24,854 (+60)
46,284 (+60)
17,084 (+96)
+0.32%
+0.04%
+0.88%
+0.42%
+1.13%
+0.29%
+0.03%
+0.97%
+0.65%
+1.03%
+0.13%
+0.24%
+0.13%
+0.57%
4 (0)
5 (0)
586 (0)
8 (0)
10 (0)
21 (0)
73 (0)
19 (0)
3 (0)
4,608 (0)
2,377 (0)
73 (0)
2,377 (0)
5 (0)
VerifierTest 3,092,873 (-679,545) verify 4,542 (+576) +14.52% 138,157 (+2,953) +2.18% 4,542 (+576) +14.52% 367,190 (+6,560) +1.82% 11 (0)
VerifierRecursiveTest 3,093,317 (-679,533) verify 4,852 (+576) +13.47% 140,404 (+2,882) +2.10% 4,852 (+576) +13.47% 380,598 (+6,592) +1.76% 14 (0)
DiamondCutTestContract 2,286,218 (-143,406) diamondCut
facetAddresses
23,677 (+24)
974 (+24)
+0.10%
+2.53%
203,697 (+346)
1,525 (+30)
+0.17%
+2.01%
44,770 (+120)
1,248 (+48)
+0.27%
+4.00%
1,439,629 (+2,196)
2,631 (0)
+0.15%
0.00%
20 (0)
4 (0)
DummyChainTypeManagerWBH 4,302,795 (-273,984) owner
setZKChain
2,408 (+24)
44,109 (+24)
+1.01%
+0.05%
2,408 (+24)
44,147 (+22)
+1.01%
+0.05%
2,408 (+24)
44,163 (+18)
+1.01%
+0.04%
2,408 (+24)
44,169 (+24)
+1.01%
+0.05%
256 (0)
256 (0)
Bridgehub 5,016,072 (-311,352) addChainTypeManager
addTokenAssetId
createNewChain
getZKChain
l1CtmDeployer
setAddresses
47,621 (+63)
49,731 (+27)
4,086,245 (+894)
770 (+12)
2,414 (+24)
70,998 (+60)
+0.13%
+0.05%
+0.02%
+1.58%
+1.00%
+0.08%
47,621 (+63)
49,731 (+27)
4,086,245 (+894)
2,932 (+12)
2,414 (+24)
70,998 (+60)
+0.13%
+0.05%
+0.02%
+0.41%
+1.00%
+0.08%
47,621 (+63)
49,731 (+27)
4,086,245 (+894)
2,770 (+12)
2,414 (+24)
70,998 (+60)
+0.13%
+0.05%
+0.02%
+0.44%
+1.00%
+0.08%
47,621 (+63)
49,731 (+27)
4,086,245 (+894)
5,051 (+12)
2,414 (+24)
70,998 (+60)
+0.13%
+0.05%
+0.02%
+0.24%
+1.00%
+0.08%
15 (0)
15 (0)
15 (0)
40 (0)
15 (0)
15 (0)
AdminFacet 4,024,509 (-573,634) acceptAdmin
changeFeeParams
executeUpgrade
freezeDiamond
genesisUpgrade
setDAValidatorPair
setPendingAdmin
setPorterAvailability
setPriorityTxMaxGasLimit
setTokenMultiplier
setTransactionFilterer
setValidator
unfreezeDiamond
upgradeChainFromVersion
2,392 (+18)
4,672 (+30)
2,587 (+18)
2,421 (+18)
126,103 (+249)
50,278 (+96)
2,578 (+30)
2,566 (+18)
2,464 (+12)
28,836 (+24)
2,600 (+30)
2,646 (+30)
2,422 (+18)
4,813 (+30)
+0.76%
+0.65%
+0.70%
+0.75%
+0.20%
+0.19%
+1.18%
+0.71%
+0.49%
+0.08%
+1.17%
+1.15%
+0.75%
+0.63%
6,552 (+33)
8,963 (+27)
308,150 (+2,131)
7,685 (+16)
126,103 (+249)
50,278 (+96)
14,388 (+33)
12,285 (+16)
4,577 (+14)
28,836 (+24)
12,538 (+34)
12,679 (+36)
2,484 (+14)
10,573 (+70)
+0.51%
+0.30%
+0.70%
+0.21%
+0.20%
+0.19%
+0.23%
+0.13%
+0.31%
+0.08%
+0.27%
+0.28%
+0.57%
+0.67%
6,552 (+33)
4,995 (+24)
489,677 (+3,504)
2,469 (+15)
126,103 (+249)
50,278 (+96)
14,388 (+33)
8,595 (+15)
2,473 (+18)
28,836 (+24)
8,957 (+36)
9,146 (+39)
2,516 (+12)
9,826 (+57)
+0.51%
+0.48%
+0.72%
+0.61%
+0.20%
+0.19%
+0.23%
+0.17%
+0.73%
+0.08%
+0.40%
+0.43%
+0.48%
+0.58%
10,713 (+48)
17,222 (+27)
489,727 (+3,504)
23,382 (+15)
126,103 (+249)
50,278 (+96)
26,198 (+36)
25,695 (+15)
8,794 (+12)
28,836 (+24)
26,057 (+36)
26,246 (+39)
2,516 (+12)
17,827 (+135)
+0.45%
+0.16%
+0.72%
+0.06%
+0.20%
+0.19%
+0.14%
+0.06%
+0.14%
+0.08%
+0.14%
+0.15%
+0.48%
+0.76%
2 (0)
3 (0)
5 (0)
4 (0)
15 (0)
32 (0)
2 (0)
3 (0)
3 (0)
32 (0)
3 (0)
3 (0)
3 (0)
4 (0)
ChainAdmin 909,847 (0) setUpgradeTimestamp 25,361 (0) 0.00% 45,096 (-162) -0.36% 45,357 (-12) -0.03% 45,645 (0) 0.00% 256 (0)
L1GenesisUpgrade 3,326,479 (-130,866) genesisUpgrade
upgrade
114,862 (+144)
59,186 (+87)
+0.13%
+0.15%
114,862 (+144)
59,186 (+87)
+0.13%
+0.15%
114,862 (+144)
59,186 (+87)
+0.13%
+0.15%
114,862 (+144)
59,186 (+87)
+0.13%
+0.15%
15 (0)
15 (0)
DefaultUpgrade 1,572,859 (-98,377) upgrade 28,894 (+21) +0.07% 28,894 (+21) +0.07% 28,894 (+21) +0.07% 28,894 (+21) +0.07% 1 (0)
PermanentRestriction 1,147,705 (+12) allowAdminImplementation
setAllowedData
setSelectorIsValidated
tryCompareAdminOfAChain
validateCall
47,506 (+12)
48,656 (0)
47,583 (0)
453 (0)
25,933 (+12)
+0.03%
0.00%
0.00%
0.00%
+0.05%
47,735 (+2)
49,335 (-4)
47,613 (-2)
19,127 (+10)
28,266 (+12)
+0.00%
-0.01%
-0.00%
+0.05%
+0.04%
47,866 (0)
48,980 (+12)
47,631 (0)
24,182 (+12)
28,563 (+12)
0.00%
+0.02%
0.00%
+0.05%
+0.04%
47,866 (0)
51,017 (-12)
47,631 (0)
24,182 (+12)
29,965 (+12)
0.00%
-0.02%
0.00%
+0.05%
+0.04%
258 (0)
257 (0)
258 (0)
11 (0)
7 (0)
TestnetERC20Token 800,383 (0) approve
mint
transfer
24,247 (0)
34,018 (0)
46,273 (0)
0.00%
0.00%
0.00%
46,241 (+11)
61,950 (+10)
46,621 (-1)
+0.02%
+0.02%
-0.00%
46,207 (+12)
68,242 (0)
46,549 (-12)
+0.03%
0.00%
-0.03%
46,543 (0)
68,602 (0)
46,873 (0)
0.00%
0.00%
0.00%
1,512 (0)
1,679 (0)
257 (0)
AccessControlRestriction 1,759,703 (0) grantRole
setRequiredRoleForCall
setRequiredRoleForFallback
51,036 (0)
48,605 (0)
47,940 (0)
0.00%
0.00%
0.00%
51,278 (+9)
49,428 (-1)
48,844 (+1)
+0.02%
-0.00%
+0.00%
51,408 (0)
48,977 (0)
48,312 (0)
0.00%
0.00%
0.00%
51,408 (0)
51,877 (0)
51,658 (0)
0.00%
0.00%
0.00%
1,024 (0)
1,280 (0)
1,280 (0)
MerkleTest 520,004 (0) calculateRoot(bytes32[],uint256,bytes32) 565 (0) 0.00% 2,930 (0) 0.00% 2,982 (0) 0.00% 3,026 (-11) -0.36% 265 (0)
FeeOnTransferToken 814,587 (-12)
DummyChainTypeManager 4,301,033 (-273,998)
DummySharedBridge 1,525,419 (-68,737)
DummyZKChain 3,571,893 (+17,944)
IncrementalMerkleTest 365,381 (-12)
UtilsFacet 892,132 (+12)
TestBaseFacet 219,688 (+12)

Copy link

Coverage after merging kl/interop into sync-layer-stable will be

89.93%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
../da-contracts/contracts
   RollupL1DAValidator.sol67.11%50%83.33%73.91%134, 137, 137, 137, 139, 170, 172, 25, 25, 25–26, 26, 26, 28, 30–31, 35–36, 59, 61, 61, 61–62, 64
contracts/bridge
   BridgeHelper.sol100%100%100%100%
   L1AssetRouter.sol95.22%89.29%94.87%97.91%140, 155, 215, 235, 280, 333, 385, 520, 537, 558, 741–742, 877
   L1ERC20Bridge.sol95%87.50%100%96%113, 99
   L1NativeTokenVault.sol94.66%97.62%78.57%96%228, 256, 261, 44
contracts/bridgehub
   Bridgehub.sol71.21%45.68%81.08%82.88%107, 112, 117, 123, 128, 128, 195, 195–196, 198–199, 199, 199–200, 206–207, 207, 207–208, 208, 208, 210–211, 211, 211–212, 276, 306–308, 310–312, 314, 340, 349–350, 353, 403–404, 406, 406, 406, 449, 457–458, 461, 461, 461–462, 484, 488, 503, 522, 524, 547, 571–572, 651, 654–655, 659–660, 687–688, 693–694, 722, 727
   MessageRoot.sol91.38%61.54%100%100%156, 162, 69, 76, 94
   STMDeploymentTracker.sol79.49%50%90%94.12%110, 114, 31, 38, 61, 88, 91
contracts/common
   ReentrancyGuard.sol100%100%100%100%
contracts/common/libraries
   DataEncoding.sol80%100%100%66.67%72, 80
   DynamicIncrementalMerkle.sol74.42%100%80%72.22%67–70, 72–74, 76–78
   FullMerkle.sol100%100%100%100%
   L2ContractHelper.sol61.76%30%60%78.95%29, 32–33, 46–47, 47, 47, 49, 49, 49, 56
   Merkle.sol93.85%81.82%100%100%53–55, 83
   MessageHashing.sol100%100%100%100%
   Messaging.sol0%100%0%0%10, 14
   SemVer.sol100%100%100%100%
   UncheckedMath.sol100%100%100%100%
   UnsafeBytes.sol100%100%100%100%
contracts/governance
   ChainAdmin.sol21.43%14.29%20%25%27, 37–38, 45–46, 55, 55, 55, 57, 59–60, 60, 63, 66, 76, 76, 76–77
   Governance.sol99.07%96.77%100%100%44
contracts/state-transition
   StateTransitionManager.sol72.84%51.52%58.82%85.26%103, 130–132, 136, 189, 232, 239, 257, 263, 270, 282, 289, 296, 304, 311, 319, 326, 339, 341, 407, 426, 429, 444, 449, 474, 73, 78, 84, 84
   TestnetVerifier.sol77.78%66.67%100%75%16, 32
   ValidatorTimelock.sol98.57%100%100%97.67%236
   Verifier.sol89.88%35.71%96.30%90.93%1673–1674, 287–302, 305–308, 311–318, 321–328, 331–332, 335–336, 339, 384–385, 395–396, 406–407, 417–418, 428–429, 444–445, 454, 454–455, 904–905
contracts/state-transition/chain-deps
   DiamondInit.sol88%70%100%100%32–36, 60
   DiamondProxy.sol92.31%75%100%100%16, 27
contracts/state-transition/chain-deps/facets
   Admin.sol81.61%54.35%86.36%92.45%107, 119, 119, 119–121, 147, 147, 147–148, 148, 148, 150, 171, 218–219, 221, 234–235, 241, 260–261, 266, 303, 313, 317, 39, 39, 95
   Executor.sol78.44%72.81%81.25%81.61%107, 167, 171–172, 172, 172–173, 173, 173, 184, 184, 188, 188, 188, 206, 220, 231, 234, 279, 279, 279, 282, 285, 287–288, 294–295, 314–317, 319, 36, 368, 368, 368–371, 373, 376, 379–380, 389, 405, 408–409, 411–413, 424–426, 446, 487, 494, 513, 518, 527–528, 579, 604–605
   Getters.sol81.82%66.67%82.22%83.58%110, 113, 119, 122, 133, 136, 178, 229, 235, 239, 65, 70, 85, 90
   Mailbox.sol85.47%80.56%92.59%85.32%132, 156, 184, 188, 188, 188, 191, 193–194, 196, 201, 203, 206–207, 212–215, 218–219, 311–312, 52
   ZkSyncHyperchainBase.sol82.14%78.57%85.71%85.71%48, 56, 56, 56
contracts/state-transition/data-availability
   CalldataDA.sol100%100%100%100%
   CalldataDAGateway.sol85.71%66.67%100%100%27–28
   RelayedSLDAValidator.sol96.67%83.33%100%100%94
contracts/state-transition/libraries
   Diamond.sol94.81%86.49%100%97.73%110, 112, 114, 116, 119, 184, 294
   LibMap.sol100%100%100%100%
   PriorityQueue.sol100%100%100%100%
   PriorityTree.sol97.62%80%100%100%80
   TransactionValidator.sol97.18%94.12%100%100%54–55
contracts/upgrades
   BaseZkSyncUpgrade.sol69.42%48.65%100%75%102, 102, 102, 104, 107, 110–111, 122, 122, 122, 124, 127, 130–131, 145–147, 165–167, 206, 208, 223, 241–242, 246, 246, 246, 259, 267,

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.

1 participant