Parent Log:
http://ci.aztec-labs.com/345c5ed524d6c3dd
Command: 557c108a8ed544a3 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/ed4f6d71e2ea98f43186114eb914d54b87dd1183
Env: REF_NAME=gh-readonly-queue/next/pr-15116-433ba6218aed45169029991a493e4232b30b8ec6 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 19:33:25 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15116_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
19:33:29 [19:33:29.975]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:32 [19:33:32.901]
INFO:
archiver:test Waiting for archiver to sync to block 3
19:33:32 [19:33:32.925]
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":"0x294aa1ff48d8855f7dd200c3fc3515694d1da4a3ac8ec5e004a6f735abe14046","rollingHash":"0x2977b29477172c8ecb5e47016362aef3"},"messageCount":2}
19:33:33 [19:33:33.028]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x15404767ca24a734a7e77d68e1e79b261b2e167351725ff9b9d1950d28c906a2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750188809971,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:34 [19:33:34.110]
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":"0x20b1be006de271c9c4a698924adaa28df38861ebb154fa2157e15c710895a27f","rollingHash":"0xfe8991d1bb429406fbfd4194d589330a"},"messageCount":4}
19:33:34 [19:33:34.194]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
19:33:34 [19:33:34.456]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0e9af0fdcabe230903b835f10ea6b155b38a44b3526700278ed4aa281e523b44","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188809983,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:34 [19:33:34.458]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x066e15c8f1f6daf62088805c6b22036b180530e145c24158acb8f0a90c9d8f25","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750188809995,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:33:34 [19:33:34.658]
INFO:
archiver Stopped.
19:33:34 [19:33:34.688]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:37 [19:33:37.626]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:33:37 [19:33:37.638]
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":"0x04a7cc6162f285307fb050bcd0d46c8c8405d3e1aebd3d6cc0807512e054e080","rollingHash":"0xe75e5ab5f6639e5938c7ba7c5cf3bd9a"},"messageCount":2}
19:33:37 [19:33:37.669]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x2aba5087bab96129e387a256026636312da5cebd90bf2812cafae494375d1ab8","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
19:33:37 [19:33:37.783]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x178911bb12eff3a86e2ac7850528d6103e8f07cdc783fc24785cf53af69258e2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750188814674,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:37 [19:33:37.784]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x19daef59bf77a71f15988b101738e1d278adc9b68af6b4567b0ffd32e714fbd5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188814686,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:37 [19:33:37.879]
INFO:
archiver Stopped.
19:33:37 [19:33:37.882]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:40 [19:33:40.742]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:33:41 [19:33:41.763]
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":"0x1c1e232bcdbd90836dd10f87324cc0dd35577bec2507500ff12743693125289f","rollingHash":"0x4e12bf89f83f6c76f2f1f973836fce48"},"messageCount":2}
19:33:41 [19:33:41.912]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x25a5b515ba4986c80bce5fa9ecf3bd427f72f9b55d701425c697b1d43a238bdf","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750188817894,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:41 [19:33:41.913]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x120f6a2bf53352bb534b2da83563e068e838f1a1c1510c374ef476985b22a903","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188817906,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:42 [19:33:42.004]
INFO:
archiver Stopped.
19:33:42 [19:33:42.008]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:44 [19:33:44.903]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:33:44 [19:33:44.955]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
19:33:44 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:33:44 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:33:44 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:33:44 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:33:44 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:33:44 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:33:44 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:33:45 [19:33:45.968]
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":"0x0a4a88d1ccb26f3d71aa13379fd3f2cbe0f02eafa8cdaaafd74607c2725c42f9","rollingHash":"0x0f4d1bd0a98455803e382c48d47621cb"},"messageCount":2}
19:33:46 [19:33:46.136]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1a121b2f20b4c6fecf7d780227756c67049d2bae7e4e00fd9aae883c56e17aaa","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750188822019,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:46 [19:33:46.137]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x07af6cada7aa284693a381ac6bf05edfa7cb4d661464a3aefe7a0d377727352b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188822031,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:46 [19:33:46.141]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
19:33:46 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:33:46 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:33:46 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:33:46 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:33:46 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:33:46 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:33:46 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:33:47 [19:33:47.271]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
19:33:47 [19:33:47.273]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
19:33:47 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:33:47 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:33:47 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:33:47 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:33:47 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:33:47 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:33:47 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:33:48 [19:33:48.237]
INFO:
archiver Stopped.
19:33:48 [19:33:48.240]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:48 [19:33:48.653]
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":"0x2351c1296bba05c7525fb03fbbcc8cb45c4b66185a23cf78ea9c1d6cec68756d","rollingHash":"0xf3809dfb5f7c918261c314e7e12baa16"},"messageCount":6}
19:33:48 [19:33:48.654]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2351c1296bba05c7525fb03fbbcc8cb45c4b66185a23cf78ea9c1d6cec68756d","rollingHash":"0xf3809dfb5f7c918261c314e7e12baa16"},"remoteMessagesState":{"messagesRollingHash":"0x95468a0dee2f96f35839be1fae0a1e97","totalMessagesInserted":5,"treeInProgress":0}}
19:33:48 [19:33:48.745]
WARN:
archiver:test Reorging L1 to L2 messages
19:33:49 [19:33:49.667]
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":"0x2351c1296bba05c7525fb03fbbcc8cb45c4b66185a23cf78ea9c1d6cec68756d","rollingHash":"0xf3809dfb5f7c918261c314e7e12baa16"}}
19:33:49 [19:33:49.669]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
19:33:49 [19:33:49.671]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
19:33:49 [19:33:49.693]
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":"0x2aa96ba5e7e1bcd941d455dafddd9c12fbd0fcb5e581dbf4408bcc298fa9a483","rollingHash":"0x316426f77dab53a1a44ee8680fadf84a"},"messageCount":5}
19:33:49 [19:33:49.787]
INFO:
archiver Stopped.
19:33:49 [19:33:49.789]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:50 [19:33:50.149]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
19:33:51 [19:33:51.159]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:33:51 [19:33:51.345]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x288c37802c124bbe3022ec72c80541f8751f38897d27c11076df69a9859fb189","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188829800,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:51 [19:33:51.412]
INFO:
archiver Stopped.
19:33:51 [19:33:51.417]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:51 [19:33:51.788]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
19:33:53 [19:33:53.141]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:33:53 [19:33:53.305]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1c9e47b769acce22d15e945dde0bf9e69721286e2b44991ead477f18afd42ade","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750188831426,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:53 [19:33:53.400]
INFO:
archiver Stopped.
19:33:53 [19:33:53.406]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:53 [19:33:53.790]
INFO:
archiver:test Syncing archiver to L1 block 6
19:33:53 [19:33:53.791]
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":"0x927aa9123ac5e01f152314a92a3b3b5946d2368454253846dd87f0f178bd440e","l1BlockNumber":0}}
19:33:53 [19:33:53.805]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
19:33:53 [19:33:53.815]
INFO:
archiver Stopped.
19:33:53 [19:33:53.818]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:54 [19:33:54.266]
INFO:
archiver:test Syncing archiver to L1 block 7
19:33:54 [19:33:54.275]
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":"0xfa2dad3327588bc3a2e351b480a38446bf4f73644f3848f6a746a17391d83f80","l1BlockNumber":0}}
19:33:54 [19:33:54.288]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
19:33:54 [19:33:54.291]
INFO:
archiver Stopped.
19:33:54 [19:33:54.294]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:54 [19:33:54.684]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
19:33:56 [19:33:56.188]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0e9e31db17dd5053140cf67edf2ba130d9549a1fd54c7a4be1c5dee205d00077","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750188834305,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:56 [19:33:56.193]
INFO:
archiver Stopped.
19:33:56 [19:33:56.196]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:56 [19:33:56.561]
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":"0x2a9b720a7269243887588e411353a54f9f0e06ed189550c9e95c49bcee8d7c53","l1BlockNumber":0}}
19:33:56 [19:33:56.575]
INFO:
archiver Stopped.
19:33:56 [19:33:56.577]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:00 [19:34:00.487]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1a08782a4ffac0ea7c6147981dd92b1a711c7fa97335a2d2bc4dc9b78dc3d6b4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750188836589,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:34:00 [19:34:00.488]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0a41356bfc4037c2caa72245c97b48f424a4d497e14d0b95d11c0e20bca76ed2","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188836601,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:34:01 [19:34:01.716]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
19:34:02 [19:34:02.771]
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
19:34:02 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:34:02 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:34:02 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
19:34:02 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
19:34:02 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:34:02 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:34:02 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:34:02 newBlockNumber: 3,
19:34:02 previousBlockNumber: 1
19:34:02 }
19:34:02 [19:34:02.794]
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":"0x1a08782a4ffac0ea7c6147981dd92b1a711c7fa97335a2d2bc4dc9b78dc3d6b4","newBlockNumber":3,"updatedL1SyncPoint":70}
19:34:02 [19:34:02.795]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
19:34:02 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:34:02 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:34:02 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
19:34:02 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
19:34:02 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:34:02 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:34:02 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:34:02 newBlockNumber: 3,
19:34:02 previousBlockNumber: 1
19:34:02 }
19:34:04 [19:34:04.000]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0a41356bfc4037c2caa72245c97b48f424a4d497e14d0b95d11c0e20bca76ed2","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188836601,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:34:04 [19:34:04.007]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x04501b860ef2db6c28ee8b84d6ff0596436f23e6abd9095353259dd32a78d0b4","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750188836613,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:34:04 [19:34:04.083]
INFO:
archiver Stopped.
19:34:04
PASS src/archiver/archiver.test.ts (
37.28 s)
19:34:04 Archiver
19:34:04
✓ syncs l1 to l2 messages and blocks (4701 ms)
19:34:04
✓ ignores block 3 because it has been pruned (3218 ms)
19:34:04
✓ skip event search if no changes found (4124 ms)
19:34:04
✓ handles L2 reorg (6232 ms)
19:34:04
✓ handles updated messages due to L1 reorg (1548 ms)
19:34:04
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1625 ms)
19:34:04
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1987 ms)
19:34:04
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (415 ms)
19:34:04
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (476 ms)
19:34:04
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1902 ms)
19:34:04
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (382 ms)
19:34:04
✓ handles a block gap due to a spurious L2 prune (7508 ms)
19:34:04
○ skipped handles an upcoming L2 prune
19:34:04
19:34:04
Test Suites: 1 passed, 1 total
19:34:04
Tests: 1 skipped,
12 passed, 13 total
19:34:04
Snapshots: 0 total
19:34:04
Time: 37.382 s
19:34:04
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
19:34:04
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?