Parent Log:
http://ci.aztec-labs.com/6fbf8abddd36c45a
Command: 70811dc7878fc723 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/9071986bfe3af58c70d2c80c10f523e22bfe4cb4
Env: REF_NAME=gh-readonly-queue/next/pr-15133-64d1ec347b1cea9fa1b04ff6fc2984f8ee073b2b CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Fri Jun 20 14:50:06 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15133_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
14:50:10 [14:50:10.023]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:12 [14:50:12.780]
INFO:
archiver:test Waiting for archiver to sync to block 3
14:50:12 [14:50:12.796]
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":"0x0d906a30a3df396e906d1817e56cba6a0988ae38c950cd717886454f016405b0","rollingHash":"0xaab2a8c6d3b8e6fc78f985f49420914f"},"messageCount":2}
14:50:12 [14:50:12.874]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x12e7424755e63a9228e2ab5263b00ea6b736ffff225808d748604e758fc9edbe","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750431010024,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:50:13 [14:50:13.890]
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":"0x053a23edaf1f22f9ea0c79051da7c40aa53933cfcfe154ca3ad3ecb165fa8593","rollingHash":"0x7cd4a6d0950e0a1ce4bb2e1c3eee41e7"},"messageCount":4}
14:50:13 [14:50:13.916]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
14:50:14 [14:50:14.051]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0dafbcafcbff0aa880cdacc7eda7d0c5bb58360657ab896e77f37776f5228f8b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750431010036,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:50:14 [14:50:14.052]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x253ea04891485d50d4611209e0c057bdac745244f36e0b2499d8208e27d3b781","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750431010048,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:50:14 [14:50:14.254]
INFO:
archiver Stopped.
14:50:14 [14:50:14.257]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:16 [14:50:16.807]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:50:16 [14:50:16.815]
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":"0x2910fbca6151304550dafc38ee5a8e8faef9b7b6cf09e0fc7d1068f7b4cf44c0","rollingHash":"0xa2e86b5dc8df794bdac43e62fb423a46"},"messageCount":2}
14:50:16 [14:50:16.833]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x1552a6a5f0be2fefb57eda1315730e341490873d06cd25a542f4518a88a0ad2b","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
14:50:16 [14:50:16.926]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x12814eae6de3707824a1cb1655e41607cc5b6dde61387948e73f8d7ec7e7b9c5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750431014269,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:50:16 [14:50:16.927]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x26072a50a5afb2bf4e62905cb834316960b097f22d62a36207c0bfd80027aa38","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750431014281,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:50:17 [14:50:17.015]
INFO:
archiver Stopped.
14:50:17 [14:50:17.017]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:19 [14:50:19.558]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:50:20 [14:50:20.572]
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":"0x2dc29b25a14f1cc71dcd891ee36dce10497e9c8793f76d5ff555b73d65188af9","rollingHash":"0xdc42cc8f472855318420057cc2559012"},"messageCount":2}
14:50:20 [14:50:20.683]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2b27b076e274c8509c8e514ff657d95505276ebc14ff8eb58f35152a0b830cfa","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750431017028,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:50:20 [14:50:20.684]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x13677aa011a18e590e01343cdb07a8bad8e7243e653ef1ff8f920f4f9289fe44","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750431017040,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:50:20 [14:50:20.774]
INFO:
archiver Stopped.
14:50:20 [14:50:20.775]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:23 [14:50:23.320]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:50:23 [14:50:23.354]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
14:50:23 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:50:23 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:50:23 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
14:50:23 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
14:50:23 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
14:50:23 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:50:23 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:50:24 [14:50:24.363]
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":"0x0a7cb3a2117c1a60f4ba39dac7bd242731582a82b552ebbc851b86b1e21150e3","rollingHash":"0x9e1b6e6707f030bd7188910177eb315c"},"messageCount":2}
14:50:24 [14:50:24.478]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1527f6bd3282bbd4a65fa7815e540731d9276a3f1efeee5d8f62823e9a27edf5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750431020787,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:50:24 [14:50:24.478]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x27e1e41a803905296ea421a42349c433115fb45e037c49cdd41b55feda631978","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750431020799,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:50:24 [14:50:24.481]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
14:50:24 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:50:24 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:50:24 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
14:50:24 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
14:50:24 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
14:50:24 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:50:24 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:50:25 [14:50:25.572]
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:50:25 [14:50:25.574]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
14:50:25 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:50:25 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:50:25 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
14:50:25 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
14:50:25 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
14:50:25 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:50:25 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:50:26 [14:50:26.571]
INFO:
archiver Stopped.
14:50:26 [14:50:26.572]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:26 [14:50:26.826]
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":"0x0b09f28908d96c41463f249c7fcc16271649bae050fa8964a268211d74f5b438","rollingHash":"0xe3c9c145266f51b3f599d3bab597af3f"},"messageCount":6}
14:50:26 [14:50:26.827]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0b09f28908d96c41463f249c7fcc16271649bae050fa8964a268211d74f5b438","rollingHash":"0xe3c9c145266f51b3f599d3bab597af3f"},"remoteMessagesState":{"messagesRollingHash":"0x42174e2e6f83f2c6f4befeaecb208e53","totalMessagesInserted":5,"treeInProgress":0}}
14:50:26 [14:50:26.921]
WARN:
archiver:test Reorging L1 to L2 messages
14:50:27 [14:50:27.835]
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":"0x0b09f28908d96c41463f249c7fcc16271649bae050fa8964a268211d74f5b438","rollingHash":"0xe3c9c145266f51b3f599d3bab597af3f"}}
14:50:27 [14:50:27.837]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
14:50:27 [14:50:27.838]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
14:50:27 [14:50:27.855]
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":"0x08821c77ab018e4252f6f3bcf1a557b7f62fcfd95ee0d1feaf1ed26aca1f8ef5","rollingHash":"0x418d8eb414202909873319f8b05315a5"},"messageCount":5}
14:50:27 [14:50:27.930]
INFO:
archiver Stopped.
14:50:27 [14:50:27.932]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:28 [14:50:28.180]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
14:50:28 [14:50:28.931]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:50:28 [14:50:28.990]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1900e4fc5d3d8fbe75172aff9f169872091aa14fa2b05c8fa9f5097624856fe6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750431027943,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:50:29 [14:50:29.033]
INFO:
archiver Stopped.
14:50:29 [14:50:29.036]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:29 [14:50:29.287]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
14:50:30 [14:50:30.039]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:50:30 [14:50:30.097]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x30391de9dcc0c20742d9097194673df4aee5312946604da2b0c7936c2910701f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750431029047,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:50:30 [14:50:30.142]
INFO:
archiver Stopped.
14:50:30 [14:50:30.143]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:30 [14:50:30.393]
INFO:
archiver:test Syncing archiver to L1 block 6
14:50:30 [14:50:30.399]
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":"0xe5a2068197176c83331b6681184f56e0cc094cf9de0c526bb63504ac3a2ddc14","l1BlockNumber":0}}
14:50:30 [14:50:30.408]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:50:30 [14:50:30.409]
INFO:
archiver Stopped.
14:50:30 [14:50:30.411]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:30 [14:50:30.662]
INFO:
archiver:test Syncing archiver to L1 block 7
14:50:30 [14:50:30.663]
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":"0x9bb513ca8dd6a9398baeb476d2365a61bf69dac7186cce0902947bf077befa52","l1BlockNumber":0}}
14:50:30 [14:50:30.670]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:50:30 [14:50:30.672]
INFO:
archiver Stopped.
14:50:30 [14:50:30.674]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:30 [14:50:30.927]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
14:50:31 [14:50:31.740]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2044a832f94b99a99e84aaf19cb2b50d76c891d0f6fb0e4a98f67cc6e8a43930","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750431030686,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:50:31 [14:50:31.744]
INFO:
archiver Stopped.
14:50:31 [14:50:31.746]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:32 [14:50:32.008]
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":"0xcfd07744d060efdc235ef330219eb30d8edb554b50b7f73a616aee210a24e922","l1BlockNumber":0}}
14:50:32 [14:50:32.021]
INFO:
archiver Stopped.
14:50:32 [14:50:32.022]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:34 [14:50:34.698]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x23b80edaa70b30f5db988502d6b87da266e271089f3011573baea1962ecb9241","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750431032034,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:50:34 [14:50:34.699]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2620575878fdf6c8788c0725b6cad04afa6a39b38e3394c1824a8cbd8d3a1c7e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750431032046,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:50:35 [14:50:35.787]
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:50:36 [14:50:36.824]
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:50:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
14:50:36 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:50:36 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
14:50:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
14:50:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:50:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:50:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:50:36 newBlockNumber: 3,
14:50:36 previousBlockNumber: 1
14:50:36 }
14:50:36 [14:50:36.844]
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":"0x23b80edaa70b30f5db988502d6b87da266e271089f3011573baea1962ecb9241","newBlockNumber":3,"updatedL1SyncPoint":70}
14:50:36 [14:50:36.845]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
14:50:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
14:50:36 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:50:36 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
14:50:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
14:50:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:50:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:50:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:50:36 newBlockNumber: 3,
14:50:36 previousBlockNumber: 1
14:50:36 }
14:50:37 [14:50:37.970]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2620575878fdf6c8788c0725b6cad04afa6a39b38e3394c1824a8cbd8d3a1c7e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750431032046,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:50:37 [14:50:37.971]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x191fbacd4d783f5b1d07b9c83ac96ceb5fa0cdafe5fb1ff438fc10c5f89068bc","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750431032058,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:50:38 [14:50:38.062]
INFO:
archiver Stopped.
14:50:38
PASS src/archiver/archiver.test.ts (
30.379 s)
14:50:38 Archiver
14:50:38
✓ syncs l1 to l2 messages and blocks (4244 ms)
14:50:38
✓ ignores block 3 because it has been pruned (2760 ms)
14:50:38
✓ skip event search if no changes found (3758 ms)
14:50:38
✓ handles L2 reorg (5797 ms)
14:50:38
✓ handles updated messages due to L1 reorg (1360 ms)
14:50:38
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1103 ms)
14:50:38
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1108 ms)
14:50:38
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (267 ms)
14:50:38
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (263 ms)
14:50:38
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1071 ms)
14:50:38
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (276 ms)
14:50:38
✓ handles a block gap due to a spurious L2 prune (6041 ms)
14:50:38
○ skipped handles an upcoming L2 prune
14:50:38
14:50:38
Test Suites: 1 passed, 1 total
14:50:38
Tests: 1 skipped,
12 passed, 13 total
14:50:38
Snapshots: 0 total
14:50:38
Time: 30.454 s
14:50:38
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
14:50:38
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?