Parent Log: http://ci.aztec-labs.com/b356907553fe9b08 Command: c065bf7213f35b7e yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/f495236d35f9bb0d1086b7ec79256c2c2b7c98b8 Env: REF_NAME=gh-readonly-queue/staging/pr-15201-f0619dd82429a5973f3e1da8d7eb0877264908e3 CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Sat Jun 21 13:25:16 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15201_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_staging 13:25:19 [13:25:19.442] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:25:22 [13:25:22.214] INFO: archiver:test Waiting for archiver to sync to block 3 13:25:22 [13:25:22.231] INFO: archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1 {"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000063","l1BlockNumber":99,"l2BlockNumber":1,"leaf":"0x02228547675713fa982914ed5e0872ed9ac40dcb76bb66cc34a58b41d6ca2a04","rollingHash":"0x86afebbd085717d53f284054b2e5817f"},"messageCount":2} 13:25:22 [13:25:22.307] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x06393cd318a883d2d6b66f33728a46bc0c89310743ecab0a609f27bef645478e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750512319443,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:25:23 [13:25:23.322] INFO: archiver Retrieved 4 new L1 to L2 messages up to message with index 32 for L2 block 3 {"lastMessage":{"index":32,"l1BlockHash":"0x00000000000000000000000000000000000000000000000000000000000009ca","l1BlockNumber":2506,"l2BlockNumber":3,"leaf":"0x08eed7fcfd51b3e4dfc87f70aa9eb81fc5fe582ae214e78a7c34e338063e22a8","rollingHash":"0x69b424e3f1796f95249881025445dc8b"},"messageCount":4} 13:25:23 [13:25:23.346] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 13:25:23 [13:25:23.481] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x248882dd8c3d55381b9624b528f86db8fe5cc64e46e3dfb604df9d923de086b6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750512319455,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:25:23 [13:25:23.481] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x2e251923effc35095eadcd91e12a5908ae6ce2502c0e4196cbbf89eed225f688","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750512319467,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 13:25:23 [13:25:23.682] INFO: archiver Stopped. 13:25:23 [13:25:23.685] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:25:26 [13:25:26.239] INFO: archiver:test Waiting for archiver to sync to block 2 13:25:26 [13:25:26.247] INFO: archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1 {"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x10d101b070b8d12d4b34c88d41f5c7aee4c3837aefb4cd3b6fb0e06ca059eb75","rollingHash":"0x1952eec97ae250fa8e7af03f26aac254"},"messageCount":2} 13:25:26 [13:25:26.264] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x25a7f2e45a726c4b3742e5c5bd4bb953b0379904964765b9dda8525a5223f9cc","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 13:25:26 [13:25:26.361] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1f33111676d962d45b15e9782403f9aae0a149c93082a2e84ec352dd72549f67","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750512323697,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:25:26 [13:25:26.361] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0387a87f75dcaa3ec17f4baa062ec5f1919bf6396318fccd9ff15592636b45d6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750512323709,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:25:26 [13:25:26.447] INFO: archiver Stopped. 13:25:26 [13:25:26.449] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:25:29 [13:25:29.003] INFO: archiver:test Waiting for archiver to sync to block 2 13:25:30 [13:25:30.018] INFO: archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1 {"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x0fdfcf6d14a190139e4226588393418bee4d495036c7ae6c3c4a2620f299531a","rollingHash":"0x8a4ad607a4e1aaebdb9d211e20373c72"},"messageCount":2} 13:25:30 [13:25:30.130] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0d883eb1259876fa598a1b15d0526ab8bb25020e84fe3fbe361de0cf65fac610","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750512326460,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:25:30 [13:25:30.130] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x231fd90c3202ac4231c56a409cf2cbb920ce41b1b52b9a1692216572ab199001","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750512326472,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:25:30 [13:25:30.219] INFO: archiver Stopped. 13:25:30 [13:25:30.220] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:25:32 [13:25:32.771] INFO: archiver:test Waiting for archiver to sync to block 2 13:25:32 [13:25:32.803] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 13:25:32 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 13:25:32 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 13:25:32 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 13:25:32 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 13:25:32 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 13:25:32 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 13:25:32 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 13:25:33 [13:25:33.811] INFO: archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1 {"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x185a56a0eda6f4e827222434ee7fe735474f9ea0ceaa1e537571ae345f2449a1","rollingHash":"0x9edf1cfb21c3ae3385a350d81817584f"},"messageCount":2} 13:25:33 [13:25:33.925] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x07c1dd14c614b2d2ae953c35c919154bf9645b06c28ac7180ee2ea96d4de63da","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750512330232,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:25:33 [13:25:33.925] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x028e20c1367b509f931d9a48b4c2b639fdd51c02b24891ec0c858e5eca55c4d6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750512330244,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:25:33 [13:25:33.927] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 13:25:33 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 13:25:33 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 13:25:33 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 13:25:33 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 13:25:33 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 13:25:33 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 13:25:33 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 13:25:35 [13:25:35.019] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 13:25:35 [13:25:35.021] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 13:25:35 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 13:25:35 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 13:25:35 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 13:25:35 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 13:25:35 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 13:25:35 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 13:25:35 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 13:25:36 [13:25:36.017] INFO: archiver Stopped. 13:25:36 [13:25:36.019] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:25:36 [13:25:36.279] INFO: archiver Retrieved 6 new L1 to L2 messages up to message with index 35 for L2 block 3 {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0fb9011ee335c0ce78f142c568f80989482f148e65e51c9a74eef4dcb7df68e5","rollingHash":"0x8c438edd5bef7b3584ec06b1b7a5586c"},"messageCount":6} 13:25:36 [13:25:36.279] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0fb9011ee335c0ce78f142c568f80989482f148e65e51c9a74eef4dcb7df68e5","rollingHash":"0x8c438edd5bef7b3584ec06b1b7a5586c"},"remoteMessagesState":{"messagesRollingHash":"0x8c970329ae9f3d761b605bf1a19b5415","totalMessagesInserted":5,"treeInProgress":0}} 13:25:36 [13:25:36.375] WARN: archiver:test Reorging L1 to L2 messages 13:25:37 [13:25:37.287] WARN: archiver Rolling back L1 to L2 messages due to hash mismatch or msg not found. {"messagesSyncPoint":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101},"localLastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0fb9011ee335c0ce78f142c568f80989482f148e65e51c9a74eef4dcb7df68e5","rollingHash":"0x8c438edd5bef7b3584ec06b1b7a5586c"}} 13:25:37 [13:25:37.289] WARN: archiver Deleting all local L1 to L2 messages after index 33 13:25:37 [13:25:37.290] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 13:25:37 [13:25:37.306] INFO: archiver Retrieved 5 new L1 to L2 messages up to message with index 65 for L2 block 5 {"lastMessage":{"index":65,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000066","l1BlockNumber":102,"l2BlockNumber":5,"leaf":"0x2d4deb2abcd2f84d0330d3f114ed38013a565818054fc2ac22cad42fb14aab86","rollingHash":"0xd1bbb770e67e720a585ae90be86a99c9"},"messageCount":5} 13:25:37 [13:25:37.385] INFO: archiver Stopped. 13:25:37 [13:25:37.386] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:25:37 [13:25:37.643] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 13:25:38 [13:25:38.395] INFO: archiver:test Waiting for archiver to sync to block 1 13:25:38 [13:25:38.455] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x17a0fda6df7d37b552ae8936f74924ab7bf55e7170de74f25bf2eb3783684817","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750512337398,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:25:38 [13:25:38.498] INFO: archiver Stopped. 13:25:38 [13:25:38.501] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:25:38 [13:25:38.758] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 13:25:39 [13:25:39.513] INFO: archiver:test Waiting for archiver to sync to block 1 13:25:39 [13:25:39.575] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0c3e987a06510fe4f7c121a60868bbb45a2c3517820e6f7f11fbda6898ee6914","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750512338511,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:25:39 [13:25:39.616] INFO: archiver Stopped. 13:25:39 [13:25:39.618] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:25:39 [13:25:39.881] INFO: archiver:test Syncing archiver to L1 block 6 13:25:39 [13:25:39.882] INFO: archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 6 with hash 0x0000000000000000000000000000000000000000000000000000000000000006 {"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0x87c3d8ffcc09c2ef44630b6b70ea0607d0573605c95ab670fc23122ce42b4a56","l1BlockNumber":0}} 13:25:39 [13:25:39.901] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 13:25:39 [13:25:39.903] INFO: archiver Stopped. 13:25:39 [13:25:39.904] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:25:40 [13:25:40.169] INFO: archiver:test Syncing archiver to L1 block 7 13:25:40 [13:25:40.170] INFO: archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 7 with hash 0x0000000000000000000000000000000000000000000000000000000000000007 {"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0xc2e3a9822fcb4e4e6c73ca3fc23e4c8f66acfab9ca1d76e51ea7f33c6491e3fb","l1BlockNumber":0}} 13:25:40 [13:25:40.179] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 13:25:40 [13:25:40.182] INFO: archiver Stopped. 13:25:40 [13:25:40.183] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:25:40 [13:25:40.445] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 13:25:41 [13:25:41.256] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x19ece5e2c4eb7933084936d7f25fa9d0369aee4b15dd94b0b8d35dd6bfc9950f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750512340195,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:25:41 [13:25:41.260] INFO: archiver Stopped. 13:25:41 [13:25:41.261] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:25:41 [13:25:41.522] INFO: archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 2000 with hash 0x00000000000000000000000000000000000000000000000000000000000007d0 {"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0xe3b2298ec8ff23e0f57116a188b4565f5e41cafe4acc5ed9794d40643b00c16d","l1BlockNumber":0}} 13:25:41 [13:25:41.531] INFO: archiver Stopped. 13:25:41 [13:25:41.532] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:25:44 [13:25:44.214] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0280a8b9460a3bac65a6d63a11e7c3934e2951b5db4f525326def0a890324202","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750512341544,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:25:44 [13:25:44.214] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x204d99bfe6c1e42f36cf8b4b9a063aef96a379a5f80b8d9d2e8bbc82432b3d26","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750512341556,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:25:45 [13:25:45.308] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 13:25:46 [13:25:46.347] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 13:25:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 13:25:46 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 13:25:46 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 13:25:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 13:25:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 13:25:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 13:25:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 13:25:46 newBlockNumber: 3, 13:25:46 previousBlockNumber: 1 13:25:46 } 13:25:46 [13:25:46.368] WARN: archiver Attempting to insert block 3 with previous block 1. Rolling back L1 sync point to 70 to try and fetch the missing blocks. {"previousBlockNumber":1,"previousBlockHash":"0x0280a8b9460a3bac65a6d63a11e7c3934e2951b5db4f525326def0a890324202","newBlockNumber":3,"updatedL1SyncPoint":70} 13:25:46 [13:25:46.369] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 13:25:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 13:25:46 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 13:25:46 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 13:25:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 13:25:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 13:25:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 13:25:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 13:25:46 newBlockNumber: 3, 13:25:46 previousBlockNumber: 1 13:25:46 } 13:25:47 [13:25:47.512] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x204d99bfe6c1e42f36cf8b4b9a063aef96a379a5f80b8d9d2e8bbc82432b3d26","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750512341556,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:25:47 [13:25:47.512] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x2146f5facde61e5b5ab9454f3552794603317599efa9c1c909c946b9eeeb573b","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750512341568,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 13:25:47 [13:25:47.602] INFO: archiver Stopped. 13:25:47 PASS src/archiver/archiver.test.ts (30.61 s) 13:25:47 Archiver 13:25:47 syncs l1 to l2 messages and blocks (4254 ms) 13:25:47 ignores block 3 because it has been pruned (2763 ms) 13:25:47 skip event search if no changes found (3771 ms) 13:25:47 handles L2 reorg (5798 ms) 13:25:47 handles updated messages due to L1 reorg (1367 ms) 13:25:47 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1113 ms) 13:25:47 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1118 ms) 13:25:47 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (286 ms) 13:25:47 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (279 ms) 13:25:47 reports an epoch as complete due to timestamp only once all its blocks have been synced (1078 ms) 13:25:47 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (271 ms) 13:25:47 handles a block gap due to a spurious L2 prune (6071 ms) 13:25:47 skipped handles an upcoming L2 prune 13:25:47 13:25:47 Test Suites: 1 passed, 1 total 13:25:47 Tests: 1 skipped, 12 passed, 13 total 13:25:47 Snapshots: 0 total 13:25:47 Time: 30.683 s 13:25:47 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 13:25:47 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?