Parent Log:
http://ci.aztec-labs.com/210b73a1ac6e2044
Command: 85ebe83a9ef9464b yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/24972303091baff6f83c6389d7d1406c932357e9
Env: REF_NAME=gh-readonly-queue/next/pr-15042-a0a8617413ca6f4fba2ad190ce73dab59bd75a45 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 14:15:42 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15042_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
14:15:47 [14:15:47.295]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:50 [14:15:50.188]
INFO:
archiver:test Waiting for archiver to sync to block 3
14:15:50 [14:15:50.268]
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":"0x2403c32659060fc960191904eb1343b31ed9f76ed635abf392a2e7e954a69b28","rollingHash":"0xe4070d0e0fd4664aeaac25019d13794d"},"messageCount":2}
14:15:50 [14:15:50.437]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0a3e27c7c0e43a879ce7f821b78d4cf810f859d81f978aace9725c89e488b38b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169747285,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:15:51 [14:15:51.461]
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":"0x0f62445a8eb887b59c1e98bb945c96ffac060ca44da522264d120fe659d8ece2","rollingHash":"0x4ec94a83dc32f4c383e8bf8bd4210e95"},"messageCount":4}
14:15:51 [14:15:51.502]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
14:15:51 [14:15:51.722]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x140b1ccebd066976acf052a06f58e15993a2b71e4bda71c9292772bfe740e05e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169747297,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:15:51 [14:15:51.723]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x12a620d7bb866bdca264f7935b7bed75011a044e731127e4300235365bc8ee15","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750169747309,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:15:51 [14:15:51.895]
INFO:
archiver Stopped.
14:15:51 [14:15:51.901]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:55 [14:15:55.162]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:15:55 [14:15:55.174]
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":"0x05c00f3f6d35f4d1eb3d682b953e83ef00701d45b475d0e9ee32e1a9952a5307","rollingHash":"0x08adcc1fdcbbc97524df2549e7cd2df6"},"messageCount":2}
14:15:55 [14:15:55.196]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x01d466d46dcaadee1f9fda5ae46d94184da688f6e298cd5cbd391d3692c1442a","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
14:15:55 [14:15:55.298]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x112c285b5a44a616137292db8a35b18f26e10a225a65b4d35e4adb7106fe8811","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169751912,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:15:55 [14:15:55.299]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x144d815d3c6cef10c7f17ac00eff03f8575dcb6d164067736b5cf59391751e61","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169751924,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:15:55 [14:15:55.390]
INFO:
archiver Stopped.
14:15:55 [14:15:55.392]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:58 [14:15:58.155]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:15:59 [14:15:59.183]
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":"0x2ab1f34f064e92960dde1726ed327debbc9bbcf152c209290857182a1b539936","rollingHash":"0x836b40d49f9481377cff80c53f1f3ab1"},"messageCount":2}
14:15:59 [14:15:59.345]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2f507387f81f4eab0d849bc78e3e2632e35878a0f6ade7ab101dbc7cfcc71a90","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169755404,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:15:59 [14:15:59.346]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x20b0e73dea1de09902dda8817032f87791729f665ff50e68d33dafebd9027791","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169755416,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:15:59 [14:15:59.429]
INFO:
archiver Stopped.
14:15:59 [14:15:59.432]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:02 [14:16:02.336]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:16:02 [14:16:02.408]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
14:16:02 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:16:02 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:16:02 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:16:02 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:16:02 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:16:02 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:16:02 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:16:03 [14:16:03.420]
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":"0x11dcc15fb1c6d1e8fb1e2726bb3e4403f16e0a276b8196a64933e3d33bbbc25f","rollingHash":"0x98a5fb13ac47397df6630a0f73ac721a"},"messageCount":2}
14:16:03 [14:16:03.623]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x04d802bf659fbf4c6d6a53b02bf59b6455787a15c41eef7e8adfc4e8b8a0aaa9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169759443,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:16:03 [14:16:03.625]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2cbe766df3dc5700932cd091782b9fe97ccef862c223c94759cdf5f6bb954706","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169759455,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:16:03 [14:16:03.632]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
14:16:03 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:16:03 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:16:03 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:16:03 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:16:03 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:16:03 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:16:03 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:16:04 [14:16:04.790]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
14:16:04 [14:16:04.795]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
14:16:04 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:16:04 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:16:04 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:16:04 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:16:04 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:16:04 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:16:04 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:16:05 [14:16:05.649]
INFO:
archiver Stopped.
14:16:05 [14:16:05.652]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:06 [14:16:06.187]
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":"0x2e963e4369427c0e7e9936d2b89be50c4841f06c956fe131826b95ceea4a56de","rollingHash":"0x9c1005785c20bb85d13fcca2504ff201"},"messageCount":6}
14:16:06 [14:16:06.188]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2e963e4369427c0e7e9936d2b89be50c4841f06c956fe131826b95ceea4a56de","rollingHash":"0x9c1005785c20bb85d13fcca2504ff201"},"remoteMessagesState":{"messagesRollingHash":"0x0fb9c2f01d993a421fccbeb0d90c6870","totalMessagesInserted":5,"treeInProgress":0}}
14:16:06 [14:16:06.281]
WARN:
archiver:test Reorging L1 to L2 messages
14:16:07 [14:16:07.205]
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":"0x2e963e4369427c0e7e9936d2b89be50c4841f06c956fe131826b95ceea4a56de","rollingHash":"0x9c1005785c20bb85d13fcca2504ff201"}}
14:16:07 [14:16:07.210]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
14:16:07 [14:16:07.211]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
14:16:07 [14:16:07.234]
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":"0x2b31407340b4b93377788cf401818d4c1cf5895480325983a04b7713deb08762","rollingHash":"0xcf6407418a09ec647471254f44f7e7f8"},"messageCount":5}
14:16:07 [14:16:07.322]
INFO:
archiver Stopped.
14:16:07 [14:16:07.324]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:07 [14:16:07.722]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
14:16:09 [14:16:09.200]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:16:09 [14:16:09.472]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x117c7a0b340d93f27462fb6381c299a0aac8dc8c71d93a88d0b7696b097ba2e7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169767335,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:16:09 [14:16:09.569]
INFO:
archiver Stopped.
14:16:09 [14:16:09.573]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:10 [14:16:10.112]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
14:16:11 [14:16:11.224]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:16:11 [14:16:11.334]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2a2438583e3e7a3e7e41662133c052b239fd37998cd5f44a8c0b4b3f9e661479","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750169769583,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:16:11 [14:16:11.433]
INFO:
archiver Stopped.
14:16:11 [14:16:11.436]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:11 [14:16:11.870]
INFO:
archiver:test Syncing archiver to L1 block 6
14:16:11 [14:16:11.871]
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":"0x549fcba82aa29a6ad9186b954c9d779a7ff5f8680dd2e92ccdb0e8bb3cdce934","l1BlockNumber":0}}
14:16:11 [14:16:11.891]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000006","l1BlockNumber":6}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:16:11 [14:16:11.893]
INFO:
archiver Stopped.
14:16:11 [14:16:11.895]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:12 [14:16:12.319]
INFO:
archiver:test Syncing archiver to L1 block 7
14:16:12 [14:16:12.321]
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":"0x0293bbae8550eeeda7a73c082a9ddf6ff362e76f51070cd9d655177c9ae09491","l1BlockNumber":0}}
14:16:12 [14:16:12.338]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000007","l1BlockNumber":7}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:16:12 [14:16:12.339]
INFO:
archiver Stopped.
14:16:12 [14:16:12.341]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:12 [14:16:12.721]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
14:16:14 [14:16:14.044]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2570c39818a0f0529a067b86d52a625d3f06282b9a4a059a7a6c8231d055a036","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169772352,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:16:14 [14:16:14.049]
INFO:
archiver Stopped.
14:16:14 [14:16:14.057]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:14 [14:16:14.761]
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":"0xab496509b108ad3df2260022f487c94721e42545ce34312db60e3fff6a4504b2","l1BlockNumber":0}}
14:16:14 [14:16:14.802]
INFO:
archiver Stopped.
14:16:14 [14:16:14.809]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:18 [14:16:18.512]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0a7e083bd683ce19ad501c7d5f94b43d1486837302fa37f016c95218716e691f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169774819,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:16:18 [14:16:18.513]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x16b67eac1935e89f31687f080e02a0b96cfaa6ac1861b32617d7463c92ca19c5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169774831,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:16:19 [14:16:19.673]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
14:16:20 [14:16:20.742]
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
14:16:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
14:16:20 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:16:20 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
14:16:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
14:16:20 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:16:20 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:16:20 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:16:20 newBlockNumber: 3,
14:16:20 previousBlockNumber: 1
14:16:20 }
14:16:20 [14:16:20.768]
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":"0x0a7e083bd683ce19ad501c7d5f94b43d1486837302fa37f016c95218716e691f","newBlockNumber":3,"updatedL1SyncPoint":70}
14:16:20 [14:16:20.768]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
14:16:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
14:16:20 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:16:20 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
14:16:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
14:16:20 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:16:20 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:16:20 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:16:20 newBlockNumber: 3,
14:16:20 previousBlockNumber: 1
14:16:20 }
14:16:22 [14:16:22.033]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x16b67eac1935e89f31687f080e02a0b96cfaa6ac1861b32617d7463c92ca19c5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169774831,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:16:22 [14:16:22.035]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x107e03fe3fb4b664293b7927ceb579e2a1e7f870d7d7c8645badc8c4f2f8bd79","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750169774843,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:16:22 [14:16:22.122]
INFO:
archiver Stopped.
14:16:22
PASS src/archiver/archiver.test.ts (
38.216 s)
14:16:22 Archiver
14:16:22
✓ syncs l1 to l2 messages and blocks (4626 ms)
14:16:22
✓ ignores block 3 because it has been pruned (3492 ms)
14:16:22
✓ skip event search if no changes found (4039 ms)
14:16:22
✓ handles L2 reorg (6218 ms)
14:16:22
✓ handles updated messages due to L1 reorg (1673 ms)
14:16:22
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (2247 ms)
14:16:22
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1864 ms)
14:16:22
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (459 ms)
14:16:22
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (446 ms)
14:16:22
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1710 ms)
14:16:22
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (755 ms)
14:16:22
✓ handles a block gap due to a spurious L2 prune (7316 ms)
14:16:22
○ skipped handles an upcoming L2 prune
14:16:22
14:16:22
Test Suites: 1 passed, 1 total
14:16:22
Tests: 1 skipped,
12 passed, 13 total
14:16:22
Snapshots: 0 total
14:16:22
Time: 38.309 s
14:16:22
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
14:16:22
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?