Parent Log: http://ci.aztec-labs.com/2d6245e20328508a Command: 3f1d1d87da1584d1 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/e742ab186f29d74148403272e50f75bb77cbb8a8 Env: REF_NAME=gh-readonly-queue/next/pr-15051-92d685c3a802eb31897b6f13d28b9ee428c73744 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Thu Jun 19 22:31:22 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15051_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 22:31:26 [22:31:26.598] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:31:29 [22:31:29.672] INFO: archiver:test Waiting for archiver to sync to block 3 22:31:29 [22:31:29.692] 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":"0x1218c71209fc05d3ccb132b0358685e3da1b63e939060568f9d6173ca081f6e1","rollingHash":"0xd65a3d0e05b731c6a104747f87a7516d"},"messageCount":2} 22:31:29 [22:31:29.801] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2dc42343120a3d3f5b856d2a58399a15ed2885315199c5784ff186c1b49e7077","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750372286597,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:31:30 [22:31:30.822] 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":"0x23ff731c8426365f0958fbd265c78f52c516aabad46cf7f510d6dbd1e18d3a1a","rollingHash":"0x9d700f8550f52b1700354c9f34dd8c2f"},"messageCount":4} 22:31:30 [22:31:30.852] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 22:31:31 [22:31:31.019] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x224270540f2b3b6d8815cfaf3c2bb5c84ca492b20a5b2b6c2ac0eb3b9698eda4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750372286609,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:31:31 [22:31:31.020] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x0078fae53cbca9c9339a96dfd1fa12b290663b2aea2ccfef14549d6f3759e6e7","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750372286621,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 22:31:31 [22:31:31.260] INFO: archiver Stopped. 22:31:31 [22:31:31.265] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:31:34 [22:31:34.006] INFO: archiver:test Waiting for archiver to sync to block 2 22:31:34 [22:31:34.019] 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":"0x2e4494acf9a1f0ad9adec2d7fc0003bb9a489b6e1e6517b74209e55634015c3f","rollingHash":"0x11299df0fa235d365d60e0ab95a2063b"},"messageCount":2} 22:31:34 [22:31:34.049] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x2b4e9aad8251e6f0d66e0ea8201188ab9e7ba299c1cd84c3a6fa222e64a2e6f2","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 22:31:34 [22:31:34.171] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x028bd07228c00b5f2a7749e968d4985a66bdc0a502d8636459f424ef06e05ddb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750372291275,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:31:34 [22:31:34.172] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1485bd6a1be36a3fc785a883ed26a7e2dcf2f2fa5f9bb813142c5ada1890ea66","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750372291287,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:31:34 [22:31:34.261] INFO: archiver Stopped. 22:31:34 [22:31:34.265] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:31:36 [22:31:36.943] INFO: archiver:test Waiting for archiver to sync to block 2 22:31:37 [22:31:37.962] 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":"0x1dc951c3f96f646e6268fc3ce11b695616bb7b46c296a8db690a3f154f525349","rollingHash":"0x9385e06cce4f169f047154b156df6316"},"messageCount":2} 22:31:38 [22:31:38.121] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1f761b22dda144928cb9d9675a4a17e00602ddc174ae49579df7c36ded0f6f7b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750372294275,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:31:38 [22:31:38.122] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x022a759d697b60ff8f22f4a203c8a86eea4bb3385cb9f4d4bf547407d45e688e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750372294287,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:31:38 [22:31:38.211] INFO: archiver Stopped. 22:31:38 [22:31:38.213] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:31:40 [22:31:40.815] INFO: archiver:test Waiting for archiver to sync to block 2 22:31:40 [22:31:40.898] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 22:31:40 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 22:31:40 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 22:31:40 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 22:31:40 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 22:31:40 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 22:31:40 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 22:31:40 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 22:31:41 [22:31:41.911] 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":"0x17b17df8fcf0e69667351dd9d7da115b3e40d218fed54a98e06135741136fbc1","rollingHash":"0x896fcd916a4939aa994670d9a30196b2"},"messageCount":2} 22:31:42 [22:31:42.069] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x19fe3c985ec588efe5dee0487a3e7d43863c7cad821f9d12cd94e0df9ed8313c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750372298224,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:31:42 [22:31:42.070] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0569517b0c4e8890471357acd01582f020293942e2b1f6f82baee4bf6f519662","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750372298236,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:31:42 [22:31:42.075] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 22:31:42 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 22:31:42 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 22:31:42 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 22:31:42 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 22:31:42 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 22:31:42 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 22:31:42 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 22:31:43 [22:31:43.430] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 22:31:43 [22:31:43.433] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 22:31:43 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 22:31:43 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 22:31:43 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 22:31:43 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 22:31:43 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 22:31:43 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 22:31:43 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 22:31:44 [22:31:44.121] INFO: archiver Stopped. 22:31:44 [22:31:44.123] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:31:44 [22:31:44.717] 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":"0x0138a747c3e17af53385f42ac8deddab6ba6fffc152576507a214a1980af7881","rollingHash":"0x118101be62238ec1335c6ae0dfb44fc3"},"messageCount":6} 22:31:44 [22:31:44.717] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0138a747c3e17af53385f42ac8deddab6ba6fffc152576507a214a1980af7881","rollingHash":"0x118101be62238ec1335c6ae0dfb44fc3"},"remoteMessagesState":{"messagesRollingHash":"0x1df7910f8a3c1543f4f0f6003110853e","totalMessagesInserted":5,"treeInProgress":0}} 22:31:44 [22:31:44.805] WARN: archiver:test Reorging L1 to L2 messages 22:31:45 [22:31:45.746] 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":"0x0138a747c3e17af53385f42ac8deddab6ba6fffc152576507a214a1980af7881","rollingHash":"0x118101be62238ec1335c6ae0dfb44fc3"}} 22:31:45 [22:31:45.750] WARN: archiver Deleting all local L1 to L2 messages after index 33 22:31:45 [22:31:45.752] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 22:31:45 [22:31:45.796] 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":"0x088b30728e68c94b6457cc65c54cd06d076984e5bcd037738cb32a7305498b7e","rollingHash":"0x7e9adb85721f407f0ee2b1ed1c97f0fe"},"messageCount":5} 22:31:45 [22:31:45.866] INFO: archiver Stopped. 22:31:45 [22:31:45.868] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:31:46 [22:31:46.270] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 22:31:47 [22:31:47.570] INFO: archiver:test Waiting for archiver to sync to block 1 22:31:47 [22:31:47.648] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1ff96365cefac90030e7622e9a41fb3c1f1bf563d7b5d09319e983d7178ad88a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750372305879,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:31:47 [22:31:47.673] INFO: archiver Stopped. 22:31:47 [22:31:47.676] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:31:48 [22:31:48.010] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 22:31:48 [22:31:48.845] INFO: archiver:test Waiting for archiver to sync to block 1 22:31:48 [22:31:48.911] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x01304f9f678f7259b36efc3bc696b9216e1fd471ac37715e6e5a706729b260a1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750372307687,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:31:48 [22:31:48.950] INFO: archiver Stopped. 22:31:48 [22:31:48.952] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:31:49 [22:31:49.328] INFO: archiver:test Syncing archiver to L1 block 6 22:31:49 [22:31:49.338] 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":"0x66b318df02d628f593f9a283096e447cc38b978255b01e96ffc5985d984d5d4a","l1BlockNumber":0}} 22:31:49 [22:31:49.352] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 22:31:49 [22:31:49.354] INFO: archiver Stopped. 22:31:49 [22:31:49.357] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:31:49 [22:31:49.802] INFO: archiver:test Syncing archiver to L1 block 7 22:31:49 [22:31:49.803] 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":"0xa83d8e5962c1d6d19bc913b296557e494e0ab7ec472140dcac267aefe22da684","l1BlockNumber":0}} 22:31:49 [22:31:49.819] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 22:31:49 [22:31:49.825] INFO: archiver Stopped. 22:31:49 [22:31:49.831] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:31:50 [22:31:50.284] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 22:31:51 [22:31:51.849] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1644b9a9908c2f1dca73b2a61c9eb8f7e7cc22706e73626e8c1f85a4ccc7afbf","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750372309839,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:31:51 [22:31:51.859] INFO: archiver Stopped. 22:31:51 [22:31:51.865] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:31:52 [22:31:52.444] 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":"0xf4148eb67d80d73e1935b83d75424dbf5988daa0a20e195c334079f107e01364","l1BlockNumber":0}} 22:31:52 [22:31:52.481] INFO: archiver Stopped. 22:31:52 [22:31:52.484] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:31:55 [22:31:55.593] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x03b3349964dabb123d6a3156a9bf3e211bbffe9ac3ea1cdfe8c67cdb4a781b35","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750372312495,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:31:55 [22:31:55.594] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0acd7fcdef2c90c2993a84dbc39e4b19e29eed7938a15d9ce8c845b096536cff","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750372312507,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:31:56 [22:31:56.739] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 22:31:57 [22:31:57.827] 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 22:31:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 22:31:57 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 22:31:57 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 22:31:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7 22:31:57 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:31:57 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:31:57 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:31:57 newBlockNumber: 3, 22:31:57 previousBlockNumber: 1 22:31:57 } 22:31:57 [22:31:57.851] 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":"0x03b3349964dabb123d6a3156a9bf3e211bbffe9ac3ea1cdfe8c67cdb4a781b35","newBlockNumber":3,"updatedL1SyncPoint":70} 22:31:57 [22:31:57.852] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 22:31:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 22:31:57 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 22:31:57 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 22:31:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7 22:31:57 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:31:57 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:31:57 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:31:57 newBlockNumber: 3, 22:31:57 previousBlockNumber: 1 22:31:57 } 22:31:59 [22:31:59.003] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0acd7fcdef2c90c2993a84dbc39e4b19e29eed7938a15d9ce8c845b096536cff","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750372312507,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:31:59 [22:31:59.004] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1b161fe6c5b542332401369cf9ecb538e4353aad2070426f82d32255b96f827d","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750372312519,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 22:31:59 [22:31:59.059] INFO: archiver Stopped. 22:31:59 PASS src/archiver/archiver.test.ts (35.159 s) 22:31:59 Archiver 22:31:59 syncs l1 to l2 messages and blocks (4679 ms) 22:31:59 ignores block 3 because it has been pruned (2998 ms) 22:31:59 skip event search if no changes found (3949 ms) 22:31:59 handles L2 reorg (5910 ms) 22:31:59 handles updated messages due to L1 reorg (1744 ms) 22:31:59 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1807 ms) 22:31:59 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1276 ms) 22:31:59 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (404 ms) 22:31:59 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (470 ms) 22:31:59 reports an epoch as complete due to timestamp only once all its blocks have been synced (2034 ms) 22:31:59 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (621 ms) 22:31:59 handles a block gap due to a spurious L2 prune (6576 ms) 22:31:59 skipped handles an upcoming L2 prune 22:31:59 22:31:59 Test Suites: 1 passed, 1 total 22:31:59 Tests: 1 skipped, 12 passed, 13 total 22:31:59 Snapshots: 0 total 22:31:59 Time: 35.234 s 22:31:59 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 22:31:59 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?