Parent Log:
http://ci.aztec-labs.com/8c7fab2989a37396
Command: a668859b212fc7b1 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/6c74ed65f1d93cd2cb1d0bc305917b967dd0f83a
Env: REF_NAME=release-please--branches--next CURRENT_VERSION=0.88.0 CI_FULL=0
Date: Tue Jun 17 22:21:22 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=release-please--branches--next_amd64
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
22:21:26 [22:21:26.723]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
22:21:29 [22:21:29.445]
INFO:
archiver:test Waiting for archiver to sync to block 3
22:21:29 [22:21:29.463]
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":"0x2931cbc8b79813f009552615287cc88133f4a62b7d553431ffc69f4c76357998","rollingHash":"0x018976827bb6afa9bec15b01ff8a4202"},"messageCount":2}
22:21:29 [22:21:29.540]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x239e10a33c4dd63c70e5705c675a73e23c35bb7a830fb773ea426c47aec3ff13","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750198886710,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
22:21:30 [22:21:30.559]
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":"0x1f6c1283085bfe93f271619abb690ddef5b728042e5ad00fe59d3961053e8b34","rollingHash":"0xfd96a832f96f363063467237b9d55958"},"messageCount":4}
22:21:30 [22:21:30.592]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
22:21:30 [22:21:30.769]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1ae424700894e1b7bfc608f586344acf15f484be16f8fc8e6de9fdc46a443111","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750198886722,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
22:21:30 [22:21:30.770]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1d5c731048631e03f3a7e8c127c81aab4d71487cde8d113788c5bbc9af375f19","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750198886734,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
22:21:30 [22:21:30.977]
INFO:
archiver Stopped.
22:21:30 [22:21:30.981]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
22:21:33 [22:21:33.472]
INFO:
archiver:test Waiting for archiver to sync to block 2
22:21:33 [22:21:33.505]
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":"0x23c3a94015c57536a63e4eccc8b49943f213508477ba8b2992c4d8b76a147708","rollingHash":"0xabeae9ab006a77b2786df3c1023b1b2b"},"messageCount":2}
22:21:33 [22:21:33.529]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0c1479261d0b2c7065a55e87ad88edae3efaf9ae1bb2a389a1f77f130cf9fd3a","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
22:21:33 [22:21:33.664]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0c4d00e4d97aeb151d0a1e49fd1b1dfde3e1d0605b17a48af865e2ec57b08106","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750198890992,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
22:21:33 [22:21:33.665]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2961f43b827a206414584108e45def7c341a0c732949ec48859d2ed880f71a4d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750198891004,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
22:21:33 [22:21:33.718]
INFO:
archiver Stopped.
22:21:33 [22:21:33.720]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
22:21:36 [22:21:36.368]
INFO:
archiver:test Waiting for archiver to sync to block 2
22:21:37 [22:21:37.389]
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":"0x02c47fc6b2febda340e3ae31a184afee2613584637c682294d3ff5be47f14086","rollingHash":"0x0a911b5e62a8f390903997f6b7b79e1d"},"messageCount":2}
22:21:37 [22:21:37.512]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x10954dcd91bff0c664742c2b1020325a79aa8a572bf2e6704a2e68aeff2dddf1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750198893731,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
22:21:37 [22:21:37.513]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x23738ba0f2aa9dce0ae881cef3cc727f7bc86c02b27477add65a547381b185b9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750198893743,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
22:21:37 [22:21:37.597]
INFO:
archiver Stopped.
22:21:37 [22:21:37.599]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
22:21:40 [22:21:40.339]
INFO:
archiver:test Waiting for archiver to sync to block 2
22:21:40 [22:21:40.378]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
22:21:40 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
22:21:40 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
22:21:40 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
22:21:40 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
22:21:40 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
22:21:40 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
22:21:40 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
22:21:41 [22:21:41.386]
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":"0x0be236527950184738f492e3bcb54c0a71b8d35fe9105c1662318d6850ccf494","rollingHash":"0x7ae7dffb3cc987a0d07d107187a44816"},"messageCount":2}
22:21:41 [22:21:41.488]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1e65704294116fd40eda863e1bc754b975f26a413b740359ae87cf9bfd720693","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750198897611,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
22:21:41 [22:21:41.488]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2471658c12a129df4fb5c418cd8d6bce3ab9ded7804b3855d49bc48f5d6a6f49","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750198897623,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
22:21:41 [22:21:41.490]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
22:21:41 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
22:21:41 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
22:21:41 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
22:21:41 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
22:21:41 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
22:21:41 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
22:21:41 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
22:21:42 [22:21:42.635]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
22:21:42 [22:21:42.637]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
22:21:42 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
22:21:42 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
22:21:42 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
22:21:42 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
22:21:42 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
22:21:42 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
22:21:42 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
22:21:43 [22:21:43.584]
INFO:
archiver Stopped.
22:21:43 [22:21:43.586]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
22:21:43 [22:21:43.940]
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":"0x05fb34fc2bdb30af1e199708bfe4e6988a30413ee4622027e0cba1ce4bf05aae","rollingHash":"0xdab86c3b763902d4207dc9caddad2229"},"messageCount":6}
22:21:43 [22:21:43.941]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x05fb34fc2bdb30af1e199708bfe4e6988a30413ee4622027e0cba1ce4bf05aae","rollingHash":"0xdab86c3b763902d4207dc9caddad2229"},"remoteMessagesState":{"messagesRollingHash":"0x0b50e563cb068c7da758419b1438f792","totalMessagesInserted":5,"treeInProgress":0}}
22:21:44 [22:21:44.042]
WARN:
archiver:test Reorging L1 to L2 messages
22:21:44 [22:21:44.952]
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":"0x05fb34fc2bdb30af1e199708bfe4e6988a30413ee4622027e0cba1ce4bf05aae","rollingHash":"0xdab86c3b763902d4207dc9caddad2229"}}
22:21:44 [22:21:44.955]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
22:21:44 [22:21:44.956]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
22:21:44 [22:21:44.972]
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":"0x02958c01abb6173ffab376261359baf9f0eb3d23db97e7daffb69b8095214226","rollingHash":"0xfe2b97596f2a9aa963a9adf0aab5509a"},"messageCount":5}
22:21:45 [22:21:45.068]
INFO:
archiver Stopped.
22:21:45 [22:21:45.070]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
22:21:45 [22:21:45.567]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
22:21:46 [22:21:46.656]
INFO:
archiver:test Waiting for archiver to sync to block 1
22:21:46 [22:21:46.838]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x16cf95596a779fbd4f168768aae36b8250ab7528c03053484863db67c421dddc","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750198905081,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
22:21:46 [22:21:46.927]
INFO:
archiver Stopped.
22:21:46 [22:21:46.938]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
22:21:47 [22:21:47.437]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
22:21:48 [22:21:48.270]
INFO:
archiver:test Waiting for archiver to sync to block 1
22:21:48 [22:21:48.356]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x26b67d8cbad188620eb268e54c651f3ba63c5ea91b840b43590591e6d89a5d6d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750198906941,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
22:21:48 [22:21:48.374]
INFO:
archiver Stopped.
22:21:48 [22:21:48.378]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
22:21:48 [22:21:48.864]
INFO:
archiver:test Syncing archiver to L1 block 6
22:21:48 [22:21:48.866]
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":"0x4ee5b613e73e0a3f852b1a78103eefa90adf1bfbe5a9136b05194b451e6f11fd","l1BlockNumber":0}}
22:21:48 [22:21:48.878]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
22:21:48 [22:21:48.880]
INFO:
archiver Stopped.
22:21:48 [22:21:48.882]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
22:21:49 [22:21:49.360]
INFO:
archiver:test Syncing archiver to L1 block 7
22:21:49 [22:21:49.361]
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":"0x02461931d9f4eecca0a910cb359c6d3b8325717ee6f222af7a7bd9108e9aa35d","l1BlockNumber":0}}
22:21:49 [22:21:49.373]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
22:21:49 [22:21:49.376]
INFO:
archiver Stopped.
22:21:49 [22:21:49.379]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
22:21:49 [22:21:49.803]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
22:21:50 [22:21:50.677]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x17fb99bac3c5b78ea12ef23a11903f82f760328145c86b9c002d5227cdf73945","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750198909390,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
22:21:50 [22:21:50.681]
INFO:
archiver Stopped.
22:21:50 [22:21:50.683]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
22:21:50 [22:21:50.984]
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":"0x6a223c0bde23d408dcfb92c9d7945e4b8c0ce9b0841bdd324e2d6a5d6652ae30","l1BlockNumber":0}}
22:21:50 [22:21:50.997]
INFO:
archiver Stopped.
22:21:50 [22:21:50.999]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
22:21:54 [22:21:54.658]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x04d53481286057e8c1ef85226cb33590b69e6cd4543c42daba28f6369dabf07b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750198911010,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
22:21:54 [22:21:54.659]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1cb4f1212c30b577ca5187e0e0294d41d840821bba9fcb734ab7b523cc73a324","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750198911022,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
22:21:55 [22:21:55.765]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
22:21:56 [22:21:56.827]
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
22:21:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
22:21:56 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
22:21:56 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
22:21:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
22:21:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
22:21:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
22:21:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
22:21:56 newBlockNumber: 3,
22:21:56 previousBlockNumber: 1
22:21:56 }
22:21:56 [22:21:56.858]
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":"0x04d53481286057e8c1ef85226cb33590b69e6cd4543c42daba28f6369dabf07b","newBlockNumber":3,"updatedL1SyncPoint":70}
22:21:56 [22:21:56.860]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
22:21:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
22:21:56 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
22:21:56 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
22:21:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
22:21:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
22:21:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
22:21:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
22:21:56 newBlockNumber: 3,
22:21:56 previousBlockNumber: 1
22:21:56 }
22:21:58 [22:21:58.067]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1cb4f1212c30b577ca5187e0e0294d41d840821bba9fcb734ab7b523cc73a324","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750198911022,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
22:21:58 [22:21:58.067]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x113256ff0f75ae50276749cafb9724b77ad55e2fe9109f2a981883e10c077f6b","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750198911034,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
22:21:58 [22:21:58.073]
INFO:
archiver Stopped.
22:21:58
PASS src/archiver/archiver.test.ts (
34.409 s)
22:21:58 Archiver
22:21:58
✓ syncs l1 to l2 messages and blocks (4282 ms)
22:21:58
✓ ignores block 3 because it has been pruned (2739 ms)
22:21:58
✓ skip event search if no changes found (3879 ms)
22:21:58
✓ handles L2 reorg (5987 ms)
22:21:58
✓ handles updated messages due to L1 reorg (1484 ms)
22:21:58
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1858 ms)
22:21:58
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1447 ms)
22:21:58
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (506 ms)
22:21:58
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (496 ms)
22:21:58
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1304 ms)
22:21:58
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (316 ms)
22:21:58
✓ handles a block gap due to a spurious L2 prune (7076 ms)
22:21:58
○ skipped handles an upcoming L2 prune
22:21:58
22:21:58
Test Suites: 1 passed, 1 total
22:21:58
Tests: 1 skipped,
12 passed, 13 total
22:21:58
Snapshots: 0 total
22:21:58
Time: 34.504 s
22:21:58
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
22:21:58
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?