Parent Log:
http://ci.aztec-labs.com/701a4364c73bba1e
Command: a8cc061dbe484831 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/58696523cc93fda453138a4f2c2dff72b21f0bfa
Env: REF_NAME=gh-readonly-queue/next/pr-15180-a923b0dd4c74291fcefa86c41b3b5dffca7e4178 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 13:09:29 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15180_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
13:09:33 [13:09:33.565]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:36 [13:09:36.466]
INFO:
archiver:test Waiting for archiver to sync to block 3
13:09:36 [13:09:36.538]
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":"0x2088e67910edb62c03302a32a901b7d5636be0f989ac6ee27715e3dc5d6c3727","rollingHash":"0x3e331477dacf48f166241e718be723f1"},"messageCount":2}
13:09:36 [13:09:36.729]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1fbc01ef7703ca28beb0ffeff37266b154f06615229a70668b68f8293019b67f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750424973561,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:09:37 [13:09:37.774]
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":"0x1bbdf02d05a55139f2f909f7c3cc58219ead49140c461ac4f4500a69fccde804","rollingHash":"0x70243a5389f24679974b5a218396abbd"},"messageCount":4}
13:09:37 [13:09:37.848]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
13:09:38 [13:09:38.041]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x20fa07f8c74ce56532bb38fa73b9c72ca16e588baa8525a96fa877d93ffe6f14","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750424973573,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:09:38 [13:09:38.043]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1d2bdc893abaa7cdd61e6eb0eef43d3bc03008391144d2c05eb6e6e34fda2e37","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750424973585,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:09:38 [13:09:38.230]
INFO:
archiver Stopped.
13:09:38 [13:09:38.238]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:41 [13:09:41.406]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:09:41 [13:09:41.421]
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":"0x0077bca2d3be58cf6c26bcf1663fab7b92bfdd0cb60a9e7890d2e4b96e7ab9ef","rollingHash":"0x5c92fe920ef3a1d45ab063cdf3a215a9"},"messageCount":2}
13:09:41 [13:09:41.457]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x094d617149620c5b8e5b5282d7c6e0400de790274932d82245fd73b6f4c8b996","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
13:09:41 [13:09:41.641]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x23615d000b60760346c7f3926680590587ce084dbfe2383379962440a40e1762","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750424978246,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:09:41 [13:09:41.643]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1232c6e870f6125a9235a712055b068023faf0164cc8cd48f69ae420ad8fbf2a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750424978258,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:09:41 [13:09:41.729]
INFO:
archiver Stopped.
13:09:41 [13:09:41.734]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:44 [13:09:44.811]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:09:45 [13:09:45.843]
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":"0x0341295826e5f43a71b33e2288589ecbb4ba60f3efe8f47faa83505f49d261c0","rollingHash":"0x2396613c80a02ecfe9de8db0605259b4"},"messageCount":2}
13:09:46 [13:09:46.049]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x123b8c26e4be571b1f74dd8bb2b733916da7aca9937a206afdced17daa5a9f94","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750424981744,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:09:46 [13:09:46.051]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x23b7be834abad7cd8cf0adb6bf6448a2ba456da010ef3725a581fae633470b3d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750424981756,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:09:46 [13:09:46.128]
INFO:
archiver Stopped.
13:09:46 [13:09:46.132]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:49 [13:09:49.346]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:09:49 [13:09:49.393]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
13:09:49 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:09:49 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:09:49 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:09:49 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:09:49 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:09:49 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:09:49 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:09:50 [13:09:50.404]
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":"0x2299b04bc67749a1609634bef22c24893ada4b01e68a66e5ded942a31a2e3788","rollingHash":"0x9eb2762dd979c0fffeb6924bf6365fe7"},"messageCount":2}
13:09:50 [13:09:50.531]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1b4020a20d1396d3275bb1d026d73deb2257d7c965b1161d2ba20d6e2a8a2b1c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750424986143,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:09:50 [13:09:50.532]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1c919e64d6a94b0b7d2d7d6c64271294a46589d6d0d864404eb3ea3af5de4f8f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750424986155,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:09:50 [13:09:50.535]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
13:09:50 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:09:50 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:09:50 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:09:50 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:09:50 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:09:50 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:09:50 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:09:51 [13:09:51.695]
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:09:51 [13:09:51.698]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
13:09:51 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:09:51 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:09:51 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:09:51 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:09:51 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:09:51 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:09:51 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:09:52 [13:09:52.625]
INFO:
archiver Stopped.
13:09:52 [13:09:52.629]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:52 [13:09:52.975]
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":"0x1d76288c97d982c87f2ff77dabb1588273b356799b8a77734523f69af57b768c","rollingHash":"0x7c30f2948dd92e6be257721e30535929"},"messageCount":6}
13:09:52 [13:09:52.976]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1d76288c97d982c87f2ff77dabb1588273b356799b8a77734523f69af57b768c","rollingHash":"0x7c30f2948dd92e6be257721e30535929"},"remoteMessagesState":{"messagesRollingHash":"0xd614f6d6b9f7fce0a6efe91a08a4a206","totalMessagesInserted":5,"treeInProgress":0}}
13:09:53 [13:09:53.071]
WARN:
archiver:test Reorging L1 to L2 messages
13:09:53 [13:09:53.988]
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":"0x1d76288c97d982c87f2ff77dabb1588273b356799b8a77734523f69af57b768c","rollingHash":"0x7c30f2948dd92e6be257721e30535929"}}
13:09:53 [13:09:53.991]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
13:09:53 [13:09:53.993]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
13:09:54 [13:09:54.027]
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":"0x0fa913ce6a342a9660f83f95065f8e7dd2745142ff74d8adb30dbcba9885d664","rollingHash":"0x87b4e100b44407cba841b34adf89220f"},"messageCount":5}
13:09:54 [13:09:54.096]
INFO:
archiver Stopped.
13:09:54 [13:09:54.099]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:54 [13:09:54.506]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
13:09:55 [13:09:55.868]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:09:55 [13:09:55.960]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2080af015d932521edb09306189764e0f4b86ecb1a8e5759caf21c84b2806fa7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750424994110,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:09:55 [13:09:55.972]
INFO:
archiver Stopped.
13:09:55 [13:09:55.975]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:56 [13:09:56.355]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
13:09:57 [13:09:57.260]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:09:57 [13:09:57.337]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x28c63cda908f9562c4676c155f528280a7260f3dc91f399b66de95bdd7664ac9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750424995986,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:09:57 [13:09:57.366]
INFO:
archiver Stopped.
13:09:57 [13:09:57.368]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:57 [13:09:57.731]
INFO:
archiver:test Syncing archiver to L1 block 6
13:09:57 [13:09:57.733]
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":"0x853b4ebd51b517ca64151c860210bea259f058c838bbb0914ab9c83f7f6afd67","l1BlockNumber":0}}
13:09:57 [13:09:57.755]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
13:09:57 [13:09:57.758]
INFO:
archiver Stopped.
13:09:57 [13:09:57.760]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:58 [13:09:58.149]
INFO:
archiver:test Syncing archiver to L1 block 7
13:09:58 [13:09:58.150]
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":"0xa39aefd3e33a99e74d7b2fce8e28f2b7a604825fec10dcd3e215d00dc453a193","l1BlockNumber":0}}
13:09:58 [13:09:58.173]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
13:09:58 [13:09:58.179]
INFO:
archiver Stopped.
13:09:58 [13:09:58.185]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:58 [13:09:58.594]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
13:09:59 [13:09:59.534]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1eba14031ac1e23b9fb1455435e3b059dee196e0fc1cab2deb3f67f68ac3147b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750424998193,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:09:59 [13:09:59.538]
INFO:
archiver Stopped.
13:09:59 [13:09:59.540]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:00 [13:10:00.127]
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":"0xfae2faaa8e713c7aa16da82e5fce0228be2b88eb9c80921c059458279b6da39d","l1BlockNumber":0}}
13:10:00 [13:10:00.157]
INFO:
archiver Stopped.
13:10:00 [13:10:00.165]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:03 [13:10:03.960]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x295dd0029b71e0bd4070a86b063198ca826cdfb2ee6c8bed6cbb714dee2117fe","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750425000171,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:10:03 [13:10:03.962]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x15110a8ce1e6497671a97e907dc3c7ce5baa5229a719fa801d9f10c2d583770c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750425000183,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:10:05 [13:10:05.143]
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:10:06 [13:10:06.241]
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:10:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:10:06 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:10:06 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
13:10:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
13:10:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:10:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:10:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:10:06 newBlockNumber: 3,
13:10:06 previousBlockNumber: 1
13:10:06 }
13:10:06 [13:10:06.279]
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":"0x295dd0029b71e0bd4070a86b063198ca826cdfb2ee6c8bed6cbb714dee2117fe","newBlockNumber":3,"updatedL1SyncPoint":70}
13:10:06 [13:10:06.282]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
13:10:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:10:06 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:10:06 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
13:10:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
13:10:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:10:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:10:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:10:06 newBlockNumber: 3,
13:10:06 previousBlockNumber: 1
13:10:06 }
13:10:07 [13:10:07.466]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x15110a8ce1e6497671a97e907dc3c7ce5baa5229a719fa801d9f10c2d583770c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750425000183,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:10:07 [13:10:07.467]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x17eda9b24d86f111c8dbfbee061f6519052bab5531c99d4ac65ef3ccd8a9c14a","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750425000195,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:10:07 [13:10:07.498]
INFO:
archiver Stopped.
13:10:07
PASS src/archiver/archiver.test.ts (
36.993 s)
13:10:07 Archiver
13:10:07
✓ syncs l1 to l2 messages and blocks (4684 ms)
13:10:07
✓ ignores block 3 because it has been pruned (3497 ms)
13:10:07
✓ skip event search if no changes found (4398 ms)
13:10:07
✓ handles L2 reorg (6496 ms)
13:10:07
✓ handles updated messages due to L1 reorg (1469 ms)
13:10:07
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1874 ms)
13:10:07
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1394 ms)
13:10:07
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (392 ms)
13:10:07
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (421 ms)
13:10:07
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1358 ms)
13:10:07
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (619 ms)
13:10:07
✓ handles a block gap due to a spurious L2 prune (7340 ms)
13:10:07
○ skipped handles an upcoming L2 prune
13:10:07
13:10:07
Test Suites: 1 passed, 1 total
13:10:07
Tests: 1 skipped,
12 passed, 13 total
13:10:07
Snapshots: 0 total
13:10:07
Time: 37.084 s
13:10:07
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
13:10:07
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?