Parent Log:
http://ci.aztec-labs.com/9b7174caf3ef97da
Command: 816a8a0e28c14627 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/7d223783d91db15002a09abc1b52d1455eb3e3da
Env: REF_NAME=gh-readonly-queue/next/pr-14161-97080f178c0a3e244c64b3c17bf255bed63fc3cf CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 10:39:33 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14161_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
10:39:37 [10:39:37.253]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:39:39 [10:39:39.868]
INFO:
archiver:test Waiting for archiver to sync to block 3
10:39:39 [10:39:39.884]
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":"0x2a021f5ee39ad92c4a21f7bddc07f0c021da232596321b60718462615472ddf6","rollingHash":"0x199bde6bf250c3247c2db477231b53ee"},"messageCount":2}
10:39:39 [10:39:39.959]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x18bf330470e7e713f37bf6f3dcd738fa414c415949f10528465ea10c3ed5a91b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750070377262,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:39:41 [10:39:41.020]
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":"0x2b40cf08f0856479a3f916f5673b7875eeb2b3bab49b28ce67b0c621a4ce28c0","rollingHash":"0xdc9a4e57a6095bdea5fd4959c555295e"},"messageCount":4}
10:39:41 [10:39:41.071]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
10:39:41 [10:39:41.255]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2297336b48e415087158c594b05c4b4fcb522aef667bfdbf362f3c226c261bec","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070377274,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:39:41 [10:39:41.256]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2dc84df88ae044ad77be8999ad0713dea575b1a61b5e831d18c9b552f6f57f0c","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750070377286,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:39:41 [10:39:41.454]
INFO:
archiver Stopped.
10:39:41 [10:39:41.463]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:39:44 [10:39:44.062]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:39:44 [10:39:44.070]
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":"0x08e31f84c04681dbb4161b5fb2b362a0c018cb772d357871d55b484f78f25901","rollingHash":"0x7cbdd3d6a6c5587a52936e4fe80d342f"},"messageCount":2}
10:39:44 [10:39:44.085]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x10ce3e4c083b6e015e20c5f4274acf747bed69c18539ef464a65366d4a775f88","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
10:39:44 [10:39:44.169]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x18a8e02c082c2c6d903434ea821b2ab19de1f181714a710ba1822f425578ef8c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750070381469,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:39:44 [10:39:44.170]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x11a644ab40b5edc086ad55403ccf28ac552cf977045932c5ad915c6d035d0a0e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070381481,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:39:44 [10:39:44.268]
INFO:
archiver Stopped.
10:39:44 [10:39:44.271]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:39:46 [10:39:46.703]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:39:47 [10:39:47.728]
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":"0x1afac379656e50315056e5f20d29536aee59d5f5b75caf27a4a5369d1a6ddc3a","rollingHash":"0xa01a88c8a7a4026393f178833625d15a"},"messageCount":2}
10:39:47 [10:39:47.856]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2476bda367b628a31c612dd044f8283637a7f18b487466f533b289df3aebbe4c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750070384282,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:39:47 [10:39:47.857]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0b8ba69027efccfcafff584ba07301992f57aecc5b77d2cea27ddade61c04a4d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070384294,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:39:47 [10:39:47.944]
INFO:
archiver Stopped.
10:39:47 [10:39:47.947]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:39:50 [10:39:50.513]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:39:50 [10:39:50.559]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
10:39:50 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:39:50 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
10:39:50 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
10:39:50 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
10:39:50 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
10:39:50 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:39:50 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:39:51 [10:39:51.568]
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":"0x0a526167931e017279fa075c23bb3caa58d794d8493f04ea23533527e26a5236","rollingHash":"0x0dc130093603a9484f087c1f24dc4a9c"},"messageCount":2}
10:39:51 [10:39:51.677]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x254ad7fba349c3f270133faf0b0aa7052d693292ebfaf762fc9bf181fc413671","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750070387958,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:39:51 [10:39:51.678]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0076bab68d34e3edcce48f40d192e6b4fd15cf2378e62654be4247485d9a507f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070387970,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:39:51 [10:39:51.681]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
10:39:51 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:39:51 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
10:39:51 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
10:39:51 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
10:39:51 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
10:39:51 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:39:51 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:39:52 [10:39:52.771]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
10:39:52 [10:39:52.773]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
10:39:52 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:39:52 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
10:39:52 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
10:39:52 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
10:39:52 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
10:39:52 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:39:52 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:39:53 [10:39:53.768]
INFO:
archiver Stopped.
10:39:53 [10:39:53.770]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:39:54 [10:39:54.053]
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":"0x1c12c30fd60e3c5142b140c67237f3f08a1d52cb789d6d6729e5fd0bc22ed2c9","rollingHash":"0x95bc147d1cc52346e8fff5b7e3e57321"},"messageCount":6}
10:39:54 [10:39:54.054]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1c12c30fd60e3c5142b140c67237f3f08a1d52cb789d6d6729e5fd0bc22ed2c9","rollingHash":"0x95bc147d1cc52346e8fff5b7e3e57321"},"remoteMessagesState":{"messagesRollingHash":"0x924d280ce39fb085d43d84bddc8a53c5","totalMessagesInserted":5,"treeInProgress":0}}
10:39:54 [10:39:54.151]
WARN:
archiver:test Reorging L1 to L2 messages
10:39:55 [10:39:55.063]
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":"0x1c12c30fd60e3c5142b140c67237f3f08a1d52cb789d6d6729e5fd0bc22ed2c9","rollingHash":"0x95bc147d1cc52346e8fff5b7e3e57321"}}
10:39:55 [10:39:55.066]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
10:39:55 [10:39:55.067]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
10:39:55 [10:39:55.081]
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":"0x22596c64d1782f979850ad2fbe95ca29541f4c521ec8a10927c4201149837458","rollingHash":"0x8ccad160ecd23b7d0fbb98e162b0770a"},"messageCount":5}
10:39:55 [10:39:55.170]
INFO:
archiver Stopped.
10:39:55 [10:39:55.172]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:39:55 [10:39:55.501]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
10:39:56 [10:39:56.346]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:39:56 [10:39:56.450]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x225ce43a5da1ec88e2b5b2fc38ce99b4ed4ac220141c447994389ada25f38ed2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070395183,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:39:56 [10:39:56.455]
INFO:
archiver Stopped.
10:39:56 [10:39:56.460]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:39:56 [10:39:56.846]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
10:39:57 [10:39:57.764]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:39:57 [10:39:57.848]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x259a9b7a813db0726028d28788724189697981c472311655f0ed3f934226448b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750070396470,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:39:57 [10:39:57.893]
INFO:
archiver Stopped.
10:39:57 [10:39:57.897]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:39:58 [10:39:58.963]
INFO:
archiver:test Syncing archiver to L1 block 6
10:39:58 [10:39:58.966]
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":"0x944d5800e75635283d69605d1719d43e748cc1416879de41f11aa057cf21307b","l1BlockNumber":0}}
10:39:58 [10:39:58.988]
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}}
10:39:58 [10:39:58.991]
INFO:
archiver Stopped.
10:39:58 [10:39:58.995]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:39:59 [10:39:59.374]
INFO:
archiver:test Syncing archiver to L1 block 7
10:39:59 [10:39:59.397]
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":"0xcb5b1f6f40b35e4be82d0b3501b94033c150da88d9cf3e7d01c07b65f335215c","l1BlockNumber":0}}
10:39:59 [10:39:59.422]
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}}
10:39:59 [10:39:59.424]
INFO:
archiver Stopped.
10:39:59 [10:39:59.426]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:00 [10:40:00.358]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
10:40:02 [10:40:02.096]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x05c55317557b17f9a3467993163e580828b3e7ec1e22990b34afc043f88a82e8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750070399438,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:40:02 [10:40:02.104]
INFO:
archiver Stopped.
10:40:02 [10:40:02.107]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:02 [10:40:02.526]
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":"0xc530138b35f848ccde8e2587206361aeb3385092ba66fcf4cb8cea2acce7ac80","l1BlockNumber":0}}
10:40:02 [10:40:02.541]
INFO:
archiver Stopped.
10:40:02 [10:40:02.543]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:06 [10:40:06.230]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x061268ee4ea2e74ec5b09845b395f5553acc72d4f95603186ec37c2c4e426734","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750070402555,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:40:06 [10:40:06.232]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x024857d6052d4f284047a6008b5262daf2a17d1bb69af9b44dc5dad99dc37031","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070402567,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:40:07 [10:40:07.355]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
10:40:08 [10:40:08.409]
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
10:40:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
10:40:08 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:40:08 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
10:40:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
10:40:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:40:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:40:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:40:08 newBlockNumber: 3,
10:40:08 previousBlockNumber: 1
10:40:08 }
10:40:08 [10:40:08.432]
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":"0x061268ee4ea2e74ec5b09845b395f5553acc72d4f95603186ec37c2c4e426734","newBlockNumber":3,"updatedL1SyncPoint":70}
10:40:08 [10:40:08.434]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
10:40:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
10:40:08 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:40:08 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
10:40:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
10:40:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:40:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:40:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:40:08 newBlockNumber: 3,
10:40:08 previousBlockNumber: 1
10:40:08 }
10:40:09 [10:40:09.657]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x024857d6052d4f284047a6008b5262daf2a17d1bb69af9b44dc5dad99dc37031","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070402567,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:40:09 [10:40:09.658]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0a538376f91368248312082ad2d925088670d9239088d267838b57b1c9ff945b","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750070402579,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:40:09 [10:40:09.702]
INFO:
archiver Stopped.
10:40:09
PASS src/archiver/archiver.test.ts (
35.257 s)
10:40:09 Archiver
10:40:09
✓ syncs l1 to l2 messages and blocks (4208 ms)
10:40:09
✓ ignores block 3 because it has been pruned (2812 ms)
10:40:09
✓ skip event search if no changes found (3675 ms)
10:40:09
✓ handles L2 reorg (5823 ms)
10:40:09
✓ handles updated messages due to L1 reorg (1401 ms)
10:40:09
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1285 ms)
10:40:09
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1437 ms)
10:40:09
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (1096 ms)
10:40:09
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (433 ms)
10:40:09
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (2679 ms)
10:40:09
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (437 ms)
10:40:09
✓ handles a block gap due to a spurious L2 prune (7160 ms)
10:40:09
○ skipped handles an upcoming L2 prune
10:40:09
10:40:09
Test Suites: 1 passed, 1 total
10:40:09
Tests: 1 skipped,
12 passed, 13 total
10:40:09
Snapshots: 0 total
10:40:09
Time: 35.342 s
10:40:09
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
10:40:09
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?