From fad9bf7a74563571ce99c3eb755e8a9b449668d5 Mon Sep 17 00:00:00 2001 From: zkJoaquin Date: Fri, 27 Sep 2024 11:42:14 +0800 Subject: [PATCH] fix: PasskeyBinder hash --- l1-contracts/scripts/upgrade-consistency-checker.ts | 4 ++-- system-contracts/SystemContractsHashes.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/l1-contracts/scripts/upgrade-consistency-checker.ts b/l1-contracts/scripts/upgrade-consistency-checker.ts index 0f59e5170..d9d755659 100644 --- a/l1-contracts/scripts/upgrade-consistency-checker.ts +++ b/l1-contracts/scripts/upgrade-consistency-checker.ts @@ -58,11 +58,11 @@ const maxNumberOfHyperchains = 100; const expectedStoredBatchHashZero = "0x1574fa776dec8da2071e5f20d71840bfcbd82c2bca9ad68680edfedde1710bc4"; const expectedL2BridgeAddress = "0x11f943b2c77b743AB90f4A0Ae7d5A4e7FCA3E102"; const expectedL1LegacyBridge = "0x57891966931Eb4Bb6FB81430E6cE0A03AAbDe063"; -const expectedGenesisBatchCommitment = "0x554c1727dd2c07f9380d41f881e8b40f812a304e32af15c00ee43d18b3ebc319"; +const expectedGenesisBatchCommitment = "0x6e98202335f42b75a15c864849a5d60a9acbbb8fb992c37b0d08c11d1ba416b9"; const expectedIndexRepeatedStorageChanges = BigNumber.from(56); const expectedProtocolVersion = BigNumber.from(2).pow(32).mul(24); -const expectedGenesisRoot = "0x9ea33984a969780901bf453bc87234596a8598e32135546b4a6189fe54c24bf2"; +const expectedGenesisRoot = "0xeb50f8acddfe196e2219c2c1bca2264316d895f2c8ab666556e9870923bc55a3"; const expectedRecursionNodeLevelVkHash = "0xf520cd5b37e74e19fdb369c8d676a04dce8a19457497ac6686d2bb95d94109c8"; const expectedRecursionLeafLevelVkHash = "0xf9664f4324c1400fa5c3822d667f30e873f53f1b8033180cd15fe41c1e2355c6"; const expectedRecursionCircuitsSetVksHash = "0x0000000000000000000000000000000000000000000000000000000000000000"; diff --git a/system-contracts/SystemContractsHashes.json b/system-contracts/SystemContractsHashes.json index 6fadd5168..fce6e2228 100644 --- a/system-contracts/SystemContractsHashes.json +++ b/system-contracts/SystemContractsHashes.json @@ -101,8 +101,8 @@ "contractName": "PasskeyBinder", "bytecodePath": "artifacts-zk/contracts-preprocessed/PasskeyBinder.sol/PasskeyBinder.json", "sourceCodePath": "contracts-preprocessed/PasskeyBinder.sol", - "bytecodeHash": "0x0100012b62c6ab437122702618511fef86b76418618b8de5da0d1014bbe65bb9", - "sourceCodeHash": "0xfd5df407fd69df75f0f3f1d8f0e284bcaefd791278d9983e1e964b7a8d8b5b15" + "bytecodeHash": "0x010001118ac50d2751a65e989bf6bceb653d22b8fe10ba3bca42aeac5bcada26", + "sourceCodeHash": "0x392d0034f12d22358783f7a88866352c45c5ce5332ee41b1d044b905b202e237" }, { "contractName": "PubdataChunkPublisher",