Parent Log: http://ci.aztec-labs.com/cda42aa9421eefa5 Command: 7c288cdaeed3e186 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/58b067708e8ff927bf26b2994203134853a7eb71 Env: REF_NAME=gh-readonly-queue/next/pr-15078-3b44f825dcd3249b2c8a1105905fa3394aa7213d CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 17:52:57 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15078_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 17:53:02 [17:53:02.226] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:53:05 [17:53:05.441] INFO: archiver:test Waiting for archiver to sync to block 3 17:53:05 [17:53:05.461] 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":"0x198d92d15751454c47542b509352ad40b1773613d57bdb6fe302e848eb5ada5d","rollingHash":"0x5098ef2d7332ea6bc6d9a72247fdaf2e"},"messageCount":2} 17:53:05 [17:53:05.578] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1d8208e7673ab3af64ac10a7efa3d9d6b2f406d866d63989def323c739dec1a2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750096382225,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:53:06 [17:53:06.634] 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":"0x24c43b4bc518bb7e329c86c4fa46b9432f83d6e5d3493cceec703e0b3e3c4de6","rollingHash":"0xee0bf21e135a75ccb9fecb9e8f1060c8"},"messageCount":4} 17:53:06 [17:53:06.719] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 17:53:06 [17:53:06.979] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x281fcbfdb982f9312b6984c03bcb7cb5ae1b0772faed4f4e4be9f5044cc454da","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750096382237,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 17:53:06 [17:53:06.980] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1f7d3d83c0bbbc18505d7b0a80e75aa9869c7abe4a35aefe65a2a5182be9b678","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750096382249,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 17:53:07 [17:53:07.106] INFO: archiver Stopped. 17:53:07 [17:53:07.111] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:53:09 [17:53:09.874] INFO: archiver:test Waiting for archiver to sync to block 2 17:53:09 [17:53:09.888] 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":"0x0a08072f10779e8cb837dddbb0b448b51336df1bba7cf404adbbd4c35727b3c0","rollingHash":"0xcb2e28bd204dace6335852ec2e5e191c"},"messageCount":2} 17:53:09 [17:53:09.918] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x11d44c97787ea1add21f4b5d841f61996b2b4149b3e7f1382be433ebd83b4471","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 17:53:10 [17:53:10.063] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x113d70dcff89b0dd8187e6248fbc77fad65e2c640b782a37059e9088d79aed3b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750096387123,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:53:10 [17:53:10.064] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2ce404013049faf15227948156800546c224c53f932fefb2c34d2418bc8248e5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750096387135,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 17:53:10 [17:53:10.147] INFO: archiver Stopped. 17:53:10 [17:53:10.150] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:53:13 [17:53:13.149] INFO: archiver:test Waiting for archiver to sync to block 2 17:53:14 [17:53:14.176] 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":"0x0d40a25d19c5f6c1ff2a179448785da4f0fd4b7f4496df9b9e1171a83ad4b9bc","rollingHash":"0xd8f175f681a14823c8bd565f6c842bbd"},"messageCount":2} 17:53:14 [17:53:14.302] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x29c7a4dcd390306c3094d3aa146de368169e21d341c444d45977af18db70d56b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750096390162,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:53:14 [17:53:14.303] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2e89da0fa1dcc22680d636d2a40a0d120965caa214769690121c2d60038c7415","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750096390174,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 17:53:14 [17:53:14.393] INFO: archiver Stopped. 17:53:14 [17:53:14.396] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:53:17 [17:53:17.090] INFO: archiver:test Waiting for archiver to sync to block 2 17:53:17 [17:53:17.157] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 17:53:17 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 17:53:17 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 17:53:17 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 17:53:17 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 17:53:17 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 17:53:17 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 17:53:17 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 17:53:18 [17:53:18.170] 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":"0x22158d1411ea1abe755ce22d1c30fbcb01bdd0d44f36b30ee640b067c6ae7141","rollingHash":"0x75ea9748e89da2ea29292baada13d33e"},"messageCount":2} 17:53:18 [17:53:18.348] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1883f64c020e063e82079494c9d152dc6782cd11b0f46746625b72dda5da94c6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750096394407,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:53:18 [17:53:18.349] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x04cd2122c1bf0c29ad670015f0b31322eb26b5dd323f727d2e97c2ff9a1ceac3","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750096394419,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 17:53:18 [17:53:18.352] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 17:53:18 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 17:53:18 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 17:53:18 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 17:53:18 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 17:53:18 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 17:53:18 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 17:53:18 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 17:53:19 [17:53:19.483] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 17:53:19 [17:53:19.486] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 17:53:19 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 17:53:19 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 17:53:19 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 17:53:19 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 17:53:19 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 17:53:19 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 17:53:19 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 17:53:20 [17:53:20.417] INFO: archiver Stopped. 17:53:20 [17:53:20.424] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:53:21 [17:53:21.067] 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":"0x239d29661779a96bba017882ac561324d0f6f121094f1e0b12c192a2914b7575","rollingHash":"0x82a782d9b58b5cdcf182796af4ff5ac9"},"messageCount":6} 17:53:21 [17:53:21.069] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x239d29661779a96bba017882ac561324d0f6f121094f1e0b12c192a2914b7575","rollingHash":"0x82a782d9b58b5cdcf182796af4ff5ac9"},"remoteMessagesState":{"messagesRollingHash":"0x2045cffc75578719b79da9301fcb2257","totalMessagesInserted":5,"treeInProgress":0}} 17:53:21 [17:53:21.164] WARN: archiver:test Reorging L1 to L2 messages 17:53:22 [17:53:22.082] 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":"0x239d29661779a96bba017882ac561324d0f6f121094f1e0b12c192a2914b7575","rollingHash":"0x82a782d9b58b5cdcf182796af4ff5ac9"}} 17:53:22 [17:53:22.086] WARN: archiver Deleting all local L1 to L2 messages after index 33 17:53:22 [17:53:22.087] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 17:53:22 [17:53:22.106] 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":"0x193e8654e49d000b206ff9655a6720b0e134a2c3c5a8bea9df956a49cf922ec5","rollingHash":"0xf0d57420204890f4127105a8cef98e3a"},"messageCount":5} 17:53:22 [17:53:22.189] INFO: archiver Stopped. 17:53:22 [17:53:22.197] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:53:22 [17:53:22.559] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 17:53:23 [17:53:23.496] INFO: archiver:test Waiting for archiver to sync to block 1 17:53:23 [17:53:23.640] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x10f161abfcddcbccc9d77d19c99f6fdbaa52bb6d6fc07bd91b4e41e3cc959639","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750096402202,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:53:23 [17:53:23.736] INFO: archiver Stopped. 17:53:23 [17:53:23.741] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:53:24 [17:53:24.089] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 17:53:25 [17:53:25.410] INFO: archiver:test Waiting for archiver to sync to block 1 17:53:25 [17:53:25.521] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0f28098450cbcfa757553d71956e6fcc39f7271edc350a42e8fd88b8d58e7aa1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750096403751,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:53:25 [17:53:25.626] INFO: archiver Stopped. 17:53:25 [17:53:25.628] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:53:26 [17:53:26.112] INFO: archiver:test Syncing archiver to L1 block 6 17:53:26 [17:53:26.117] 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":"0xc11dbcb015387a5962d02daf125049ebd8f888174a72d6b5f49df65ec2dbe38f","l1BlockNumber":0}} 17:53:26 [17:53:26.137] 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}} 17:53:26 [17:53:26.140] INFO: archiver Stopped. 17:53:26 [17:53:26.142] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:53:26 [17:53:26.757] INFO: archiver:test Syncing archiver to L1 block 7 17:53:26 [17:53:26.770] 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":"0xcbd49e023e25cf154d82e12ba536024d78cf943d87569318cfb8b521d746fbec","l1BlockNumber":0}} 17:53:26 [17:53:26.806] 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}} 17:53:26 [17:53:26.813] INFO: archiver Stopped. 17:53:26 [17:53:26.816] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:53:27 [17:53:27.284] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 17:53:28 [17:53:28.371] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2ad93f92b58eedb5d73bfab6f282f4169fcb95988edeedbd80ddc6b08d34c73f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750096406827,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:53:28 [17:53:28.378] INFO: archiver Stopped. 17:53:28 [17:53:28.380] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:53:28 [17:53:28.759] 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":"0x205feaf610837736de7009ff361767cf0e600f38404c548beb75d66aee72fe04","l1BlockNumber":0}} 17:53:28 [17:53:28.777] INFO: archiver Stopped. 17:53:28 [17:53:28.779] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:53:32 [17:53:32.399] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1c53c32bcaaaea2d6cdf813cfce6c3ba72977c88d78873a522c62f5c2388449f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750096408790,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:53:32 [17:53:32.401] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2d9c294dea869d5ad33dca55abf9042bf18d102c6cd588cf9005b3e2a75c05ff","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750096408802,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 17:53:33 [17:53:33.579] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 17:53:34 [17:53:34.644] 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 17:53:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 17:53:34 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 17:53:34 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 17:53:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 17:53:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 17:53:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 17:53:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 17:53:34 newBlockNumber: 3, 17:53:34 previousBlockNumber: 1 17:53:34 } 17:53:34 [17:53:34.674] 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":"0x1c53c32bcaaaea2d6cdf813cfce6c3ba72977c88d78873a522c62f5c2388449f","newBlockNumber":3,"updatedL1SyncPoint":70} 17:53:34 [17:53:34.675] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 17:53:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 17:53:34 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 17:53:34 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 17:53:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 17:53:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 17:53:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 17:53:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 17:53:34 newBlockNumber: 3, 17:53:34 previousBlockNumber: 1 17:53:34 } 17:53:35 [17:53:35.925] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2d9c294dea869d5ad33dca55abf9042bf18d102c6cd588cf9005b3e2a75c05ff","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750096408802,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 17:53:35 [17:53:35.927] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x22ada24b65fffb67dfd6c5a38f4d1dac6d3b2190e18e3d1571eb3e79b2c05eb8","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750096408814,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 17:53:35 [17:53:35.996] INFO: archiver Stopped. 17:53:36 PASS src/archiver/archiver.test.ts (36.964 s) 17:53:36 Archiver 17:53:36 syncs l1 to l2 messages and blocks (4897 ms) 17:53:36 ignores block 3 because it has been pruned (3038 ms) 17:53:36 skip event search if no changes found (4245 ms) 17:53:36 handles L2 reorg (6023 ms) 17:53:36 handles updated messages due to L1 reorg (1767 ms) 17:53:36 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1547 ms) 17:53:36 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1887 ms) 17:53:36 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (513 ms) 17:53:36 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (673 ms) 17:53:36 reports an epoch as complete due to timestamp only once all its blocks have been synced (1564 ms) 17:53:36 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (399 ms) 17:53:36 handles a block gap due to a spurious L2 prune (7218 ms) 17:53:36 skipped handles an upcoming L2 prune 17:53:36 17:53:36 Test Suites: 1 passed, 1 total 17:53:36 Tests: 1 skipped, 12 passed, 13 total 17:53:36 Snapshots: 0 total 17:53:36 Time: 37.078 s 17:53:36 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 17:53:36 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?