Parent Log: http://ci.aztec-labs.com/4a6d30c36bb1e847 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:37 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15187_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 09:38:41 [09:38:41.760] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:38:44 [09:38:44.822] INFO: archiver:test Waiting for archiver to sync to block 3 09:38:44 [09:38:44.961] 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":"0x0b0f9d78f8a3928cb8830020d1359bdf793598a07dbd81fb8f96121195d88f3d","rollingHash":"0x5b30dfd84ac8617d5462143d19eb6b1b"},"messageCount":2} 09:38:45 [09:38:45.160] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0818b477356ce4114859f78161aa1695aae4e04ce20dda8d34fee4cac5c85b62","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750671521740,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:38:46 [09:38:46.288] 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":"0x29ae2122607bc1436b0fe911a02d54a85824dd1253dd4b7363889632c9d43bf3","rollingHash":"0x4f3fb83410129c5d0d58c4fa8792b52b"},"messageCount":4} 09:38:46 [09:38:46.362] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 09:38:46 [09:38:46.554] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x166bd32b85e78c846dcce0393a11013a45e292e49f556aa61fa33f2e343eb841","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671521752,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 09:38:46 [09:38:46.555] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x066e0b57dc6e6df2f8d39278f8a933b9d7f039ad17bad0166facb07ccb119e56","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750671521764,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 09:38:46 [09:38:46.710] INFO: archiver Stopped. 09:38:46 [09:38:46.745] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:38:49 [09:38:49.734] INFO: archiver:test Waiting for archiver to sync to block 2 09:38:49 [09:38:49.744] 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":"0x0f1d306c16388d54f356666a1a8c91a6c7f24c28ae2288891f7b7ac590398498","rollingHash":"0xf954c23c342a0450af478e794c2a34c1"},"messageCount":2} 09:38:49 [09:38:49.763] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x117f02c6cd8fe7ee1ba2e8f91f9e0ca323791385dfe9e1cf365a88a2276f7827","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 09:38:49 [09:38:49.871] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x075b42a1623546f202273fec89c9f942b2eed240e0afd447fe719c6610831817","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750671526727,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:38:49 [09:38:49.872] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2e775ec372d1fbc11834d9257b5227c1d00fb1f1f40855bbe41bff85df9740e4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671526739,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 09:38:49 [09:38:49.960] INFO: archiver Stopped. 09:38:49 [09:38:49.963] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:38:52 [09:38:52.973] INFO: archiver:test Waiting for archiver to sync to block 2 09:38:53 [09:38:53.996] 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":"0x26d7a67405d4ba912f47f87580d06a7782bbc6a3ec63f93ccaaad2d40e7e7d2c","rollingHash":"0x5f5b833de06e376a8ce93d55dd747634"},"messageCount":2} 09:38:54 [09:38:54.176] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0f687959a98080fa8afc54cc48df6fd3fc5cccdaf21230d648ea2304a574e320","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750671529974,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:38:54 [09:38:54.176] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x288223e1759d1bf07e7dac84dac8f46648dbf5eb5d2b425d0ff739ba75860756","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671529986,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 09:38:54 [09:38:54.266] INFO: archiver Stopped. 09:38:54 [09:38:54.271] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:38:57 [09:38:57.220] INFO: archiver:test Waiting for archiver to sync to block 2 09:38:57 [09:38:57.261] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 09:38:57 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 09:38:57 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 09:38:57 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 09:38:57 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 09:38:57 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 09:38:57 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 09:38:57 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 09:38:58 [09:38:58.281] 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":"0x0b2d5e3eb6b9f7a9d1650d5cd3abd2d5009a8d51413c9f9ee65d69c7517142dd","rollingHash":"0x47596fd86dc19519f4cf015fbe818040"},"messageCount":2} 09:38:58 [09:38:58.421] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2c0985189c231315534884b7616ccb71797b08d429b8a0b1417968fc2847db58","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750671534280,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:38:58 [09:38:58.422] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1ae8c15775c7aad749d4cb6c4799b1862c789396264829bafb37103238e10889","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671534292,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 09:38:58 [09:38:58.426] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 09:38:58 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 09:38:58 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 09:38:58 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 09:38:58 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 09:38:58 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 09:38:58 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 09:38:58 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 09:38:59 [09:38:59.554] 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:38:59 [09:38:59.557] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 09:38:59 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 09:38:59 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 09:38:59 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 09:38:59 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 09:38:59 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 09:38:59 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 09:38:59 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 09:39:00 [09:39:00.514] INFO: archiver Stopped. 09:39:00 [09:39:00.520] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:00 [09:39:00.939] 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":"0x2b1ead32b80afaf8de9f8d3bea424a5a2bd97254797adb09c1394d0f0063571d","rollingHash":"0x3423a2414adae9950d960438149e8032"},"messageCount":6} 09:39:00 [09:39:00.941] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2b1ead32b80afaf8de9f8d3bea424a5a2bd97254797adb09c1394d0f0063571d","rollingHash":"0x3423a2414adae9950d960438149e8032"},"remoteMessagesState":{"messagesRollingHash":"0xc94eb340d63fd40effb0c4964b0b7c71","totalMessagesInserted":5,"treeInProgress":0}} 09:39:01 [09:39:01.028] WARN: archiver:test Reorging L1 to L2 messages 09:39:01 [09:39:01.961] 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":"0x2b1ead32b80afaf8de9f8d3bea424a5a2bd97254797adb09c1394d0f0063571d","rollingHash":"0x3423a2414adae9950d960438149e8032"}} 09:39:01 [09:39:01.979] WARN: archiver Deleting all local L1 to L2 messages after index 33 09:39:01 [09:39:01.982] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 09:39:02 [09:39:02.050] 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":"0x1c8bbaf631757ba355bca4287f807c998e8570b3507fb0c574b4506160cabb4d","rollingHash":"0x1ea789e50f163c3d3e6f8d7eada4c5f7"},"messageCount":5} 09:39:02 [09:39:02.071] INFO: archiver Stopped. 09:39:02 [09:39:02.076] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:02 [09:39:02.625] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 09:39:03 [09:39:03.473] INFO: archiver:test Waiting for archiver to sync to block 1 09:39:03 [09:39:03.547] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2132cd9be00f9fbcdf9c3d3fccd02b2db840462521e8419890d686eed4c72917","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671542086,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:39:03 [09:39:03.578] INFO: archiver Stopped. 09:39:03 [09:39:03.580] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:04 [09:39:04.221] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 09:39:05 [09:39:05.230] INFO: archiver:test Waiting for archiver to sync to block 1 09:39:05 [09:39:05.321] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x11d69fc3f1a974668156e7987ca7efd4c7244c3ac8d601b789a23fbe0ba9c844","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750671543591,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:39:05 [09:39:05.336] INFO: archiver Stopped. 09:39:05 [09:39:05.340] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:05 [09:39:05.701] INFO: archiver:test Syncing archiver to L1 block 6 09:39:05 [09:39:05.702] 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":"0xd1968993d5fa7ecdd6ec5307b2d5bd9a225c0b1a9b260fdd3909f814b2fa0c71","l1BlockNumber":0}} 09:39:05 [09:39:05.731] 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:05 [09:39:05.733] INFO: archiver Stopped. 09:39:05 [09:39:05.735] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:06 [09:39:06.349] INFO: archiver:test Syncing archiver to L1 block 7 09:39:06 [09:39:06.355] 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":"0x1c5f792493ccaee585d2c9392a5e194d95950fa0440dd4525334f7092c67d41a","l1BlockNumber":0}} 09:39:06 [09:39:06.381] 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:06 [09:39:06.390] INFO: archiver Stopped. 09:39:06 [09:39:06.397] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:06 [09:39:06.846] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 09:39:07 [09:39:07.913] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x05107670be4faa3acd48c817c8ed94fe246c9eced935f0e9b99d90d2202b6043","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750671546408,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:39:07 [09:39:07.938] INFO: archiver Stopped. 09:39:07 [09:39:07.944] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:08 [09:39:08.414] 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":"0xcd49bcc6477c1c9ad18bcadf7211f47b8b1151d88cb4120d44f86877ad1fc72a","l1BlockNumber":0}} 09:39:08 [09:39:08.431] INFO: archiver Stopped. 09:39:08 [09:39:08.433] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:39:12 [09:39:12.328] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x203d388d7d75d5f88d3da8f9efd88a784d50fba06f46cabd29d01e7f7a6f8a2b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750671548445,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 09:39:12 [09:39:12.330] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x260c5de75ce61b40e8c92f45c2a67fc5517115038b6ebca55947a45e0694a18c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671548457,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 09:39:13 [09:39:13.464] 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:14 [09:39:14.593] 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:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 09:39:14 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 09:39:14 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 09:39:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 09:39:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:39:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:39:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 09:39:14 newBlockNumber: 3, 09:39:14 previousBlockNumber: 1 09:39:14 } 09:39:14 [09:39:14.629] 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":"0x203d388d7d75d5f88d3da8f9efd88a784d50fba06f46cabd29d01e7f7a6f8a2b","newBlockNumber":3,"updatedL1SyncPoint":70} 09:39:14 [09:39:14.630] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 09:39:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 09:39:14 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 09:39:14 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 09:39:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 09:39:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:39:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:39:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 09:39:14 newBlockNumber: 3, 09:39:14 previousBlockNumber: 1 09:39:14 } 09:39:15 [09:39:15.802] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x260c5de75ce61b40e8c92f45c2a67fc5517115038b6ebca55947a45e0694a18c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750671548457,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 09:39:15 [09:39:15.809] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x0460f9b2907a9c5ea3667219800440101a71ea4c9c0c754961920dbf2c6cc15f","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750671548469,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 09:39:15 [09:39:15.890] INFO: archiver Stopped. 09:39:15 PASS src/archiver/archiver.test.ts (37.404 s) 09:39:15 Archiver 09:39:15 syncs l1 to l2 messages and blocks (4986 ms) 09:39:15 ignores block 3 because it has been pruned (3246 ms) 09:39:15 skip event search if no changes found (4306 ms) 09:39:15 handles L2 reorg (6247 ms) 09:39:15 handles updated messages due to L1 reorg (1557 ms) 09:39:15 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1505 ms) 09:39:15 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1758 ms) 09:39:15 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (396 ms) 09:39:15 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (657 ms) 09:39:15 reports an epoch as complete due to timestamp only once all its blocks have been synced (1547 ms) 09:39:15 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (493 ms) 09:39:15 handles a block gap due to a spurious L2 prune (7459 ms) 09:39:15 skipped handles an upcoming L2 prune 09:39:15 09:39:15 Test Suites: 1 passed, 1 total 09:39:15 Tests: 1 skipped, 12 passed, 13 total 09:39:15 Snapshots: 0 total 09:39:15 Time: 37.501 s 09:39:15 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 09:39:15 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?