Parent Log: http://ci.aztec-labs.com/9ef2f13bc7b64e46 Command: 0742425f32083b75 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/04abcb151443d51d2f1b002a2412a083a9384a51 Env: REF_NAME=gh-readonly-queue/next/pr-15077-263498dd65e8700218979d7a94dbfd25b2a8a8a8 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 17 20:51:14 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15077_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 20:51:18 [20:51:18.407] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:51:21 [20:51:21.228] INFO: archiver:test Waiting for archiver to sync to block 3 20:51:21 [20:51:21.247] 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":"0x28bbcf19b96b196a3e78a1a31bbfd8256e49f031537ed9ca1d6c727fb1504b3c","rollingHash":"0xc60dd9184c06d3358782c94d6b0a0956"},"messageCount":2} 20:51:21 [20:51:21.339] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x149de6d3da582a2f71ce01179cb82a3eafc54e9959d02e485500f685016472f6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750193478405,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:51:22 [20:51:22.366] 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":"0x258a15eeeb86c5b96d939eae84466b995b5b7b4435113b8b1710fe160a9e59c3","rollingHash":"0x41051fe448a35e28156ab5bd4a957a22"},"messageCount":4} 20:51:22 [20:51:22.413] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 20:51:22 [20:51:22.621] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1121b173426773714bfafab7b6f795a9f19a802df91fe31bc177ac373bc3fdce","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750193478417,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 20:51:22 [20:51:22.622] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x27e6c43f5feb86ebc04a15fd820a4683dbde9edaf52d8d73447b4c661c9c17f1","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750193478429,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 20:51:22 [20:51:22.838] INFO: archiver Stopped. 20:51:22 [20:51:22.842] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:51:25 [20:51:25.431] INFO: archiver:test Waiting for archiver to sync to block 2 20:51:25 [20:51:25.445] 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":"0x2e3c8407c1aed5affe9e4bbc9c34235b1782425424dffb9234d9b1264105302f","rollingHash":"0xca2c0e0e6ea86264f70298a2b516192b"},"messageCount":2} 20:51:25 [20:51:25.476] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x095da46469260035e01dde99b60a99260c1525c9546a2bec3052c7a9d657388b","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 20:51:25 [20:51:25.586] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1b5ec44466190cfab58df07edec26e1e1e3dceadf00ed80b8ce4c230fdb66f52","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750193482854,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:51:25 [20:51:25.588] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1b19f01fa61602b3aad6aa668ceca263d9a6ac410c47f7357474e8752a582e3d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750193482866,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 20:51:25 [20:51:25.672] INFO: archiver Stopped. 20:51:25 [20:51:25.674] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:51:28 [20:51:28.683] INFO: archiver:test Waiting for archiver to sync to block 2 20:51:29 [20:51:29.706] 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":"0x133fa83b44d71470ae9d69d96bcf1fa8e929881f0e78bf77374cb42ef2eb6efa","rollingHash":"0xca9cbb2cdff7e0decf7b8b98713916cc"},"messageCount":2} 20:51:29 [20:51:29.886] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x16c4f9c398e990abfbcf8657d1b4c76623609851c3551f29857dd3c2487c9c11","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750193485686,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:51:29 [20:51:29.887] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x05f59092a88f772b619b5a2f9b4d09a819029e226705502bad653f137288687d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750193485698,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 20:51:29 [20:51:29.972] INFO: archiver Stopped. 20:51:29 [20:51:29.974] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:51:32 [20:51:32.746] INFO: archiver:test Waiting for archiver to sync to block 2 20:51:32 [20:51:32.795] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 20:51:32 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 20:51:32 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 20:51:32 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 20:51:32 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 20:51:32 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 20:51:32 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 20:51:32 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 20:51:33 [20:51:33.807] 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":"0x301248248d078202d9a4abdd11a16f9cda29655baf098adadfeed19342564c60","rollingHash":"0xd7f8091b92e5c57e40b493dac0e0fb61"},"messageCount":2} 20:51:33 [20:51:33.970] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x26e3df19a76801ee9e61e4bfe73260dd4a451dc1f88dd8ab3129dbecb015d992","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750193489986,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:51:33 [20:51:33.971] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x08bb29f6bf3e39aa4e079629b068a8cb9c42647272f1e03743a7590d14c9787f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750193489998,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 20:51:33 [20:51:33.973] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 20:51:33 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 20:51:33 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 20:51:33 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 20:51:33 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 20:51:33 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 20:51:33 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 20:51:33 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 20:51:35 [20:51:35.085] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 20:51:35 [20:51:35.089] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 20:51:35 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 20:51:35 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 20:51:35 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 20:51:35 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 20:51:35 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 20:51:35 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 20:51:35 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 20:51:36 [20:51:36.073] INFO: archiver Stopped. 20:51:36 [20:51:36.077] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:51:36 [20:51:36.578] 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":"0x1768b49b626bd7dd31a742e87256ea4b5c31d5680828520ce5da02ff43c97043","rollingHash":"0x5bfe15e2030f1fdc33a2ca5f3a4926f9"},"messageCount":6} 20:51:36 [20:51:36.580] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1768b49b626bd7dd31a742e87256ea4b5c31d5680828520ce5da02ff43c97043","rollingHash":"0x5bfe15e2030f1fdc33a2ca5f3a4926f9"},"remoteMessagesState":{"messagesRollingHash":"0x642b2a3b73475b2ad7d4e5157d04da32","totalMessagesInserted":5,"treeInProgress":0}} 20:51:36 [20:51:36.676] WARN: archiver:test Reorging L1 to L2 messages 20:51:37 [20:51:37.603] 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":"0x1768b49b626bd7dd31a742e87256ea4b5c31d5680828520ce5da02ff43c97043","rollingHash":"0x5bfe15e2030f1fdc33a2ca5f3a4926f9"}} 20:51:37 [20:51:37.609] WARN: archiver Deleting all local L1 to L2 messages after index 33 20:51:37 [20:51:37.614] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 20:51:37 [20:51:37.641] 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":"0x1571bfa578a8326a6d4e1c9149e47f90423089afdb54dd6d020099b57ffc6058","rollingHash":"0x6a1cd05047cf20dedd01584540749325"},"messageCount":5} 20:51:37 [20:51:37.706] INFO: archiver Stopped. 20:51:37 [20:51:37.712] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:51:38 [20:51:38.227] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 20:51:39 [20:51:39.350] INFO: archiver:test Waiting for archiver to sync to block 1 20:51:39 [20:51:39.729] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x02b623aeae0f7cc175079180b95bc3b2c41018c25ac1e70178e226d91e21e897","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750193497720,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:51:39 [20:51:39.812] INFO: archiver Stopped. 20:51:39 [20:51:39.836] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:51:40 [20:51:40.677] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 20:51:41 [20:51:41.608] INFO: archiver:test Waiting for archiver to sync to block 1 20:51:41 [20:51:41.685] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1fc458d2f2898283d2cff8c3c5c3254e0fc266e8f86d45ff633119f1e6c1b32c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750193499831,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:51:41 [20:51:41.712] INFO: archiver Stopped. 20:51:41 [20:51:41.715] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:51:42 [20:51:42.092] INFO: archiver:test Syncing archiver to L1 block 6 20:51:42 [20:51:42.093] 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":"0xba7207a0e48ba29da9a8b3cda2f84843eb01958ab1988bbc4f9e38ba66ec252d","l1BlockNumber":0}} 20:51:42 [20:51:42.102] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 20:51:42 [20:51:42.104] INFO: archiver Stopped. 20:51:42 [20:51:42.106] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:51:42 [20:51:42.489] INFO: archiver:test Syncing archiver to L1 block 7 20:51:42 [20:51:42.490] 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":"0x5b764f93b6f1b22501d5e5adf78d481392b8b37c9597373fdd07ac8af2fcf87f","l1BlockNumber":0}} 20:51:42 [20:51:42.500] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 20:51:42 [20:51:42.502] INFO: archiver Stopped. 20:51:42 [20:51:42.504] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:51:42 [20:51:42.834] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 20:51:43 [20:51:43.866] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1e65f622e383ce0cf65c89ea975279257ae632448b4a737dfad3b59f2255ea8e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750193502515,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:51:43 [20:51:43.872] INFO: archiver Stopped. 20:51:43 [20:51:43.875] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:51:44 [20:51:44.565] 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":"0x9d1e0e5bb9b98190ed27ef0ad560996797594af9299d6cb674b064b3808ebe3d","l1BlockNumber":0}} 20:51:44 [20:51:44.620] INFO: archiver Stopped. 20:51:44 [20:51:44.628] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:51:48 [20:51:48.460] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x246377a651ecfd7957087572cfa2515d835857b73419d1226831e7d9dafd73e4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750193504634,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:51:48 [20:51:48.463] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x04279622c5f602bac4f933617b2a2d9c7247df98e4f7a6de4998b654c9f81f46","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750193504646,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 20:51:49 [20:51:49.600] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 20:51:50 [20:51:50.654] 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 20:51:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 20:51:50 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 20:51:50 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 20:51:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 20:51:50 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 20:51:50 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 20:51:50 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 20:51:50 newBlockNumber: 3, 20:51:50 previousBlockNumber: 1 20:51:50 } 20:51:50 [20:51:50.683] 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":"0x246377a651ecfd7957087572cfa2515d835857b73419d1226831e7d9dafd73e4","newBlockNumber":3,"updatedL1SyncPoint":70} 20:51:50 [20:51:50.685] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 20:51:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 20:51:50 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 20:51:50 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 20:51:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 20:51:50 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 20:51:50 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 20:51:50 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 20:51:50 newBlockNumber: 3, 20:51:50 previousBlockNumber: 1 20:51:50 } 20:51:51 [20:51:51.838] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x04279622c5f602bac4f933617b2a2d9c7247df98e4f7a6de4998b654c9f81f46","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750193504646,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 20:51:51 [20:51:51.839] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x254cc655d1c5a2125c713ebe373fc5e87f0b2dd4afa7e9fb0d1767a51dd34dd0","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750193504658,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 20:51:51 [20:51:51.937] INFO: archiver Stopped. 20:51:51 PASS src/archiver/archiver.test.ts (36.419 s) 20:51:51 Archiver 20:51:51 syncs l1 to l2 messages and blocks (4448 ms) 20:51:51 ignores block 3 because it has been pruned (2832 ms) 20:51:51 skip event search if no changes found (4300 ms) 20:51:51 handles L2 reorg (6101 ms) 20:51:51 handles updated messages due to L1 reorg (1632 ms) 20:51:51 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (2106 ms) 20:51:51 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1894 ms) 20:51:51 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (392 ms) 20:51:51 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (398 ms) 20:51:51 reports an epoch as complete due to timestamp only once all its blocks have been synced (1370 ms) 20:51:51 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (747 ms) 20:51:51 handles a block gap due to a spurious L2 prune (7316 ms) 20:51:51 skipped handles an upcoming L2 prune 20:51:51 20:51:51 Test Suites: 1 passed, 1 total 20:51:51 Tests: 1 skipped, 12 passed, 13 total 20:51:51 Snapshots: 0 total 20:51:51 Time: 36.515 s 20:51:51 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 20:51:51 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?