Skip to content

Commit

Permalink
Fix l1 hardhat test adding evm simulator code hash
Browse files Browse the repository at this point in the history
  • Loading branch information
IAvecilla committed Sep 16, 2024
1 parent 32c05a1 commit 1722402
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions l1-contracts/test/unit_tests/executor_proof.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ describe("Executor test", function () {

/// This test is based on a block generated in a local system.
it("Test hashes (Rollup)", async () => {
const bootloaderHash = "0x010009416e909e0819593a9806bbc841d25c5cdfed3f4a1523497c6814e5194a";
const aaHash = "0x0100065d134a862a777e50059f5e0fbe68b583f3617a67820f7edda0d7f253a0";
const setResult = await executor.setHashes(aaHash, bootloaderHash);
const bootloaderHash = "0x010008bbde6fc402ea3a3d6cb15cb97e70245d3d4e48fb74362d4961b74c16b1";
const aaHash = "0x0100058d9eee51f4b9e9a9ecb7fd7e8301e90bef018c2bd913ed36e583fec8c2";
const evmSimulatorHash = "0x01000ccb740e2345754450eda583f59b31a346920a22f968dfcfc63feae303ee";

const setResult = await executor.setHashes(aaHash, bootloaderHash, evmSimulatorHash);
const finish = await setResult.wait();
expect(finish.status == 1);

Expand Down

0 comments on commit 1722402

Please sign in to comment.