Parent Log:
http://ci.aztec-labs.com/05b76684a53e6d24
Command: 0d541f5a731ac42b yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/74eeec5d95106217d3b3f3068853022cef7fa307
Env: REF_NAME=gh-readonly-queue/next/pr-15189-8cbdad5ba8c6b2b13d060ecb764f4818ca0d5e4d CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 25 10:25:18 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15189_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
10:25:22 [10:25:22.107]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:25 [10:25:25.064]
INFO:
archiver:test Waiting for archiver to sync to block 3
10:25:25 [10:25:25.083]
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":"0x0423e517fd19ba8dbe7e3802f2adce10e78a1e6d362831ae8c2002bb44f400ac","rollingHash":"0x4264f1027463d029e68523895be6f311"},"messageCount":2}
10:25:25 [10:25:25.191]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x183dc1765c61379eba5ddb29543a4ded32daafdd93947f0c9efe1432619bd69a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750847122104,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:25:26 [10:25:26.213]
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":"0x0807e3e412d35be6f45207f1b3e9ed7a719ff0e3decd58100f626a819f2b04d5","rollingHash":"0xee911b6cd1190001116c53c1b1e25b1e"},"messageCount":4}
10:25:26 [10:25:26.245]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
10:25:26 [10:25:26.401]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x193c2b331c6a47fbd0db9d2c9b267dd5b69e58f7359b8ab00183739dc579aff8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750847122116,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:25:26 [10:25:26.402]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x22c80d9b93774ea1038b266b5ce6fcf3aa78de0b255c9acb719b120a390d9c75","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750847122128,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:25:26 [10:25:26.623]
INFO:
archiver Stopped.
10:25:26 [10:25:26.626]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:29 [10:25:29.364]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:25:29 [10:25:29.376]
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":"0x048b45a2617afd15e2958dad09d782b31693348dcd2e102feb3728b8ea145495","rollingHash":"0xabfbd36c45b2badfd9e77109e4c8bda4"},"messageCount":2}
10:25:29 [10:25:29.397]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0a040cc33c166f57375174dcd53f469ddd5c373ef3caea49718cf13ec5d0dbd9","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
10:25:29 [10:25:29.540]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1ba5c27961270f10be1fc8133f492e96e9f10c370e086822239493226f8f83bc","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750847126638,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:25:29 [10:25:29.541]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x00d2da08d96c3e44c74213278b6eb7e02cac64ae882cc7e6544cb5e0f9c20c5c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750847126650,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:25:29 [10:25:29.631]
INFO:
archiver Stopped.
10:25:29 [10:25:29.632]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:32 [10:25:32.315]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:25:33 [10:25:33.334]
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":"0x2f25f47f87ea57d103be1b2e8621e90a225a9a7c352cb7cff8af0fe034af47eb","rollingHash":"0x5dcf18d01824110089e2d1ee2eea4578"},"messageCount":2}
10:25:33 [10:25:33.510]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x08598bcdc8cc5d48523651d7e9b724e97dbba91a8c1de3cf2884b21534701d4f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750847129644,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:25:33 [10:25:33.511]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x061b749cac13d9aaa09c4c4450f4200cf67b5d7a2e1126ea30b9b727f6947a3d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750847129656,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:25:33 [10:25:33.588]
INFO:
archiver Stopped.
10:25:33 [10:25:33.591]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:36 [10:25:36.345]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:25:36 [10:25:36.388]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
10:25:36 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:25:36 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:25:36 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:25:36 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:25:36 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:25:36 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:25:36 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:25:37 [10:25:37.399]
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":"0x0ca0c9e3ba6f248e50ab9de5376b5eeb5c5b7edc1e2a0ad808a97cf58d878dad","rollingHash":"0x985a7b14571bb654bf2f2990f87f11c4"},"messageCount":2}
10:25:37 [10:25:37.596]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x14257ccdf73299d37fd40d80c29619ce55fd3475c4f9c221e280c102f68b4af1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750847133602,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:25:37 [10:25:37.597]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x170747f93d750034ebb12a83ea1cce1138168ef9de0ca80adf8dfd15a139618a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750847133614,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:25:37 [10:25:37.600]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
10:25:37 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:25:37 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:25:37 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:25:37 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:25:37 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:25:37 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:25:37 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:25:38 [10:25:38.727]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
10:25:38 [10:25:38.729]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
10:25:38 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:25:38 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:25:38 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:25:38 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:25:38 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:25:38 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:25:38 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:25:39 [10:25:39.690]
INFO:
archiver Stopped.
10:25:39 [10:25:39.694]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:40 [10:25:40.072]
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":"0x29f1fa892c4dc74a5441d8707561e64adba2fe6aebf9fafa94fbc16143bf3b4e","rollingHash":"0x81b0517d2410fc7dc54020cc0896d8c0"},"messageCount":6}
10:25:40 [10:25:40.073]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x29f1fa892c4dc74a5441d8707561e64adba2fe6aebf9fafa94fbc16143bf3b4e","rollingHash":"0x81b0517d2410fc7dc54020cc0896d8c0"},"remoteMessagesState":{"messagesRollingHash":"0x1f02dff5c28c5e8a6c7d480e97d26f44","totalMessagesInserted":5,"treeInProgress":0}}
10:25:40 [10:25:40.166]
WARN:
archiver:test Reorging L1 to L2 messages
10:25:41 [10:25:41.090]
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":"0x29f1fa892c4dc74a5441d8707561e64adba2fe6aebf9fafa94fbc16143bf3b4e","rollingHash":"0x81b0517d2410fc7dc54020cc0896d8c0"}}
10:25:41 [10:25:41.094]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
10:25:41 [10:25:41.100]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
10:25:41 [10:25:41.126]
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":"0x065f3449b9bb9a9fc8dd5453f6b5277d72635dceba6411510e0537adfd630aaa","rollingHash":"0x76ef1bd37364c551756eaf1317c128be"},"messageCount":5}
10:25:41 [10:25:41.199]
INFO:
archiver Stopped.
10:25:41 [10:25:41.205]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:41 [10:25:41.693]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
10:25:42 [10:25:42.592]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:25:42 [10:25:42.671]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x045c4ba89d8b0a752718309ed7597c05a80e99e99adbe65077ae84eda46d3497","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750847141212,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:25:42 [10:25:42.698]
INFO:
archiver Stopped.
10:25:42 [10:25:42.701]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:43 [10:25:43.058]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
10:25:44 [10:25:44.404]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:25:44 [10:25:44.488]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x29bb33573f592218bc60744b06a39e8bb940e82ea0166d920571583092475a92","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750847142712,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:25:44 [10:25:44.509]
INFO:
archiver Stopped.
10:25:44 [10:25:44.511]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:44 [10:25:44.881]
INFO:
archiver:test Syncing archiver to L1 block 6
10:25:44 [10:25:44.883]
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":"0xa387c24e28be2ca49621defb4f4032d2802fb692249fa363c52e388647014a0f","l1BlockNumber":0}}
10:25:44 [10:25:44.901]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
10:25:44 [10:25:44.903]
INFO:
archiver Stopped.
10:25:44 [10:25:44.905]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:45 [10:25:45.434]
INFO:
archiver:test Syncing archiver to L1 block 7
10:25:45 [10:25:45.439]
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":"0xb77fcc7443f2805e4bb249b6f1618079203db31b75db08a85e23767fe6454645","l1BlockNumber":0}}
10:25:45 [10:25:45.451]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
10:25:45 [10:25:45.455]
INFO:
archiver Stopped.
10:25:45 [10:25:45.460]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:45 [10:25:45.960]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
10:25:46 [10:25:46.995]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0875e1b3d7fa4b59598220b83cf6bbb8e6683a4eebef8286f8f0acecd455a214","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750847145472,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:25:47 [10:25:47.010]
INFO:
archiver Stopped.
10:25:47 [10:25:47.012]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:47 [10:25:47.534]
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":"0xb46e9deeef4f47ef237061b73398cfb2d1b85f5fb0891a39a0bb025874bc9675","l1BlockNumber":0}}
10:25:47 [10:25:47.580]
INFO:
archiver Stopped.
10:25:47 [10:25:47.582]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:51 [10:25:51.625]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2d49cff228a2a7faf18c71374ab5a0a4b9dd0ba20a02f628728f0c51700c1dcf","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750847147594,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:25:51 [10:25:51.626]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x09ea5938e8bd3d4e9b28c1b911c00aeaffbbfa8b4e9263dc0a89357091b5579b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750847147606,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:25:52 [10:25:52.778]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
10:25:53 [10:25:53.866]
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
10:25:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:25:53 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:25:53 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:25:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
10:25:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:25:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:25:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:25:53 newBlockNumber: 3,
10:25:53 previousBlockNumber: 1
10:25:53 }
10:25:53 [10:25:53.905]
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":"0x2d49cff228a2a7faf18c71374ab5a0a4b9dd0ba20a02f628728f0c51700c1dcf","newBlockNumber":3,"updatedL1SyncPoint":70}
10:25:53 [10:25:53.906]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
10:25:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:25:53 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:25:53 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:25:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
10:25:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:25:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:25:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:25:53 newBlockNumber: 3,
10:25:53 previousBlockNumber: 1
10:25:53 }
10:25:55 [10:25:55.079]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x09ea5938e8bd3d4e9b28c1b911c00aeaffbbfa8b4e9263dc0a89357091b5579b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750847147606,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:25:55 [10:25:55.080]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2f73bcd71ad91d6968e8afd5fa53d6d1b3c0028a2ad0bcf9d6054fb2c23abe07","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750847147618,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:25:55 [10:25:55.173]
INFO:
archiver Stopped.
10:25:55
PASS src/archiver/archiver.test.ts (
35.998 s)
10:25:55 Archiver
10:25:55
✓ syncs l1 to l2 messages and blocks (4535 ms)
10:25:55
✓ ignores block 3 because it has been pruned (3006 ms)
10:25:55
✓ skip event search if no changes found (3957 ms)
10:25:55
✓ handles L2 reorg (6100 ms)
10:25:55
✓ handles updated messages due to L1 reorg (1509 ms)
10:25:55
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1499 ms)
10:25:55
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1809 ms)
10:25:55
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (393 ms)
10:25:55
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (552 ms)
10:25:55
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1554 ms)
10:25:55
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (570 ms)
10:25:55
✓ handles a block gap due to a spurious L2 prune (7596 ms)
10:25:55
○ skipped handles an upcoming L2 prune
10:25:55
10:25:55
Test Suites: 1 passed, 1 total
10:25:55
Tests: 1 skipped,
12 passed, 13 total
10:25:55
Snapshots: 0 total
10:25:55
Time: 36.093 s
10:25:55
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
10:25:55
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?