Skip to content

Conversation

Raid5594
Copy link
Collaborator

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.

Copy link

Coverage after merging ra/generate-testnet-calldata-zksync-os-ctm into zksync-os-stable will be

80.66%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
contracts/bridge
   BridgeHelper.sol85.71%100%100%85%31, 36, 41
   BridgedStandardERC20.sol82.14%100%92.31%80.28%120–121, 126–127, 139–140, 164, 205, 212, 219, 229–230, 63, 91
   L1ERC20Bridge.sol94%100%100%93.02%189, 208, 270
   L1Nullifier.sol83.33%100%86.21%82.89%114, 128–130, 160, 221, 224, 234, 237, 247, 250, 418–420, 424–425, 452, 518, 602, 614, 652, 654, 698, 710, 713, 715, 728, 741–742, 746–747, 767
contracts/bridge/asset-router
   AssetRouterBase.sol94.87%100%100%93.75%50, 70
   L1AssetRouter.sol84.54%100%80.65%85.28%216, 254, 270, 357, 368, 399, 438–439, 453, 484, 556, 645, 656, 66, 670, 675, 685–686, 693–694, 697–698, 82, 90
contracts/bridge/interfaces
   AssetHandlerModifiers.sol75%100%100%66.67%13
contracts/bridge/ntv
   L1NativeTokenVault.sol84.62%100%86.36%84.26%146–152, 154, 222–223, 225, 236, 238, 242, 320–321, 68
   NativeTokenVault.sol89.08%100%91.67%88.67%210, 215, 232, 250, 255, 271, 290, 298, 464, 479, 507, 540–541, 545–546, 62, 78
   UpgradeableBeaconDeployer.sol0%100%0%0%15–16, 18, 20–21
contracts/bridgehub
   BridgehubBase.sol83.99%100%86.67%83.52%128, 137, 145, 150–152, 159, 177, 222–223, 231, 234, 243, 253, 266, 281, 310, 334, 337, 396, 412, 443, 523, 703, 707, 711–712, 731, 734, 785, 788, 791, 826, 830, 833, 868–869, 873–874, 882–883, 887–888
   CTMDeploymentTracker.sol73.47%100%81.82%71.05%106, 110, 114, 139, 143–144, 32, 40, 65, 78–79
   ChainAssetHandlerBase.sol73.68%100%75%73.47%102, 116, 119, 129, 174, 222–223, 227–228, 54, 61–62, 70
   L1Bridgehub.sol76.92%100%71.43%78.95%47–48, 51–52
   L1ChainAssetHandler.sol75%100%66.67%77.78%39–40, 48–49
   L1MessageRoot.sol100%100%100%100%
   L2Bridgehub.sol75%100%60%80%55, 73–74
   L2ChainAssetHandler.sol81.48%100%71.43%85%34, 51–52
   L2MessageRoot.sol57.14%100%50%60%30–31, 39–40
   L2MessageVerification.sol100%100%100%100%
   MessageRootBase.sol93.15%100%100%91.80%104, 112, 129, 176, 186
contracts/common
   ReentrancyGuard.sol95%100%100%94.12%79
contracts/common/l2-helpers
   L2ContractHelper.sol84.91%100%100%82.22%102, 108, 112, 129, 134, 73, 79, 83
   SystemContractsCaller.sol0%100%0%0%102, 114, 122–125, 128, 135–139, 141–142, 32–34, 37, 44–45, 47, 49, 51, 53, 66, 69, 72, 75, 78, 83, 89, 91, 93, 96, 98
contracts/common/libraries
   DataEncoding.sol85.11%100%100%81.58%109–110, 117–118, 163, 177, 45
   DynamicIncrementalMerkle.sol73.91%100%80%73.17%66–70, 72–74, 76–78
   FullMerkle.sol100%100%100%100%
   Merkle.sol98.15%100%100%97.96%83
   MessageHashing.sol95.16%100%100%94.64%113, 77, 94
   SemVer.sol100%100%100%100%
   UncheckedMath.sol100%100%100%100%
   UnsafeBytes.sol100%100%100%100%
contracts/governance
   AccessControlRestriction.sol100%100%100%100%
   ChainAdmin.sol97.87%100%100%97.30%39
   ChainAdminOwnable.sol44.83%100%40%45.83%28, 38–40, 46–48, 57, 66, 77–79, 81
   Governance.sol100%100%100%100%
   L2ProxyAdminDeployer.sol0%100%0%0%16–18, 20
   PermanentRestriction.sol88.80%100%100%87.39%103, 110–111, 199–200, 203–204, 207, 209–210, 239, 287, 309, 340
   ServerNotifier.sol93.10%100%100%90.91%55, 65
   TransitionaryOwner.sol0%100%0%0%16–17, 21–23
contracts/governance/restriction
   Restriction.sol100%100%100%100%
   RestrictionValidator.sol100%100%100%100%
contracts/l2-upgrades
   L2ComplexUpgrader.sol0%100%0%0%23, 25–26, 40, 45, 47, 57, 63–64, 71, 80–82, 85, 87–88
   L2GenesisForceDeploymentsHelper.sol0%100%0%0%100, 105, 112–113, 116–118, 124, 132, 136, 141, 143, 153, 162, 165, 170, 180, 182–183, 186, 189, 195, 199, 203, 214, 223, 228, 230, 238, 249, 263, 269, 289, 297–298, 301–302, 304, 311, 317, 37–39, 41, 49, 52–53, 58, 64–66, 74–76, 78, 88, 96
   L2GenesisUpgrade.sol0%100%0%0%23, 30–31, 36–37, 41, 49
contracts/state-transition
   AccessControlEnumerablePerChainAddressUpgradeable.sol98.15%100%100%97.67%179
   ChainTypeManager.sol85.93%100%84.62%86.25%111, 123, 129, 137–138, 245–248, 261–264, 279, 409, 471, 499, 506, 533, 581, 589–590
   ValidatorTimelock.sol89.25%100%77.78%92%120, 140, 163, 273, 292, 97
contracts/state-transition/chain-deps
   DiamondInit.sol93.33%100%100%93.02%

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