Parent Log:
http://ci.aztec-labs.com/32bd56bf1f1fe84d
Command: 3f1d1d87da1584d1 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/aac426c9418162aeee8162ed45014b9393d605b8
Env: REF_NAME=gh-readonly-queue/next/pr-15051-92d685c3a802eb31897b6f13d28b9ee428c73744 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 06:35:30 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15051_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
06:35:34 [06:35:34.700]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
06:35:37 [06:35:37.744]
INFO:
archiver:test Waiting for archiver to sync to block 3
06:35:37 [06:35:37.762]
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":"0x1932dd112d91a71d8ff52649d40cb4c9dafa47cebfa86cdf73da78d36746bc1b","rollingHash":"0x401808a8cd8a9b56d467f814376b9f0e"},"messageCount":2}
06:35:37 [06:35:37.874]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x29e8d5bbb4a32091b963670a0044229175606f778a45619324a1ae824367eac7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750401334692,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
06:35:38 [06:35:38.895]
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":"0x06b689e6221dc134c0e6d5faf5389ab272c55ddc1e51d757fb586afc27edb087","rollingHash":"0xc886b83630566230b2be79b2b64a5065"},"messageCount":4}
06:35:38 [06:35:38.926]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
06:35:39 [06:35:39.127]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x295216e9f56d588c4f189eb6be8b5c31a19311505860273fd392ab08d17d0858","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750401334704,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
06:35:39 [06:35:39.128]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x199f93f238882a850beba63be22a8be611054048af07936a4ffc7dfd6f15fa5b","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750401334716,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
06:35:39 [06:35:39.265]
INFO:
archiver Stopped.
06:35:39 [06:35:39.270]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
06:35:42 [06:35:42.180]
INFO:
archiver:test Waiting for archiver to sync to block 2
06:35:42 [06:35:42.197]
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":"0x18710e9eba1ca5246c44bc07e2e4e5bcc930a1c20fbb9557f0bb7d315ad801ec","rollingHash":"0xe5141a82adec17b3a4c443fb1f5a3cb2"},"messageCount":2}
06:35:42 [06:35:42.229]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0c99c1fb072048596d2cbf5437d40f3002efe5485f1cda48ba9251cc71029e00","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
06:35:42 [06:35:42.395]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0f0083924e8c22e44b292e912f84224f1b4a221a017af5e28de52b7a265d35a9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750401339280,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
06:35:42 [06:35:42.397]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x20c4ded2e3b6b8fc6f0395041d5d5228e65a2341a01c65b55b0ae4305a578f7f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750401339292,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
06:35:42 [06:35:42.481]
INFO:
archiver Stopped.
06:35:42 [06:35:42.484]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
06:35:45 [06:35:45.614]
INFO:
archiver:test Waiting for archiver to sync to block 2
06:35:46 [06:35:46.640]
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":"0x1e1b25752613a472ee50dc6eb1cf809992aacbcfadd35c6ed14d1c08cfd2ace7","rollingHash":"0x5d24e83cdfeaf63904dd00f2a0125a02"},"messageCount":2}
06:35:46 [06:35:46.811]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x170a23b3cb00673d654f7474a2b074127bcbca2480889de80e97a2ffad1eb8bc","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750401342496,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
06:35:46 [06:35:46.813]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0a0f2c58a56da151c527e3908fe4d898006e39d4e32ba2bba63a11a60ec870c5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750401342508,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
06:35:46 [06:35:46.900]
INFO:
archiver Stopped.
06:35:46 [06:35:46.903]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
06:35:49 [06:35:49.684]
INFO:
archiver:test Waiting for archiver to sync to block 2
06:35:49 [06:35:49.730]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
06:35:49 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
06:35:49 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
06:35:49 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
06:35:49 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
06:35:49 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
06:35:49 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
06:35:49 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
06:35:50 [06:35:50.740]
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":"0x1d080750d68d587e816cfab17a63bda28be657cc72aa32862d10dbbad0efa0ca","rollingHash":"0x9537ef17fbdc411c9c0427147b497dee"},"messageCount":2}
06:35:50 [06:35:50.892]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x271b540fb68fb288294518a5b3bb650f6c4fe5627d4918ba1e2473870bf39d9e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750401346914,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
06:35:50 [06:35:50.893]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2d9e86a9f294ddd24f65c5c6b5278d3169aebfc35ff31f0b0d85f4fc9e5cea3c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750401346926,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
06:35:50 [06:35:50.895]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
06:35:50 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
06:35:50 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
06:35:50 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
06:35:50 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
06:35:50 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
06:35:50 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
06:35:50 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
06:35:51 [06:35:51.999]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
06:35:52 [06:35:52.002]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
06:35:52 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
06:35:52 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
06:35:52 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
06:35:52 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
06:35:52 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
06:35:52 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
06:35:52 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
06:35:52 [06:35:52.996]
INFO:
archiver Stopped.
06:35:53 [06:35:53.000]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
06:35:53 [06:35:53.373]
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":"0x2b21d6b4d0e53fb773fbcbbad0099f5bd60a769755636a7f6fa545ec422f933e","rollingHash":"0x498f965f24f9472e665ef8401615a451"},"messageCount":6}
06:35:53 [06:35:53.374]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2b21d6b4d0e53fb773fbcbbad0099f5bd60a769755636a7f6fa545ec422f933e","rollingHash":"0x498f965f24f9472e665ef8401615a451"},"remoteMessagesState":{"messagesRollingHash":"0xb629f3cfffe4442a9dbf47f517a4a18b","totalMessagesInserted":5,"treeInProgress":0}}
06:35:53 [06:35:53.469]
WARN:
archiver:test Reorging L1 to L2 messages
06:35:54 [06:35:54.385]
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":"0x2b21d6b4d0e53fb773fbcbbad0099f5bd60a769755636a7f6fa545ec422f933e","rollingHash":"0x498f965f24f9472e665ef8401615a451"}}
06:35:54 [06:35:54.388]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
06:35:54 [06:35:54.389]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
06:35:54 [06:35:54.417]
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":"0x2757eb11602dddd421532587b2ba3d72665d3fb24c997b31a28bdb27cb2c7679","rollingHash":"0x1aba0b33f9c678e7c8526574d071b4cc"},"messageCount":5}
06:35:54 [06:35:54.489]
INFO:
archiver Stopped.
06:35:54 [06:35:54.492]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
06:35:54 [06:35:54.855]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
06:35:56 [06:35:56.294]
INFO:
archiver:test Waiting for archiver to sync to block 1
06:35:56 [06:35:56.507]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0811f70c05e3827366f903a350af108d4389e9a5aae399c3b9fb6af4933e54a5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750401354503,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
06:35:56 [06:35:56.597]
INFO:
archiver Stopped.
06:35:56 [06:35:56.604]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
06:35:57 [06:35:57.106]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
06:35:59 [06:35:59.375]
INFO:
archiver:test Waiting for archiver to sync to block 1
06:35:59 [06:35:59.482]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x303967935f42d12a2199f983aab2cd48b167da50b12e3fe8dea092d795da6d2c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750401356612,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
06:35:59 [06:35:59.581]
INFO:
archiver Stopped.
06:35:59 [06:35:59.584]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
06:35:59 [06:35:59.943]
INFO:
archiver:test Syncing archiver to L1 block 6
06:35:59 [06:35:59.944]
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":"0xb5910d84e10d25fb1e4b16a37a327459788e2e5508d7eb45225795b1b8ef848f","l1BlockNumber":0}}
06:35:59 [06:35:59.965]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
06:35:59 [06:35:59.967]
INFO:
archiver Stopped.
06:35:59 [06:35:59.970]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
06:36:00 [06:36:00.336]
INFO:
archiver:test Syncing archiver to L1 block 7
06:36:00 [06:36:00.338]
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":"0x55a72beb283dbb7ba55a312c09c6246e2589b03bd644f843567069b1a23e04c1","l1BlockNumber":0}}
06:36:00 [06:36:00.351]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
06:36:00 [06:36:00.354]
INFO:
archiver Stopped.
06:36:00 [06:36:00.356]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
06:36:00 [06:36:00.754]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
06:36:02 [06:36:02.110]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0489e2c51996cc8067cbb781856e3ca1bde4a74677928d16daa24885447eb382","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750401360368,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
06:36:02 [06:36:02.119]
INFO:
archiver Stopped.
06:36:02 [06:36:02.122]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
06:36:02 [06:36:02.689]
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":"0xc36341470e9fb86d922371b106edbbb3ea6ee4c5eeabb562b58dd9ae3c00189f","l1BlockNumber":0}}
06:36:02 [06:36:02.707]
INFO:
archiver Stopped.
06:36:02 [06:36:02.710]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
06:36:06 [06:36:06.621]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x035460df8b7ca1b47d388502101951019c51525e7b52da112a789d22f9b29751","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750401362722,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
06:36:06 [06:36:06.622]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0985fc6eb7fc866b39f763255e197c0c2aebd6242b8c4b9769614325ad8d434b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750401362734,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
06:36:07 [06:36:07.776]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
06:36:09 [06:36:09.024]
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
06:36:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
06:36:09 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
06:36:09 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
06:36:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
06:36:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
06:36:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
06:36:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
06:36:09 newBlockNumber: 3,
06:36:09 previousBlockNumber: 1
06:36:09 }
06:36:09 [06:36:09.060]
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":"0x035460df8b7ca1b47d388502101951019c51525e7b52da112a789d22f9b29751","newBlockNumber":3,"updatedL1SyncPoint":70}
06:36:09 [06:36:09.061]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
06:36:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
06:36:09 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
06:36:09 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
06:36:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
06:36:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
06:36:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
06:36:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
06:36:09 newBlockNumber: 3,
06:36:09 previousBlockNumber: 1
06:36:09 }
06:36:10 [06:36:10.262]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0985fc6eb7fc866b39f763255e197c0c2aebd6242b8c4b9769614325ad8d434b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750401362734,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
06:36:10 [06:36:10.263]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2b8a5778692ababf41201b1111070921ab4d602301899d265db630bc72dee8f1","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750401362746,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
06:36:10 [06:36:10.349]
INFO:
archiver Stopped.
06:36:10
PASS src/archiver/archiver.test.ts (
39.16 s)
06:36:10 Archiver
06:36:10
✓ syncs l1 to l2 messages and blocks (4589 ms)
06:36:10
✓ ignores block 3 because it has been pruned (3215 ms)
06:36:10
✓ skip event search if no changes found (4418 ms)
06:36:10
✓ handles L2 reorg (6096 ms)
06:36:10
✓ handles updated messages due to L1 reorg (1492 ms)
06:36:10
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (2107 ms)
06:36:10
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (2983 ms)
06:36:10
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (385 ms)
06:36:10
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (386 ms)
06:36:10
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1765 ms)
06:36:10
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (588 ms)
06:36:10
✓ handles a block gap due to a spurious L2 prune (7641 ms)
06:36:10
○ skipped handles an upcoming L2 prune
06:36:10
06:36:10
Test Suites: 1 passed, 1 total
06:36:10
Tests: 1 skipped,
12 passed, 13 total
06:36:10
Snapshots: 0 total
06:36:10
Time: 39.254 s
06:36:10
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
06:36:10
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?