Parent Log:
http://ci.aztec-labs.com/ac35d2fca3044326
Command: ca0909fea864dc4d yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/534f06e45f48274efd53a2204c90cb0b91a53efb
Env: REF_NAME=gh-readonly-queue/next/pr-15230-ad85cda24c2f9b5b4b17d4921f8597b71949bb6c CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Tue Jun 24 20:51:22 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15230_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
20:51:25 [20:51:25.485]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:51:28 [20:51:28.273]
INFO:
archiver:test Waiting for archiver to sync to block 3
20:51:28 [20:51:28.287]
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":"0x288e52c6c85d7f82352be11ae0accebadbbd0bfdd8126db75b6802fd8f4e6bae","rollingHash":"0x2e0f47fc32a0ff4898b7536915c1b636"},"messageCount":2}
20:51:28 [20:51:28.363]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x25fd3a966ad8ab54d1aa84d134f544a5ed5363653aff4e24959cf347d1405c27","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750798285485,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:51:29 [20:51:29.380]
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":"0x0cb2fb5543484196fe0dbb113b177a1f47a3e1fd006c034843b2c94dcc00c49c","rollingHash":"0xc0dbe8dd9e2c467c0d961fb60f6a0fc4"},"messageCount":4}
20:51:29 [20:51:29.405]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
20:51:29 [20:51:29.542]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1bda6a9a023d974c87d3ecf33988ff02663ecaa37c1861183cbba0c88fece016","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750798285497,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:51:29 [20:51:29.543]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x28f38b3baa6d793b9ac5ce257b6367affef3a3f8d3d70c24942eeca48e5b301c","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750798285509,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
20:51:29 [20:51:29.745]
INFO:
archiver Stopped.
20:51:29 [20:51:29.749]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:51:32 [20:51:32.307]
INFO:
archiver:test Waiting for archiver to sync to block 2
20:51:32 [20:51:32.315]
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":"0x0a4157653198f4ddbbbf2719f6af4f3ae377516dd42b12deb3c02306f3c915bc","rollingHash":"0x0593a1e30de20b690ed166fce61f649e"},"messageCount":2}
20:51:32 [20:51:32.333]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x09dab3df0d2efeefbff4bdb48fe04e1f29138871c043a6a72681eae0db4b4115","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
20:51:32 [20:51:32.426]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x3028607040d7ffa3f3ccb9e5c323999be0920287f4677d951104c74dceef40e3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750798289760,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:51:32 [20:51:32.427]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1c972b37cb03adf20d42b72520273d6aee1b91c09fc17082a52c7499a075fe9e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750798289772,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:51:32 [20:51:32.516]
INFO:
archiver Stopped.
20:51:32 [20:51:32.518]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:51:35 [20:51:35.072]
INFO:
archiver:test Waiting for archiver to sync to block 2
20:51:36 [20:51:36.087]
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":"0x11c068f738489f16e6f23e835c785c21e16f8418ce0781ee2339229c75e1fe63","rollingHash":"0xfab769b335ce1d2b876569fb61a1bdaf"},"messageCount":2}
20:51:36 [20:51:36.198]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2c62244299d1809132af450f8583554787bdadacb537934be7d8a254a255d85e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750798292530,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:51:36 [20:51:36.198]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x29559042757345055f4722d9d7a55fa7d5697150f2427e15f8eec85a4b91e24f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750798292542,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:51:36 [20:51:36.289]
INFO:
archiver Stopped.
20:51:36 [20:51:36.290]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:51:38 [20:51:38.849]
INFO:
archiver:test Waiting for archiver to sync to block 2
20:51:38 [20:51:38.882]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
20:51:38 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
20:51:38 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
20:51:38 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
20:51:38 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
20:51:38 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
20:51:38 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
20:51:38 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
20:51:39 [20:51:39.890]
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":"0x0a7331c172766c72292f2328601d57e9055cd85cdb779c4822193be9b267ec1e","rollingHash":"0x4c0ebe8241e12f629fe9c913dff7a5bd"},"messageCount":2}
20:51:40 [20:51:40.002]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2aa4bc56d97f81324249ca46ae9e6ec611b989786af0b76c4cfae5d169e419fd","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750798296302,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:51:40 [20:51:40.003]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x002446f766e07c390b585ae491704f26b0a410cc19640c8b1722e40fe327192c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750798296314,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:51:40 [20:51:40.005]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
20:51:40 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
20:51:40 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
20:51:40 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
20:51:40 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
20:51:40 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
20:51:40 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
20:51:40 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
20:51:41 [20:51:41.096]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
20:51:41 [20:51:41.098]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
20:51:41 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
20:51:41 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
20:51:41 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
20:51:41 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
20:51:41 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
20:51:41 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
20:51:41 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
20:51:42 [20:51:42.097]
INFO:
archiver Stopped.
20:51:42 [20:51:42.098]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:51:42 [20:51:42.363]
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":"0x0980d4aeadd06849a58f6db4cf8678de62c6957f2ee7ced19c605f8740ed384e","rollingHash":"0x62f06323da4ad52234de6e85dad67db0"},"messageCount":6}
20:51:42 [20:51:42.364]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0980d4aeadd06849a58f6db4cf8678de62c6957f2ee7ced19c605f8740ed384e","rollingHash":"0x62f06323da4ad52234de6e85dad67db0"},"remoteMessagesState":{"messagesRollingHash":"0x53c7770216c4ddf02aafea7d956e78c3","totalMessagesInserted":5,"treeInProgress":0}}
20:51:42 [20:51:42.457]
WARN:
archiver:test Reorging L1 to L2 messages
20:51:43 [20:51:43.373]
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":"0x0980d4aeadd06849a58f6db4cf8678de62c6957f2ee7ced19c605f8740ed384e","rollingHash":"0x62f06323da4ad52234de6e85dad67db0"}}
20:51:43 [20:51:43.374]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
20:51:43 [20:51:43.375]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
20:51:43 [20:51:43.394]
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":"0x2005e14417508b4b950db9e99478145a3cacd0e5f02ced4e6b348e18782d0e25","rollingHash":"0xba997d19e81ac795232a102a2b50caa3"},"messageCount":5}
20:51:43 [20:51:43.466]
INFO:
archiver Stopped.
20:51:43 [20:51:43.468]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:51:43 [20:51:43.724]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
20:51:44 [20:51:44.478]
INFO:
archiver:test Waiting for archiver to sync to block 1
20:51:44 [20:51:44.537]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x003096d700548d0559e14ac14b7e4510d371cd8a32105039fee2e859e0a2bb8b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750798303479,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:51:44 [20:51:44.580]
INFO:
archiver Stopped.
20:51:44 [20:51:44.581]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:51:44 [20:51:44.838]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
20:51:45 [20:51:45.592]
INFO:
archiver:test Waiting for archiver to sync to block 1
20:51:45 [20:51:45.649]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2165f2cdc3f66f1f0927dd891b6faa7a9f2cbe844100ce943f777a9c1513c592","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750798304593,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:51:45 [20:51:45.694]
INFO:
archiver Stopped.
20:51:45 [20:51:45.695]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:51:45 [20:51:45.954]
INFO:
archiver:test Syncing archiver to L1 block 6
20:51:45 [20:51:45.960]
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":"0x9e6bb5c28de5a099db0e367704e3e45e9efaf8f6be379c78c4485174f61fb90a","l1BlockNumber":0}}
20:51:45 [20:51:45.968]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
20:51:45 [20:51:45.970]
INFO:
archiver Stopped.
20:51:45 [20:51:45.971]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:51:46 [20:51:46.231]
INFO:
archiver:test Syncing archiver to L1 block 7
20:51:46 [20:51:46.232]
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":"0x0fd251d40a010f6991e027d687217f49dea43e8d8aea65503fcedade2fbf6f3f","l1BlockNumber":0}}
20:51:46 [20:51:46.239]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
20:51:46 [20:51:46.241]
INFO:
archiver Stopped.
20:51:46 [20:51:46.243]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:51:46 [20:51:46.503]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
20:51:47 [20:51:47.315]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1f7275a2cb9a62b63975c2b54e8bdab8dec8bbf1658b23a7dd7149ccc2bf6f02","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750798306255,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:51:47 [20:51:47.318]
INFO:
archiver Stopped.
20:51:47 [20:51:47.319]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:51:47 [20:51:47.584]
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":"0x240677ed293ab6f4ae7bdac7b59c1c381b09ff1e2f05898a600807185cab0d4f","l1BlockNumber":0}}
20:51:47 [20:51:47.593]
INFO:
archiver Stopped.
20:51:47 [20:51:47.594]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:51:50 [20:51:50.290]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x07fa487c4e0018af7ade069f5d3b3bdf10fecc8d537dea068462553b01330e6f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750798307606,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:51:50 [20:51:50.291]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0f9ed42e85cfaf59c96ec3b993241b083a08ffd8493365c5f014b6450659ba59","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750798307618,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:51:51 [20:51:51.383]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
20:51:52 [20:51:52.438]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
20:51:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
20:51:52 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
20:51:52 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
20:51:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
20:51:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:51:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:51:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:51:52 newBlockNumber: 3,
20:51:52 previousBlockNumber: 1
20:51:52 }
20:51:52 [20:51:52.462]
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":"0x07fa487c4e0018af7ade069f5d3b3bdf10fecc8d537dea068462553b01330e6f","newBlockNumber":3,"updatedL1SyncPoint":70}
20:51:52 [20:51:52.462]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
20:51:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
20:51:52 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
20:51:52 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
20:51:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
20:51:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:51:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:51:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:51:52 newBlockNumber: 3,
20:51:52 previousBlockNumber: 1
20:51:52 }
20:51:53 [20:51:53.591]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0f9ed42e85cfaf59c96ec3b993241b083a08ffd8493365c5f014b6450659ba59","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750798307618,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:51:53 [20:51:53.591]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x22018c8093c5c727974cb58cdd959d09c831718c02ada28a5aa4974386912954","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750798307630,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
20:51:53 [20:51:53.683]
INFO:
archiver Stopped.
20:51:53
PASS src/archiver/archiver.test.ts (
30.688 s)
20:51:53 Archiver
20:51:53
✓ syncs l1 to l2 messages and blocks (4276 ms)
20:51:53
✓ ignores block 3 because it has been pruned (2769 ms)
20:51:53
✓ skip event search if no changes found (3772 ms)
20:51:53
✓ handles L2 reorg (5808 ms)
20:51:53
✓ handles updated messages due to L1 reorg (1369 ms)
20:51:53
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1113 ms)
20:51:53
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1114 ms)
20:51:53
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (275 ms)
20:51:53
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (271 ms)
20:51:53
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1076 ms)
20:51:53
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (274 ms)
20:51:53
✓ handles a block gap due to a spurious L2 prune (6089 ms)
20:51:53
○ skipped handles an upcoming L2 prune
20:51:53
20:51:53
Test Suites: 1 passed, 1 total
20:51:53
Tests: 1 skipped,
12 passed, 13 total
20:51:53
Snapshots: 0 total
20:51:53
Time: 30.76 s
20:51:53
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
20:51:53
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?