Parent Log: http://ci.aztec-labs.com/0d8f7888711d05bb Command: 6e611b2acba6dc44 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9a37be7dc4208f0eeb44ec50194c00ca3f5c4cc6 Env: REF_NAME=gh-readonly-queue/next/pr-15072-1e338a3fb2e2077f1feaee8b86c42644ff8a5352 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 16:40:54 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15072_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 16:40:58 [16:40:58.843] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:01 [16:41:01.675] INFO: archiver:test Waiting for archiver to sync to block 3 16:41:01 [16:41:01.691] 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":"0x2eafa7474529964d2b11fb1b1a8cea32775a5dda05f53288beeb78d27ae4038e","rollingHash":"0x7d8db500ebbf660c3a6232398165a3a4"},"messageCount":2} 16:41:01 [16:41:01.782] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0cb4dd5e92accacf206929b6fb881acc33795f5f126db3d5c419255d1923b375","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750092058826,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:41:02 [16:41:02.806] 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":"0x23cd42e5c2a08d8e0187cb64ea11ad40b1718aa26d30fe4ff03fa77660b5ac02","rollingHash":"0x2c71aa0a58ae6f1c8a51bb3f5f8eddca"},"messageCount":4} 16:41:02 [16:41:02.839] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 16:41:02 [16:41:02.974] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x16a593fd7f58bd483917ad0d7226660fe72c36268ccc4a0037272ecf6afa32f3","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092058838,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 16:41:02 [16:41:02.975] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x2d7315d59d1e5b6641067927b1f63f8f4158783bfa420a4704b1efe57de92f87","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750092058850,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 16:41:03 [16:41:03.217] INFO: archiver Stopped. 16:41:03 [16:41:03.222] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:05 [16:41:05.961] INFO: archiver:test Waiting for archiver to sync to block 2 16:41:05 [16:41:05.970] 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":"0x1452f7fce1e77c5e5084d0f663388cd32cf1bd5b9c5395c0c7449f665eac5c84","rollingHash":"0xa5d0d1ac9da5c7ed9ac568be4cff0579"},"messageCount":2} 16:41:05 [16:41:05.993] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x1f0cf3b79c95f475c2e1ddea4efa689440ab69c454a0a090819c418cebe67cc3","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 16:41:06 [16:41:06.132] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x111b0b941b3244fdb35aa14411eeb72ec1768edd59534064cd62d8683490c6c3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750092063233,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:41:06 [16:41:06.134] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1f26d5a0f1a94f13ce7f8609c4660df20fb6c55c3c3c3bc8d6e2257cbac8f35a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092063245,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 16:41:06 [16:41:06.218] INFO: archiver Stopped. 16:41:06 [16:41:06.221] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:08 [16:41:08.941] INFO: archiver:test Waiting for archiver to sync to block 2 16:41:09 [16:41:09.975] 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":"0x2c16ad6d54dd0fc492cca2ec3bd45fd721840e7e147ed6f2f511e109e3ecba7c","rollingHash":"0x558bf525c45e48867de008ecf3e5d47c"},"messageCount":2} 16:41:10 [16:41:10.136] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x19288cc08dc6089c49a501807b20f1ecdd699c54981adf2802487c40b5483120","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750092066232,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:41:10 [16:41:10.137] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x24c8cebfc17b5493313e6e321219d4bc88d806b0632c68e2f484e74c9097ca6f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092066244,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 16:41:10 [16:41:10.228] INFO: archiver Stopped. 16:41:10 [16:41:10.231] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:13 [16:41:13.318] INFO: archiver:test Waiting for archiver to sync to block 2 16:41:13 [16:41:13.371] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 16:41:13 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 16:41:13 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 16:41:13 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 16:41:13 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 16:41:13 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 16:41:13 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 16:41:13 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 16:41:14 [16:41:14.381] 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":"0x0730a01eee156e61322886bb0cb22e256265624961b96f4b44ad00b9c8923489","rollingHash":"0x92e1eef74b5c6cf62f057c2cfd749dd5"},"messageCount":2} 16:41:14 [16:41:14.496] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x119748cda1f705f116f0e7b6cb9cd7931ae161b20948ccfcf9f7be4306ff4538","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750092070241,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:41:14 [16:41:14.497] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x078261e77e8eaad6e826af034f90000670213f58b62db1051767a77eb09f6971","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092070253,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 16:41:14 [16:41:14.500] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 16:41:14 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 16:41:14 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 16:41:14 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 16:41:14 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 16:41:14 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 16:41:14 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 16:41:14 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 16:41:15 [16:41:15.645] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 16:41:15 [16:41:15.648] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 16:41:15 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 16:41:15 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 16:41:15 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 16:41:15 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 16:41:15 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 16:41:15 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 16:41:15 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 16:41:16 [16:41:16.602] INFO: archiver Stopped. 16:41:16 [16:41:16.609] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:16 [16:41:16.971] 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":"0x0e5779d06b10aafdbf63cf1e35fef3a69a7b009ecac4b0b9da6b40a2c0265527","rollingHash":"0xc8a88491ba92b5e6cf77112f2c292976"},"messageCount":6} 16:41:16 [16:41:16.973] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0e5779d06b10aafdbf63cf1e35fef3a69a7b009ecac4b0b9da6b40a2c0265527","rollingHash":"0xc8a88491ba92b5e6cf77112f2c292976"},"remoteMessagesState":{"messagesRollingHash":"0x18bf690042ef07c8b636520dfef299d0","totalMessagesInserted":5,"treeInProgress":0}} 16:41:17 [16:41:17.063] WARN: archiver:test Reorging L1 to L2 messages 16:41:17 [16:41:17.983] 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":"0x0e5779d06b10aafdbf63cf1e35fef3a69a7b009ecac4b0b9da6b40a2c0265527","rollingHash":"0xc8a88491ba92b5e6cf77112f2c292976"}} 16:41:17 [16:41:17.986] WARN: archiver Deleting all local L1 to L2 messages after index 33 16:41:17 [16:41:17.987] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 16:41:18 [16:41:18.001] 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":"0x2ddd9d0d721b8b07cfc1f97bb7c65b7795dc9cf059161e078db1c2ed83b63e41","rollingHash":"0x4845d2067f7f8d59b1829647fa985a2a"},"messageCount":5} 16:41:18 [16:41:18.090] INFO: archiver Stopped. 16:41:18 [16:41:18.092] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:18 [16:41:18.426] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 16:41:19 [16:41:19.282] INFO: archiver:test Waiting for archiver to sync to block 1 16:41:19 [16:41:19.390] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x18121a85b8e5b7567f9a3fe3a67013419ff1c672342747f141e30a1bfc72cba2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092078104,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:41:19 [16:41:19.488] INFO: archiver Stopped. 16:41:19 [16:41:19.499] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:19 [16:41:19.850] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 16:41:20 [16:41:20.762] INFO: archiver:test Waiting for archiver to sync to block 1 16:41:20 [16:41:20.969] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2a8fa984bede17d5b80ee82c9bdc9659663e5f26665c609aaee476cbc97e2338","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750092079506,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:41:21 [16:41:21.058] INFO: archiver Stopped. 16:41:21 [16:41:21.074] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:21 [16:41:21.786] INFO: archiver:test Syncing archiver to L1 block 6 16:41:21 [16:41:21.792] 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":"0x918d7b7513fe87d34ba7f74b24af2fddc912c04b692cf9c8c78c193361b27729","l1BlockNumber":0}} 16:41:21 [16:41:21.817] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000006","l1BlockNumber":6}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 16:41:21 [16:41:21.819] INFO: archiver Stopped. 16:41:21 [16:41:21.822] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:22 [16:41:22.234] INFO: archiver:test Syncing archiver to L1 block 7 16:41:22 [16:41:22.239] 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":"0x9dfc69507b4375fd300160b222d311df7d19a20ec38385b35ac99e5b2b571d84","l1BlockNumber":0}} 16:41:22 [16:41:22.265] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000007","l1BlockNumber":7}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 16:41:22 [16:41:22.268] INFO: archiver Stopped. 16:41:22 [16:41:22.271] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:22 [16:41:22.813] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 16:41:24 [16:41:24.183] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0112521d5cc6a754e1e0a0e50bd61cc5f45d28a90d6a2827e4b2ca6d7d5e378a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750092082282,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:41:24 [16:41:24.200] INFO: archiver Stopped. 16:41:24 [16:41:24.203] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:24 [16:41:24.827] 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":"0x8b2ad69eaf935c496b5b4b59f135f4232d6f0a2c583abc31bb944e1de3dd26b9","l1BlockNumber":0}} 16:41:24 [16:41:24.870] INFO: archiver Stopped. 16:41:24 [16:41:24.872] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:28 [16:41:28.976] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1dae6916b6d0a0a158c3dd44adaa1b5f3c842110de58fd9bc5e6e3f3925a1f16","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750092084883,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:41:28 [16:41:28.978] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0449e33ea56e6bc525aa461cbcfc930ddffb1dfc4bb198588cfa8c6fd9ac6b7a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092084895,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 16:41:30 [16:41:30.231] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 16:41:31 [16:41:31.311] 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 16:41:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 16:41:31 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 16:41:31 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 16:41:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 16:41:31 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 16:41:31 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 16:41:31 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 16:41:31 newBlockNumber: 3, 16:41:31 previousBlockNumber: 1 16:41:31 } 16:41:31 [16:41:31.333] 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":"0x1dae6916b6d0a0a158c3dd44adaa1b5f3c842110de58fd9bc5e6e3f3925a1f16","newBlockNumber":3,"updatedL1SyncPoint":70} 16:41:31 [16:41:31.334] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 16:41:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 16:41:31 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 16:41:31 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 16:41:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 16:41:31 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 16:41:31 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 16:41:31 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 16:41:31 newBlockNumber: 3, 16:41:31 previousBlockNumber: 1 16:41:31 } 16:41:32 [16:41:32.506] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0449e33ea56e6bc525aa461cbcfc930ddffb1dfc4bb198588cfa8c6fd9ac6b7a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092084895,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 16:41:32 [16:41:32.507] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x189586e5539ac58dde6ae2073b601b00b9798b58f23ac0252f02792aa54184dc","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750092084907,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 16:41:32 [16:41:32.592] INFO: archiver Stopped. 16:41:32 PASS src/archiver/archiver.test.ts (37.06 s) 16:41:32 Archiver 16:41:32 syncs l1 to l2 messages and blocks (4406 ms) 16:41:32 ignores block 3 because it has been pruned (2999 ms) 16:41:32 skip event search if no changes found (4008 ms) 16:41:32 handles L2 reorg (6374 ms) 16:41:32 handles updated messages due to L1 reorg (1487 ms) 16:41:32 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1402 ms) 16:41:32 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1571 ms) 16:41:32 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (756 ms) 16:41:32 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (448 ms) 16:41:32 reports an epoch as complete due to timestamp only once all its blocks have been synced (1932 ms) 16:41:32 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (669 ms) 16:41:32 handles a block gap due to a spurious L2 prune (7722 ms) 16:41:32 skipped handles an upcoming L2 prune 16:41:32 16:41:32 Test Suites: 1 passed, 1 total 16:41:32 Tests: 1 skipped, 12 passed, 13 total 16:41:32 Snapshots: 0 total 16:41:32 Time: 37.168 s 16:41:32 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 16:41:32 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?