Parent Log:
http://ci.aztec-labs.com/52a75bd784cb3b98
Command: 6d54f79990e30722 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/2b9c409698cf0f475a7a9f5884117c8ad2a4f79a
Env: REF_NAME=gh-readonly-queue/next/pr-14987-f880f14c946fb8464186d4178c5d49e391041988 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 12 14:40:37 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14987_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
14:40:41 [14:40:41.580]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:40:44 [14:40:44.504]
INFO:
archiver:test Waiting for archiver to sync to block 3
14:40:44 [14:40:44.524]
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":"0x14f4016cf439fb9cfa6815d38782d964b92d051d74c755f76e71586e8a7e3d2a","rollingHash":"0x72f790c0d7cbf0abf0a33f08ba5129e8"},"messageCount":2}
14:40:44 [14:40:44.636]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x035a79a4abd4e82b0b35fa4dce49aac844b3080554572b309285c63c49b5c9dc","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749739241588,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:40:45 [14:40:45.657]
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":"0x2be674c5531e5c3565372f4a67f5e4235f604b4df076a352e5091ccf99e1460a","rollingHash":"0x2d6d8586833a0963d72d5c1c55a41621"},"messageCount":4}
14:40:45 [14:40:45.689]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
14:40:45 [14:40:45.879]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0b414d5dbf8863c237217d4d8b28110ea18e0e07967f3c9fc4169b204cc120f9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749739241600,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:40:45 [14:40:45.880]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1c19aa9a0c70a1c03ba34484e36a1d35c83e70e932f0eb2ad7ae8e58f0c35be8","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749739241612,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:40:46 [14:40:46.012]
INFO:
archiver Stopped.
14:40:46 [14:40:46.016]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:40:48 [14:40:48.675]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:40:48 [14:40:48.690]
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":"0x2282ee53191dc592b2f7265ce067aa30b43f6a985b40a33b369827703f3f65b0","rollingHash":"0xada7b00b4bfe4f12e61ac33c2043c24e"},"messageCount":2}
14:40:48 [14:40:48.720]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x108ecd93569e22cfb7d56150c3d6269b4dd816b9f929a6963ef13de6ccdb2fe8","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
14:40:48 [14:40:48.875]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x03b0b2ca98d0a506a615a04d0aa1a0acdf6452ec5458cefd518a1d2ac77432c0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749739246027,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:40:48 [14:40:48.876]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x12bfab3487b2e516aa371217765d5b908914deae4af37ef249b03289a866d7d0","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749739246039,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:40:48 [14:40:48.966]
INFO:
archiver Stopped.
14:40:48 [14:40:48.970]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:40:51 [14:40:51.894]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:40:52 [14:40:52.919]
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":"0x2c40d7d61c4982c49118d4d0e0f1355edc62c8cad86edc16e5cf948091a274c4","rollingHash":"0xcb3596139cb1d705f53155adf11005fc"},"messageCount":2}
14:40:53 [14:40:53.036]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x25b8b5452b47b719290884b190a77032b533fc535793d855d783b72eb1aade82","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749739248981,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:40:53 [14:40:53.037]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x07a5fd143d257f268ba0ef684a0707ab98b9dff5dadedc1f18ab8817fe5cdbb4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749739248993,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:40:53 [14:40:53.126]
INFO:
archiver Stopped.
14:40:53 [14:40:53.127]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:40:55 [14:40:55.737]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:40:55 [14:40:55.784]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
14:40:55 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:40:55 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
14:40:55 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:40:55 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:40:55 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:40:55 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:40:55 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:40:56 [14:40:56.796]
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":"0x17e2ce3ecd7afd379c0f5f30d10a5f4b909b3ff385ffde515e28a389cef17ca3","rollingHash":"0x76184a73dc7c02b479be9536293c5b1c"},"messageCount":2}
14:40:56 [14:40:56.917]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0ecc31a0ce13303f4609d11b1c01c4f8c8b4300f3c9a3cdddd09af32debb66fa","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749739253139,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:40:56 [14:40:56.918]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x17bd574edd8d1f8361c2c69b1dd2bd7f31b90aaf7e52e6c8560fbbacd2b49228","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749739253151,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:40:56 [14:40:56.921]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
14:40:56 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:40:56 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
14:40:56 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:40:56 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:40:56 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:40:56 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:40:56 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:40:58 [14:40:58.023]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
14:40:58 [14:40:58.025]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
14:40:58 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:40:58 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
14:40:58 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:40:58 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:40:58 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:40:58 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:40:58 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:40:59 [14:40:59.009]
INFO:
archiver Stopped.
14:40:59 [14:40:59.011]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:40:59 [14:40:59.329]
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":"0x2f3508df35d5b0147114efaf781dd0aee43f0dc5a96b7da9b8f7c0f47880e263","rollingHash":"0xa0208887659b8c93354447b7e03c3eb5"},"messageCount":6}
14:40:59 [14:40:59.330]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2f3508df35d5b0147114efaf781dd0aee43f0dc5a96b7da9b8f7c0f47880e263","rollingHash":"0xa0208887659b8c93354447b7e03c3eb5"},"remoteMessagesState":{"messagesRollingHash":"0x965bbb851d13922c6cd0c918ef4cb3f2","totalMessagesInserted":5,"treeInProgress":0}}
14:40:59 [14:40:59.425]
WARN:
archiver:test Reorging L1 to L2 messages
14:41:00 [14:41:00.339]
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":"0x2f3508df35d5b0147114efaf781dd0aee43f0dc5a96b7da9b8f7c0f47880e263","rollingHash":"0xa0208887659b8c93354447b7e03c3eb5"}}
14:41:00 [14:41:00.341]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
14:41:00 [14:41:00.343]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
14:41:00 [14:41:00.357]
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":"0x0153a721c9a83b839633bcd71ec5e56bea1d1640408092af4324d93abefdcc60","rollingHash":"0xe3802340d4005f75f30cc7efb2f3202e"},"messageCount":5}
14:41:00 [14:41:00.455]
INFO:
archiver Stopped.
14:41:00 [14:41:00.456]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:41:00 [14:41:00.791]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
14:41:01 [14:41:01.778]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:41:01 [14:41:01.853]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2044b383fd67b70563a72fa7499af82f1610971c9187c3b1860983f6d4a79c0d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749739260468,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:41:01 [14:41:01.881]
INFO:
archiver Stopped.
14:41:01 [14:41:01.885]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:41:02 [14:41:02.797]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
14:41:03 [14:41:03.973]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:41:04 [14:41:04.070]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x162bbe973189f201029ea436fd36d47ea78ac39ec96f35d056bed9dee990452e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749739261894,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:41:04 [14:41:04.078]
INFO:
archiver Stopped.
14:41:04 [14:41:04.084]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:41:04 [14:41:04.704]
INFO:
archiver:test Syncing archiver to L1 block 6
14:41:04 [14:41:04.730]
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":"0xe4310016532f947c5e484b8b87a0bffd68c1f50ee86a4f93b5bdd263c14837be","l1BlockNumber":0}}
14:41:04 [14:41:04.764]
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}}
14:41:04 [14:41:04.766]
INFO:
archiver Stopped.
14:41:04 [14:41:04.772]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:41:05 [14:41:05.424]
INFO:
archiver:test Syncing archiver to L1 block 7
14:41:05 [14:41:05.425]
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":"0xd35b6bf1e211047ceff6ba3d30c0b93b55a4f1a6d649989c8c4fdf1e4b6ee4f7","l1BlockNumber":0}}
14:41:05 [14:41:05.441]
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}}
14:41:05 [14:41:05.443]
INFO:
archiver Stopped.
14:41:05 [14:41:05.445]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:41:05 [14:41:05.778]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
14:41:06 [14:41:06.683]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2e0b6412b901c4d0dfac16fd6706454e6bbbdd54642de20545accae2becc0056","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749739265456,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:41:06 [14:41:06.689]
INFO:
archiver Stopped.
14:41:06 [14:41:06.690]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:41:07 [14:41:07.163]
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":"0x36ae1cc9910bd1294d3488887d5b1c12923ef06fd11ed13463ef6add17126ed0","l1BlockNumber":0}}
14:41:07 [14:41:07.201]
INFO:
archiver Stopped.
14:41:07 [14:41:07.203]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:41:11 [14:41:11.015]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1f596a4ab2a064b2c0cee74f52d8c347439bc305bafcded54667217b3f32558d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749739267215,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:41:11 [14:41:11.017]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0bae1f28d201d69a86ee77d8ced115f20e6eb7853175981feee09b95647897ca","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749739267227,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:41:12 [14:41:12.149]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
14:41:13 [14:41:13.201]
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
14:41:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
14:41:13 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:41:13 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
14:41:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1411:7
14:41:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:41:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:41:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:41:13 newBlockNumber: 3,
14:41:13 previousBlockNumber: 1
14:41:13 }
14:41:13 [14:41:13.227]
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":"0x1f596a4ab2a064b2c0cee74f52d8c347439bc305bafcded54667217b3f32558d","newBlockNumber":3,"updatedL1SyncPoint":70}
14:41:13 [14:41:13.229]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
14:41:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
14:41:13 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:41:13 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
14:41:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1411:7
14:41:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:41:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:41:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:41:13 newBlockNumber: 3,
14:41:13 previousBlockNumber: 1
14:41:13 }
14:41:14 [14:41:14.450]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0bae1f28d201d69a86ee77d8ced115f20e6eb7853175981feee09b95647897ca","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749739267227,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:41:14 [14:41:14.451]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x15a547cbdefbf302ce10ee4003ae32a7797ed0be6d34ff4a4a53d5d6dc9ef217","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749739267239,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:41:14 [14:41:14.514]
INFO:
archiver Stopped.
14:41:14
PASS src/archiver/archiver.test.ts (
35.693 s)
14:41:14 Archiver
14:41:14
✓ syncs l1 to l2 messages and blocks (4439 ms)
14:41:14
✓ ignores block 3 because it has been pruned (2952 ms)
14:41:14
✓ skip event search if no changes found (4158 ms)
14:41:14
✓ handles L2 reorg (5882 ms)
14:41:14
✓ handles updated messages due to L1 reorg (1445 ms)
14:41:14
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1425 ms)
14:41:14
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (2197 ms)
14:41:14
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (687 ms)
14:41:14
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (677 ms)
14:41:14
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1245 ms)
14:41:14
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (512 ms)
14:41:14
✓ handles a block gap due to a spurious L2 prune (7312 ms)
14:41:14
○ skipped handles an upcoming L2 prune
14:41:14
14:41:14
Test Suites: 1 passed, 1 total
14:41:14
Tests: 1 skipped,
12 passed, 13 total
14:41:14
Snapshots: 0 total
14:41:14
Time: 35.771 s
14:41:14
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
14:41:14
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?