Parent Log: http://ci.aztec-labs.com/dcdd13adfe0c256a Command: d57d38082bbaf86d yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/fdc8ff50dee1a2a8a98393ff5069a285b52efa1f Env: REF_NAME=gh-readonly-queue/next/pr-15187-9b8ea5acda76687342ddb62595e293281661f029 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 23 09:38:57 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15187_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 09:39:01 [09:39:01.708] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:04 [09:39:04.410] INFO: archiver:test Waiting for archiver to sync to block 3 09:39:04 [09:39:04.434] 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":"0x14291a97e2e4f879d55702a499c8a4a405fc16d85e90e9d7f991067a3403595a","rollingHash":"0x172b6cdecf5a744ba59667c473ef6e3a"},"messageCount":2} 09:39:04 [09:39:04.554] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x034426e328f3222f407edd6f913acd87a99c124e4ba5e67e5db42c28d3f94618","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750671541704,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:39:05 [09:39:05.577] 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":"0x2a211b5111deb497cf584570ce1a0f065cf826c0c16248f4e62bdf74c97d0e01","rollingHash":"0x5e57136c510d032c69b50b6667c0d809"},"messageCount":4} 09:39:05 [09:39:05.617] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 09:39:05 [09:39:05.799] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0b1f491724047bded2d43aeebd8fb4edfee995c45f6e6839386e14b2bdae6948","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671541716,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 09:39:05 [09:39:05.800] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1e24a364d1cf929031c54fc21db7977574b31733fde93fb0d29ce039a5463093","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750671541728,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 09:39:06 [09:39:06.016] INFO: archiver Stopped. 09:39:06 [09:39:06.022] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:08 [09:39:08.689] INFO: archiver:test Waiting for archiver to sync to block 2 09:39:08 [09:39:08.697] 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":"0x1ee74e608c8c178ff351aa57b4ea547c6169ac333262bd4019b7f3b012ea1541","rollingHash":"0xf2bf83d25d4446dfacc93db969e4094c"},"messageCount":2} 09:39:08 [09:39:08.718] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x1d0602efa9d1c4777665da7a45e7ee9c9806d6377ff1488bc31efdafcdccfd67","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 09:39:08 [09:39:08.838] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2a3edfa4513a2a1137d072f98c8c73e9b29d5c8447d6a06a13113b859735e26d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750671546031,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:39:08 [09:39:08.839] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x003476972928139c293f14f1cf28211c08da212d78e6507e8e56e19ca66e87f6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671546043,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 09:39:08 [09:39:08.924] INFO: archiver Stopped. 09:39:08 [09:39:08.927] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:11 [09:39:11.447] INFO: archiver:test Waiting for archiver to sync to block 2 09:39:12 [09:39:12.466] 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":"0x0923989882b1274131a28c3009a8b256af2ca7eb81de01534c5882168ef8de3b","rollingHash":"0x99fc4e616f8d185bb55e5957e6899fdf"},"messageCount":2} 09:39:12 [09:39:12.587] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x04533c15bc01c11b9f237e6fdd5cfd71bbbea978a6acf72d6edec923e37ebd6d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750671548938,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:39:12 [09:39:12.588] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x28c2106ca98b85863baded09ec5389bdcb4ecc3ba5bfbe75cfe52a5babe684a7","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671548950,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 09:39:12 [09:39:12.676] INFO: archiver Stopped. 09:39:12 [09:39:12.677] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:15 [09:39:15.189] INFO: archiver:test Waiting for archiver to sync to block 2 09:39:15 [09:39:15.234] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 09:39:15 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 09:39:15 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 09:39:15 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 09:39:15 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 09:39:15 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 09:39:15 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 09:39:15 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 09:39:16 [09:39:16.245] 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":"0x28071800e9bf83dbaa48ca44bb31a58aa254c24bec95cc26ac89161818eb881a","rollingHash":"0x13484187abe54c7baf31f97f41616eac"},"messageCount":2} 09:39:16 [09:39:16.391] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1a13f10bd86fce69a0650b4ef113444371744b6f2a24e3f35b088018c42470e3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750671552689,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:39:16 [09:39:16.392] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x09c1be15e17d9dd23c24831a49b3ef190b4d47d061acec211cc1a65d54446485","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671552701,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 09:39:16 [09:39:16.395] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 09:39:16 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 09:39:16 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 09:39:16 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 09:39:16 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 09:39:16 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 09:39:16 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 09:39:16 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 09:39:17 [09:39:17.517] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 09:39:17 [09:39:17.521] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 09:39:17 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 09:39:17 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 09:39:17 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 09:39:17 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 09:39:17 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 09:39:17 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 09:39:17 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 09:39:18 [09:39:18.492] INFO: archiver Stopped. 09:39:18 [09:39:18.494] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:18 [09:39:18.831] 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":"0x1bc09882e5bb0a3e017bc0ac780651c49a1702599e5b3f2b5c59759538ed1b0a","rollingHash":"0x621d1e07e174f36d2f34689000c7ac46"},"messageCount":6} 09:39:18 [09:39:18.832] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1bc09882e5bb0a3e017bc0ac780651c49a1702599e5b3f2b5c59759538ed1b0a","rollingHash":"0x621d1e07e174f36d2f34689000c7ac46"},"remoteMessagesState":{"messagesRollingHash":"0x2a5c025a585441b23d6ef8ea1eaf61e5","totalMessagesInserted":5,"treeInProgress":0}} 09:39:18 [09:39:18.926] WARN: archiver:test Reorging L1 to L2 messages 09:39:19 [09:39:19.846] 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":"0x1bc09882e5bb0a3e017bc0ac780651c49a1702599e5b3f2b5c59759538ed1b0a","rollingHash":"0x621d1e07e174f36d2f34689000c7ac46"}} 09:39:19 [09:39:19.851] WARN: archiver Deleting all local L1 to L2 messages after index 33 09:39:19 [09:39:19.854] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 09:39:19 [09:39:19.875] 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":"0x14fe526ea0b11c7e7a076bb898b49d0efb7b80f4725b7a0a69f9c2135af4555e","rollingHash":"0x0486cecb2e60416f678b5c1cc1b8919f"},"messageCount":5} 09:39:19 [09:39:19.949] INFO: archiver Stopped. 09:39:19 [09:39:19.951] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:20 [09:39:20.368] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 09:39:21 [09:39:21.218] INFO: archiver:test Waiting for archiver to sync to block 1 09:39:21 [09:39:21.334] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x035d09c7e62477e153a9fe044a8ad9f66a3d31e98dec282f128f882d0886bae2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671559963,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:39:21 [09:39:21.426] INFO: archiver Stopped. 09:39:21 [09:39:21.432] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:21 [09:39:21.841] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 09:39:22 [09:39:22.861] INFO: archiver:test Waiting for archiver to sync to block 1 09:39:22 [09:39:22.941] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x15b59999ed5b79701c3c7ade104a197218191f0d5f038f232e0231b3de522b6d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750671561440,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:39:22 [09:39:22.966] INFO: archiver Stopped. 09:39:22 [09:39:22.970] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:23 [09:39:23.358] INFO: archiver:test Syncing archiver to L1 block 6 09:39:23 [09:39:23.362] 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":"0x9d3321f5e3bd6728cc1f329ccb1d42b26e7a7f676ca261e6271d184cb855ad09","l1BlockNumber":0}} 09:39:23 [09:39:23.401] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 09:39:23 [09:39:23.405] INFO: archiver Stopped. 09:39:23 [09:39:23.414] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:24 [09:39:24.241] INFO: archiver:test Syncing archiver to L1 block 7 09:39:24 [09:39:24.243] 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":"0x189a696913a98c372f8e79898bb43bfb9a6cb85f6211e41ca75b22f04f20f377","l1BlockNumber":0}} 09:39:24 [09:39:24.254] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 09:39:24 [09:39:24.267] INFO: archiver Stopped. 09:39:24 [09:39:24.270] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:24 [09:39:24.645] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 09:39:25 [09:39:25.693] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2fe9d49d7b0bd077ab49f34887837a213640521aa0cff3e95783212d0c07f473","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750671564280,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:39:25 [09:39:25.706] INFO: archiver Stopped. 09:39:25 [09:39:25.711] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:26 [09:39:26.419] 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":"0x1aefaea0f531dfdf9dbe9e1b5a181dd32bc4ef397f7a5824d409e8e8a5e67e92","l1BlockNumber":0}} 09:39:26 [09:39:26.435] INFO: archiver Stopped. 09:39:26 [09:39:26.436] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:30 [09:39:30.594] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x266e90be83554117b5c1dab3b7269c622ff526875d450ebb0c28401cc5893df8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750671566448,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:39:30 [09:39:30.595] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1c322e1b8fe23840c6366c0abde822bad1f345e9641c7c92a4b284667766a72d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671566460,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 09:39:31 [09:39:31.852] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 09:39:32 [09:39:32.942] 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 09:39:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 09:39:32 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 09:39:32 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 09:39:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 09:39:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:39:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:39:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 09:39:32 newBlockNumber: 3, 09:39:32 previousBlockNumber: 1 09:39:32 } 09:39:32 [09:39:32.986] 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":"0x266e90be83554117b5c1dab3b7269c622ff526875d450ebb0c28401cc5893df8","newBlockNumber":3,"updatedL1SyncPoint":70} 09:39:32 [09:39:32.987] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 09:39:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 09:39:32 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 09:39:32 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 09:39:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 09:39:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:39:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:39:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 09:39:32 newBlockNumber: 3, 09:39:32 previousBlockNumber: 1 09:39:32 } 09:39:34 [09:39:34.205] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1c322e1b8fe23840c6366c0abde822bad1f345e9641c7c92a4b284667766a72d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671566460,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 09:39:34 [09:39:34.206] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1e879281dd18c19d4208587a9dbf80da2b991063cb269ac70d6448917ad2ade4","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750671566472,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 09:39:34 [09:39:34.296] INFO: archiver Stopped. 09:39:34 PASS src/archiver/archiver.test.ts (35.509 s) 09:39:34 Archiver 09:39:34 syncs l1 to l2 messages and blocks (4326 ms) 09:39:34 ignores block 3 because it has been pruned (2906 ms) 09:39:34 skip event search if no changes found (3750 ms) 09:39:34 handles L2 reorg (5816 ms) 09:39:34 handles updated messages due to L1 reorg (1457 ms) 09:39:34 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1477 ms) 09:39:34 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1539 ms) 09:39:34 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (439 ms) 09:39:34 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (862 ms) 09:39:34 reports an epoch as complete due to timestamp only once all its blocks have been synced (1439 ms) 09:39:34 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (728 ms) 09:39:34 handles a block gap due to a spurious L2 prune (7862 ms) 09:39:34 skipped handles an upcoming L2 prune 09:39:34 09:39:34 Test Suites: 1 passed, 1 total 09:39:34 Tests: 1 skipped, 12 passed, 13 total 09:39:34 Snapshots: 0 total 09:39:34 Time: 35.635 s 09:39:34 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 09:39:34 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?