Skip to content

Commit

Permalink
fix sc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Sep 27, 2024
1 parent 9eb1e40 commit d2a1802
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion system-contracts/test/L2GenesisUpgrade.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe("L2GenesisUpgrade tests", function () {

fixedForceDeploymentsData = ethers.utils.defaultAbiCoder.encode(
[
"tuple(uint256 l1ChainId, uint256 eraChainId, address l1AssetRouter, bytes32 l2TokenProxyBytecodeHash, address aliasedL1Governance, uint256 maxNumberOfZKChains, bytes32 bridgehubBytecodeHash, bytes32 l2AssetRouterBytecodeHash, bytes32 l2NtvBytecodeHash, bytes32 messageRootBytecodeHash)",
"tuple(uint256 l1ChainId, uint256 eraChainId, address l1AssetRouter, bytes32 l2TokenProxyBytecodeHash, address aliasedL1Governance, uint256 maxNumberOfZKChains, bytes32 bridgehubBytecodeHash, bytes32 l2AssetRouterBytecodeHash, bytes32 l2NtvBytecodeHash, bytes32 messageRootBytecodeHash, address l2SharedBridgeLegacyImpl, address l2BridgedStandardERC20Impl, address l2BridgeProxyOwnerAddress, address l2BridgedStandardERC20ProxyOwnerAddress)"
],
[
{
Expand All @@ -104,6 +104,11 @@ describe("L2GenesisUpgrade tests", function () {
l2AssetRouterBytecodeHash: l2AssetRouterBytecodeHash,
l2NtvBytecodeHash: ntvBytecodeHash,
messageRootBytecodeHash: messageRootBytecodeHash,
// For genesis upgrade these values will always be zero
l2SharedBridgeLegacyImpl: ethers.constants.AddressZero,
l2BridgedStandardERC20Impl: ethers.constants.AddressZero,
l2BridgeProxyOwnerAddress: ethers.constants.AddressZero,
l2BridgedStandardERC20ProxyOwnerAddress:ethers.constants.AddressZero
},
]
);
Expand Down

0 comments on commit d2a1802

Please sign in to comment.