Parent Log:
http://ci.aztec-labs.com/401e5d3e3afe926b
Command: 49bbc26acf87c0b5 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/b608f9359219731d3c03407689a4fadaaa5a0d45
Env: REF_NAME=gh-readonly-queue/next/pr-15006-082468f0c1e7e5424b3654b5be0f3560eed7e487 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 12 13:47:56 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15006_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
13:48:00 [13:48:00.710]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:48:03 [13:48:03.462]
INFO:
archiver:test Waiting for archiver to sync to block 3
13:48:03 [13:48:03.480]
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":"0x2fb8ea7fbb8e41bc5199201bf05fdb98cb59e63ea8bb553df2491475a12194ed","rollingHash":"0xd466c1aab731f8ee8e677ecfa21fb398"},"messageCount":2}
13:48:03 [13:48:03.558]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2ee9a17ca81a9f29743eb1b5bbfcf01646ac98c00971b90b2c45b29530cfb667","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749736080719,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:48:04 [13:48:04.581]
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":"0x12ba393321163e8e7b65db4810fcbf010099252ad834fd16d46a3ace6d960c8c","rollingHash":"0xba5332f3c6afc48f2f24978c68eb6af1"},"messageCount":4}
13:48:04 [13:48:04.612]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
13:48:04 [13:48:04.745]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2957102d3a49438cd5a896520108cd51421a3ee77fb34a211a2224728b75240f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749736080731,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:48:04 [13:48:04.746]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x21fbe3a2a7a510771bf7ba66dc5b613a3cd564fb00a6f8fd61859d454e6f47e2","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749736080743,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:48:04 [13:48:04.952]
INFO:
archiver Stopped.
13:48:04 [13:48:04.956]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:48:07 [13:48:07.526]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:48:07 [13:48:07.580]
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":"0x1c19c9eb686c9a36a8715652922ce55946c6dfe179b59887c5023e7d1c46fd59","rollingHash":"0xad5460111ea05f7efb591a0ba302d631"},"messageCount":2}
13:48:07 [13:48:07.603]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x20689dd6c3d7bc7402c0e1a8f2d23c9b99c70dce2921ba8b06fb0c2736308ab0","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
13:48:07 [13:48:07.806]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2c7d47f5ad61a75d5ed15da3f0cc414c08633e0756d97322fda013d8aa6c23fe","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749736084968,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:48:07 [13:48:07.807]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x037d2afdba4b2d33d832a5b11a509679d05ad9c45d55bc470794ab9fee2f5f39","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749736084980,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:48:07 [13:48:07.890]
INFO:
archiver Stopped.
13:48:07 [13:48:07.892]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:48:10 [13:48:10.492]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:48:11 [13:48:11.519]
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":"0x0c80ca72abef104940bf769ee74a45d6f23f015ed3a6246198f2a24957f1599f","rollingHash":"0xd0cb7ddd9f45a364236210c2dc6b7bd6"},"messageCount":2}
13:48:11 [13:48:11.650]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1bdf4a8f192d07c60081e8c10c768b2de15257a77cfefb9dc7db62977012f724","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749736087904,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:48:11 [13:48:11.651]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1c92746ecea144fe3c01ff14cee99ad8ddff0675bd6b9bbb6027014f427dd78f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749736087916,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:48:11 [13:48:11.733]
INFO:
archiver Stopped.
13:48:11 [13:48:11.735]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:48:14 [13:48:14.224]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:48:14 [13:48:14.266]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
13:48:14 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:48:14 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
13:48:14 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
13:48:14 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
13:48:14 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
13:48:14 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:48:14 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:48:15 [13:48:15.274]
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":"0x1644833107b1ae2cc95eca21afedafc291f077ed5cd1723c29c735cd18d24e15","rollingHash":"0x5661aead696311ee28af6e1689805985"},"messageCount":2}
13:48:15 [13:48:15.372]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0192f58f73db3c42b25d5c2811a642b426c1a775ba0a7b8695521dd25af2d01a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749736091746,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:48:15 [13:48:15.373]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x13ea7d05c54a0ae69a2cdf8337c5d800bb0d469b0beec9446887a9507ca2b061","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749736091758,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:48:15 [13:48:15.375]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
13:48:15 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:48:15 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
13:48:15 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
13:48:15 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
13:48:15 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
13:48:15 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:48:15 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:48:16 [13:48:16.494]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
13:48:16 [13:48:16.497]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
13:48:16 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:48:16 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
13:48:16 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
13:48:16 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
13:48:16 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
13:48:16 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:48:16 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:48:17 [13:48:17.471]
INFO:
archiver Stopped.
13:48:17 [13:48:17.474]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:48:17 [13:48:17.789]
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":"0x0061b017242b3165d87cf5dc403a478435e6eccd3f49a23fd209c2c247d8a518","rollingHash":"0x4c342066848ee7a41512e46e51dc2b3e"},"messageCount":6}
13:48:17 [13:48:17.790]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0061b017242b3165d87cf5dc403a478435e6eccd3f49a23fd209c2c247d8a518","rollingHash":"0x4c342066848ee7a41512e46e51dc2b3e"},"remoteMessagesState":{"messagesRollingHash":"0x6fbf800298cfa3e8d9b050d97f92e075","totalMessagesInserted":5,"treeInProgress":0}}
13:48:17 [13:48:17.884]
WARN:
archiver:test Reorging L1 to L2 messages
13:48:18 [13:48:18.800]
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":"0x0061b017242b3165d87cf5dc403a478435e6eccd3f49a23fd209c2c247d8a518","rollingHash":"0x4c342066848ee7a41512e46e51dc2b3e"}}
13:48:18 [13:48:18.802]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
13:48:18 [13:48:18.803]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
13:48:18 [13:48:18.817]
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":"0x005482c159d92d5b26875d6a1c22cfa165dab50b1077e253fcaac3a8a12fd2c9","rollingHash":"0x4d0cd517d1bc041afcfff680cfea6378"},"messageCount":5}
13:48:18 [13:48:18.909]
INFO:
archiver Stopped.
13:48:18 [13:48:18.911]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:48:19 [13:48:19.379]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
13:48:20 [13:48:20.364]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:48:20 [13:48:20.442]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x24f326078f4d99a910cf2e6348af463f50cfcfd8772678c88a204b3770d23488","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749736098922,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:48:20 [13:48:20.469]
INFO:
archiver Stopped.
13:48:20 [13:48:20.471]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:48:20 [13:48:20.812]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
13:48:22 [13:48:22.694]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:48:22 [13:48:22.816]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0e571c2e8e1cf47c69c6d046d55dbde5ce012e8c272d886554c1b798f92ca8c3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749736100482,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:48:22 [13:48:22.904]
INFO:
archiver Stopped.
13:48:22 [13:48:22.908]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:48:23 [13:48:23.217]
INFO:
archiver:test Syncing archiver to L1 block 6
13:48:23 [13:48:23.218]
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":"0xa561ecf5356348fefa0916e9bd7806aa55f32500c96a3cca3cfaaf6115ef772d","l1BlockNumber":0}}
13:48:23 [13:48:23.235]
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}}
13:48:23 [13:48:23.237]
INFO:
archiver Stopped.
13:48:23 [13:48:23.238]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:48:23 [13:48:23.512]
INFO:
archiver:test Syncing archiver to L1 block 7
13:48:23 [13:48:23.513]
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":"0x280ca4f987b489602fa516356e2d8a764e3875e581a7cdbb2aec6a5b3c055fc7","l1BlockNumber":0}}
13:48:23 [13:48:23.529]
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}}
13:48:23 [13:48:23.530]
INFO:
archiver Stopped.
13:48:23 [13:48:23.532]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:48:23 [13:48:23.833]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
13:48:24 [13:48:24.661]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2400344f07446e9bf9a73b1dc6bd7cbe8c6ad6f13a9facd083fa296c88f1c67c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749736103544,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:48:24 [13:48:24.665]
INFO:
archiver Stopped.
13:48:24 [13:48:24.667]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:48:25 [13:48:25.174]
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":"0xdf358f756e4fdb2ff541fdfa029a3ab926d1c72e6f213b986cd6767b5d22cf2f","l1BlockNumber":0}}
13:48:25 [13:48:25.190]
INFO:
archiver Stopped.
13:48:25 [13:48:25.191]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:48:28 [13:48:28.852]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x11bc47d07e7bf079e20f91e5cfe96bcd3e567f45cc04e26c61d6663450ed604f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749736105203,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:48:28 [13:48:28.853]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2b92c57b7427f0aa6f2a8df502371da5b6c168c465cbc9907071b22154820117","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749736105215,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:48:30 [13:48:30.016]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
13:48:31 [13:48:31.236]
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
13:48:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
13:48:31 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:48:31 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
13:48:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1411:7
13:48:31 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:48:31 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:48:31 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:48:31 newBlockNumber: 3,
13:48:31 previousBlockNumber: 1
13:48:31 }
13:48:31 [13:48:31.258]
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":"0x11bc47d07e7bf079e20f91e5cfe96bcd3e567f45cc04e26c61d6663450ed604f","newBlockNumber":3,"updatedL1SyncPoint":70}
13:48:31 [13:48:31.260]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
13:48:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
13:48:31 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:48:31 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
13:48:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1411:7
13:48:31 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:48:31 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:48:31 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:48:31 newBlockNumber: 3,
13:48:31 previousBlockNumber: 1
13:48:31 }
13:48:32 [13:48:32.440]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2b92c57b7427f0aa6f2a8df502371da5b6c168c465cbc9907071b22154820117","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749736105215,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:48:32 [13:48:32.441]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0a8503991d03b09e7108ecd47a37035c6058843f2a10abb58a208ab4aaac386c","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749736105227,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:48:32 [13:48:32.530]
INFO:
archiver Stopped.
13:48:32
PASS src/archiver/archiver.test.ts (
34.734 s)
13:48:32 Archiver
13:48:32
✓ syncs l1 to l2 messages and blocks (4248 ms)
13:48:32
✓ ignores block 3 because it has been pruned (2935 ms)
13:48:32
✓ skip event search if no changes found (3842 ms)
13:48:32
✓ handles L2 reorg (5738 ms)
13:48:32
✓ handles updated messages due to L1 reorg (1438 ms)
13:48:32
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1559 ms)
13:48:32
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (2436 ms)
13:48:32
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (330 ms)
13:48:32
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (294 ms)
13:48:32
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1135 ms)
13:48:32
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (524 ms)
13:48:32
✓ handles a block gap due to a spurious L2 prune (7339 ms)
13:48:32
○ skipped handles an upcoming L2 prune
13:48:32
13:48:32
Test Suites: 1 passed, 1 total
13:48:32
Tests: 1 skipped,
12 passed, 13 total
13:48:32
Snapshots: 0 total
13:48:32
Time: 34.82 s
13:48:32
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
13:48:32
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?