Parent Log: http://ci.aztec-labs.com/af8b5f0ffc64dcdd Command: 9b90ba1cd25aa9c9 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/4ae29efe4b68ec58d68cf3708b9a36b94dad8b2b Env: REF_NAME=gh-readonly-queue/next/pr-15129-5c77169d7f01a9e15bc19b05fa231fd96111d7dd CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 18 15:18:26 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15129_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 15:18:30 [15:18:30.688] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:18:33 [15:18:33.677] INFO: archiver:test Waiting for archiver to sync to block 3 15:18:33 [15:18:33.696] 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":"0x2633e8e418239d3a21d87aa078c2aecfc96b8873de1d2f4f5adf6710ee962fca","rollingHash":"0x45297dc4126ba908c25023ad2614599f"},"messageCount":2} 15:18:33 [15:18:33.807] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x20d7fae9cf4c05e6676bb6048058ea974c8211ecf4f5ac754929fedc75c7c20b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750259910673,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:18:34 [15:18:34.834] 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":"0x1094d49b942199d75368ddc932bb6fd35e57409c2fee5cbf3c32a81fd84dbb7f","rollingHash":"0x8fd494814726d740f8fd5c537da7e029"},"messageCount":4} 15:18:34 [15:18:34.878] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 15:18:35 [15:18:35.071] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2f051e0c7f1ecc13558e3674523fdb97ddcc037cf50d502639e2a7a76f827037","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750259910685,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:18:35 [15:18:35.073] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1fd662509d4dab3483451961e2956cdd227e5e9579c287d9e29dbf78e9ce631f","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750259910697,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 15:18:35 [15:18:35.276] INFO: archiver Stopped. 15:18:35 [15:18:35.282] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:18:38 [15:18:38.077] INFO: archiver:test Waiting for archiver to sync to block 2 15:18:38 [15:18:38.091] 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":"0x2be9cf2cb6563c765c39801091efbac5c5a5e51c56ff802a06572356d7903bbc","rollingHash":"0xe3988409e0cfb4838cca534158af241d"},"messageCount":2} 15:18:38 [15:18:38.125] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x0779ac836ceabe83d21574a730801f2cb4496c6a0a5fde98f8f083c732dae2d1","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 15:18:38 [15:18:38.259] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x152d08635f4c56383d5e81bfe5dc5f6e06d95105ec5a48e876df6be94d697a90","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750259915293,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:18:38 [15:18:38.260] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x28ccb5488f4ed47c65479561f01578443acde16df6ce02b3e1a48bc20b9673e5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750259915305,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:18:38 [15:18:38.351] INFO: archiver Stopped. 15:18:38 [15:18:38.356] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:18:41 [15:18:41.398] INFO: archiver:test Waiting for archiver to sync to block 2 15:18:42 [15:18:42.425] 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":"0x0e43e4deb4bed60b695b51bd1357697e8b17b9d9bb045f927c4b1dafbc32479b","rollingHash":"0xf9973fb7ef166181cfe3f530d4ea6aed"},"messageCount":2} 15:18:42 [15:18:42.595] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x17612c3bc27cbc79e6297d739ad5dfb7ab07a1a0c204c4275850a20f151dede6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750259918367,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:18:42 [15:18:42.596] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1b4379feb9ffe7c2485b3daa5964860d27205fca31ab1078816222a5ac4cc44c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750259918379,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:18:42 [15:18:42.680] INFO: archiver Stopped. 15:18:42 [15:18:42.684] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:18:45 [15:18:45.861] INFO: archiver:test Waiting for archiver to sync to block 2 15:18:45 [15:18:45.922] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 15:18:45 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:18:45 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:18:45 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 15:18:45 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 15:18:45 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 15:18:45 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:18:45 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:18:46 [15:18:46.939] 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":"0x1117c24167c8080ac3be745f839f98583bfd520948eb3f1418a8b82dc50da506","rollingHash":"0x5a4ec5699a6f0a88fa056fd1b0b47d5e"},"messageCount":2} 15:18:47 [15:18:47.084] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x130fbaea074a32e4fa690723764b2f4d851ef733278f3390deb254efe87fad62","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750259922694,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:18:47 [15:18:47.086] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1a4b200398fca5983bec26edc3c01f897ea508d6def27ce2ac0b55195aa4daae","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750259922706,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:18:47 [15:18:47.089] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 15:18:47 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:18:47 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:18:47 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 15:18:47 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 15:18:47 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 15:18:47 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:18:47 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:18:48 [15:18:48.235] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 15:18:48 [15:18:48.238] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 15:18:48 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:18:48 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:18:48 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 15:18:48 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 15:18:48 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 15:18:48 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:18:48 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:18:49 [15:18:49.184] INFO: archiver Stopped. 15:18:49 [15:18:49.187] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:18:49 [15:18:49.641] 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":"0x1d83afc792320f88707412936b65a541c04a3ee48c47af671792f30954ca95e2","rollingHash":"0x442f2209bcffebcaea36e5ea4cc3a0a6"},"messageCount":6} 15:18:49 [15:18:49.643] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1d83afc792320f88707412936b65a541c04a3ee48c47af671792f30954ca95e2","rollingHash":"0x442f2209bcffebcaea36e5ea4cc3a0a6"},"remoteMessagesState":{"messagesRollingHash":"0x06824cfefd5d236db339ed88534ea7b1","totalMessagesInserted":5,"treeInProgress":0}} 15:18:49 [15:18:49.737] WARN: archiver:test Reorging L1 to L2 messages 15:18:50 [15:18:50.659] 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":"0x1d83afc792320f88707412936b65a541c04a3ee48c47af671792f30954ca95e2","rollingHash":"0x442f2209bcffebcaea36e5ea4cc3a0a6"}} 15:18:50 [15:18:50.670] WARN: archiver Deleting all local L1 to L2 messages after index 33 15:18:50 [15:18:50.675] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 15:18:50 [15:18:50.698] 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":"0x10e3db2c6b18c114084a680a3a57b554fe0d156dfcae50bec91bc8ba186dc943","rollingHash":"0x95f9f016b9c323b7934249db034ed445"},"messageCount":5} 15:18:50 [15:18:50.806] INFO: archiver Stopped. 15:18:50 [15:18:50.809] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:18:51 [15:18:51.246] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 15:18:53 [15:18:53.445] INFO: archiver:test Waiting for archiver to sync to block 1 15:18:53 [15:18:53.697] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x05456c87083e7a86307955add127880a5f9fa82e341ac9c4a5192dc9bb78ea78","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750259930820,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:18:53 [15:18:53.727] INFO: archiver Stopped. 15:18:53 [15:18:53.731] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:18:54 [15:18:54.136] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 15:18:54 [15:18:54.998] INFO: archiver:test Waiting for archiver to sync to block 1 15:18:55 [15:18:55.075] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0ed43441ad781472c9a9454fe6803f14c30e570db9b2f251c7a3f0ad9fa8d615","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750259933741,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:18:55 [15:18:55.103] INFO: archiver Stopped. 15:18:55 [15:18:55.106] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:18:55 [15:18:55.454] INFO: archiver:test Syncing archiver to L1 block 6 15:18:55 [15:18:55.456] 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":"0xe09331a9a0e6bc9be2f7b778732af5158bcbb330ac13b4796f5714d3ea5ced80","l1BlockNumber":0}} 15:18:55 [15:18:55.468] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 15:18:55 [15:18:55.471] INFO: archiver Stopped. 15:18:55 [15:18:55.473] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:18:55 [15:18:55.891] INFO: archiver:test Syncing archiver to L1 block 7 15:18:55 [15:18:55.892] 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":"0x469e4108a27869b985b1d7ec3d2e42c331ed10762bffb1eef93a23a27c26d368","l1BlockNumber":0}} 15:18:55 [15:18:55.901] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 15:18:55 [15:18:55.904] INFO: archiver Stopped. 15:18:55 [15:18:55.906] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:18:56 [15:18:56.343] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 15:18:57 [15:18:57.760] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x048827d1242888297bc2ed8c2997cb494703ab860356495c429fd7e6f99bba75","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750259935917,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:18:57 [15:18:57.787] INFO: archiver Stopped. 15:18:57 [15:18:57.798] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:18:58 [15:18:58.311] 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":"0xce5c0dd1840aedb02e1084406e4938dacd351cdf4945f89ef747ef9ce235a63d","l1BlockNumber":0}} 15:18:58 [15:18:58.339] INFO: archiver Stopped. 15:18:58 [15:18:58.342] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:19:02 [15:19:02.037] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1f70a2f1f16e194c706d79e19d3bea4a6bbb35396b2ece1e33bfcaf6c2901eaa","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750259938353,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:19:02 [15:19:02.040] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0d87f4826009ff8c6ef79e051bc37053faad1dcb86a949e40a0b1e0f120b8f3e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750259938365,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:19:03 [15:19:03.216] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 15:19:04 [15:19:04.283] 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 15:19:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 15:19:04 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 15:19:04 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 15:19:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 15:19:04 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 15:19:04 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 15:19:04 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 15:19:04 newBlockNumber: 3, 15:19:04 previousBlockNumber: 1 15:19:04 } 15:19:04 [15:19:04.302] 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":"0x1f70a2f1f16e194c706d79e19d3bea4a6bbb35396b2ece1e33bfcaf6c2901eaa","newBlockNumber":3,"updatedL1SyncPoint":70} 15:19:04 [15:19:04.304] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 15:19:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 15:19:04 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 15:19:04 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 15:19:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 15:19:04 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 15:19:04 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 15:19:04 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 15:19:04 newBlockNumber: 3, 15:19:04 previousBlockNumber: 1 15:19:04 } 15:19:05 [15:19:05.512] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0d87f4826009ff8c6ef79e051bc37053faad1dcb86a949e40a0b1e0f120b8f3e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750259938365,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:19:05 [15:19:05.513] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1334329926a8462097bc1cd069b6d8300a3ec2dbc7a898a43026bc3f44d596bb","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750259938377,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 15:19:05 [15:19:05.594] INFO: archiver Stopped. 15:19:05 PASS src/archiver/archiver.test.ts (38.463 s) 15:19:05 Archiver 15:19:05 syncs l1 to l2 messages and blocks (4619 ms) 15:19:05 ignores block 3 because it has been pruned (3072 ms) 15:19:05 skip event search if no changes found (4328 ms) 15:19:05 handles L2 reorg (6502 ms) 15:19:05 handles updated messages due to L1 reorg (1622 ms) 15:19:05 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (2920 ms) 15:19:05 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1374 ms) 15:19:05 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (367 ms) 15:19:05 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (433 ms) 15:19:05 reports an epoch as complete due to timestamp only once all its blocks have been synced (1882 ms) 15:19:05 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (552 ms) 15:19:05 handles a block gap due to a spurious L2 prune (7254 ms) 15:19:05 skipped handles an upcoming L2 prune 15:19:05 15:19:05 Test Suites: 1 passed, 1 total 15:19:05 Tests: 1 skipped, 12 passed, 13 total 15:19:05 Snapshots: 0 total 15:19:05 Time: 38.546 s 15:19:05 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 15:19:05 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?