Skip to content

Commit

Permalink
fix l1 test
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Sep 27, 2024
1 parent d1e3577 commit 0f96f38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions l1-contracts/src.ts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ export class Deployer {
messageRootBytecodeHash: ethers.utils.hexlify(hashL2Bytecode(messageRootZKBytecode)),
l2SharedBridgeLegacyImpl: ethers.constants.AddressZero,
l2BridgedStandardERC20Impl: ethers.constants.AddressZero,
l2BridgeProxyOwnerAddress: ethers.constants.AddressZero,
l2BridgedStandardERC20ProxyOwnerAddress:ethers.constants.AddressZero
l2BridgeProxyOwnerAddress: ethers.constants.AddressZero,
l2BridgedStandardERC20ProxyOwnerAddress: ethers.constants.AddressZero,
};

return ethers.utils.defaultAbiCoder.encode([FIXED_FORCE_DEPLOYMENTS_DATA_ABI_STRING], [fixedForceDeploymentsData]);
Expand Down
6 changes: 3 additions & 3 deletions 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, address l2SharedBridgeLegacyImpl, address l2BridgedStandardERC20Impl, address l2BridgeProxyOwnerAddress, address l2BridgedStandardERC20ProxyOwnerAddress)"
"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 @@ -107,8 +107,8 @@ describe("L2GenesisUpgrade tests", function () {
// 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
l2BridgeProxyOwnerAddress: ethers.constants.AddressZero,
l2BridgedStandardERC20ProxyOwnerAddress: ethers.constants.AddressZero,
},
]
);
Expand Down

0 comments on commit 0f96f38

Please sign in to comment.