Parent Log:
http://ci.aztec-labs.com/176cdc16aad7fcf7
Command: 98e833669a704616 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/d20f79089216edeeff0ae1b191f645fa82ba33b6
Env: REF_NAME=gh-readonly-queue/next/pr-14967-082468f0c1e7e5424b3654b5be0f3560eed7e487 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 12 12:09:10 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14967_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
12:09:13 [12:09:13.961]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:09:16 [12:09:16.833]
INFO:
archiver:test Waiting for archiver to sync to block 3
12:09:16 [12:09:16.853]
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":"0x08e3f4bb3ac9b1531e3d22ea7d9c9a0fbe56e79c60f4d2d85fc7b4632c1be804","rollingHash":"0xe3d72628a87bce596c9b18c8bb1883f5"},"messageCount":2}
12:09:16 [12:09:16.939]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x204e1e5343a22f1dedb42f14666e8e834ec7043d3ddbd70af011999ee2e2e7d8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749730153971,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:09:17 [12:09:17.969]
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":"0x279d02dd3e8eaeb998810baff9ab28ebe5a7a2a42851a043e05518d4fbb42eed","rollingHash":"0x640b4dd19878fdc5e5c76ac421c15d28"},"messageCount":4}
12:09:18 [12:09:18.005]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
12:09:18 [12:09:18.182]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x000b8eb4ec49faf303b6110a4766f53094fa4f95ca8a6e0e01a6e12c88695ac6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730153983,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:09:18 [12:09:18.183]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x285a3f14b1feb336e255016ef5eef51ce20b8d820e1e513eed843321a41228d9","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749730153995,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
12:09:18 [12:09:18.425]
INFO:
archiver Stopped.
12:09:18 [12:09:18.430]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:09:21 [12:09:21.121]
INFO:
archiver:test Waiting for archiver to sync to block 2
12:09:21 [12:09:21.130]
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":"0x0b929ef2b546e67447b302aaf155de6002f5d3889754d6d39e99bb3dc3e9a068","rollingHash":"0x672f8412e68bf7801a53e77d3b4a30b3"},"messageCount":2}
12:09:21 [12:09:21.149]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x1dc2196411cad24999a855f34936b1d03b5468aa7c1422c89b5368bfc6c72df3","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
12:09:21 [12:09:21.248]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x07063dc8e2919948fe3ea748512fde1e548885ff0db038a4a3a15c8628e418da","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749730158441,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:09:21 [12:09:21.249]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0304b3574c62813f0b06998f3137a1421698ac43960a9e241566883b94ee7a5e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730158453,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:09:21 [12:09:21.328]
INFO:
archiver Stopped.
12:09:21 [12:09:21.330]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:09:23 [12:09:23.721]
INFO:
archiver:test Waiting for archiver to sync to block 2
12:09:24 [12:09:24.746]
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":"0x2d8342c361b02037dba26cff128c0553b7b749ff7fc1b0de0b47253afae0d642","rollingHash":"0x4035a41a004d573ae7c7688d44c6e328"},"messageCount":2}
12:09:24 [12:09:24.856]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2dce019e6df248718c84d2dec4ac07b3b3408a258dca533120f072dc8f588d7e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749730161342,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:09:24 [12:09:24.857]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1d9b0a734dbe9cd588db5de3c4cf518e7204c90046f7456783eb00d167e518c9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730161354,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:09:24 [12:09:24.949]
INFO:
archiver Stopped.
12:09:24 [12:09:24.951]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:09:27 [12:09:27.636]
INFO:
archiver:test Waiting for archiver to sync to block 2
12:09:27 [12:09:27.700]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
12:09:27 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
12:09:27 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
12:09:27 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
12:09:27 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
12:09:27 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
12:09:27 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
12:09:27 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
12:09:28 [12:09:28.713]
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":"0x06962020abdb3e46a0cf0061fc42ad3528234a96243378993f06b8175883108e","rollingHash":"0x687f6b1ee374bd68d1b0cbd7cea603fc"},"messageCount":2}
12:09:28 [12:09:28.851]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0a296f365c3c0ad457766dc51e0875aa0ab670a80908fdb1406700fd38c73f18","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749730164963,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:09:28 [12:09:28.852]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x22ac084779a169f8d2be39c05960d86a48197c402f3b5601251f5bdc3faa4b98","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730164975,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:09:28 [12:09:28.855]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
12:09:28 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
12:09:28 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
12:09:28 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
12:09:28 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
12:09:28 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
12:09:28 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
12:09:28 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
12:09:29 [12:09:29.980]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
12:09:29 [12:09:29.983]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
12:09:29 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
12:09:29 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
12:09:29 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
12:09:29 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
12:09:29 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
12:09:29 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
12:09:29 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
12:09:30 [12:09:30.910]
INFO:
archiver Stopped.
12:09:30 [12:09:30.913]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:09:31 [12:09:31.213]
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":"0x2136e5188b00a3e05aab90c9ae1805de6f9048924788f2ea71c17ab733fca01a","rollingHash":"0xf41b488268f03e7ddaa4140fe4f2d383"},"messageCount":6}
12:09:31 [12:09:31.214]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2136e5188b00a3e05aab90c9ae1805de6f9048924788f2ea71c17ab733fca01a","rollingHash":"0xf41b488268f03e7ddaa4140fe4f2d383"},"remoteMessagesState":{"messagesRollingHash":"0x6239754d1c68458aa832c18596379efd","totalMessagesInserted":5,"treeInProgress":0}}
12:09:31 [12:09:31.305]
WARN:
archiver:test Reorging L1 to L2 messages
12:09:32 [12:09:32.227]
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":"0x2136e5188b00a3e05aab90c9ae1805de6f9048924788f2ea71c17ab733fca01a","rollingHash":"0xf41b488268f03e7ddaa4140fe4f2d383"}}
12:09:32 [12:09:32.229]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
12:09:32 [12:09:32.231]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
12:09:32 [12:09:32.245]
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":"0x2979a2040670b1e5c5bab7086f2fcf904efd368f9193a52490d7fe6b8dc23edd","rollingHash":"0xb8233b72bed3744ace31741b950b216f"},"messageCount":5}
12:09:32 [12:09:32.329]
INFO:
archiver Stopped.
12:09:32 [12:09:32.331]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:09:32 [12:09:32.673]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
12:09:33 [12:09:33.532]
INFO:
archiver:test Waiting for archiver to sync to block 1
12:09:33 [12:09:33.606]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0d3abd556f0c439b716604963f7ca46968051faa9a738fdb7aabbd15fe1e0453","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730172343,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:09:33 [12:09:33.635]
INFO:
archiver Stopped.
12:09:33 [12:09:33.638]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:09:34 [12:09:34.068]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
12:09:35 [12:09:35.440]
INFO:
archiver:test Waiting for archiver to sync to block 1
12:09:35 [12:09:35.588]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2c94274e70c5936d5d93fe09cd978bf3dcaf1478b4578d06989aef348bbf39d6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749730173649,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:09:35 [12:09:35.687]
INFO:
archiver Stopped.
12:09:35 [12:09:35.696]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:09:36 [12:09:36.115]
INFO:
archiver:test Syncing archiver to L1 block 6
12:09:36 [12:09:36.116]
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":"0xdfb7851ef0968dc0fe2324793498cc5570324daf2d3515417a6d8d2d887c0b1f","l1BlockNumber":0}}
12:09:36 [12:09:36.136]
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}}
12:09:36 [12:09:36.138]
INFO:
archiver Stopped.
12:09:36 [12:09:36.141]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:09:36 [12:09:36.545]
INFO:
archiver:test Syncing archiver to L1 block 7
12:09:36 [12:09:36.546]
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":"0x1b82b0897f5ff2dec1cfbf1c92e41d83af84040d45c529b8cc3f3b475044b543","l1BlockNumber":0}}
12:09:36 [12:09:36.582]
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}}
12:09:36 [12:09:36.590]
INFO:
archiver Stopped.
12:09:36 [12:09:36.606]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:09:37 [12:09:37.283]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
12:09:38 [12:09:38.236]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1a946ad9695214d7b81e9f59f08033d5ea1ee71e05a32b8f425f995658366969","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749730176610,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:09:38 [12:09:38.242]
INFO:
archiver Stopped.
12:09:38 [12:09:38.244]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:09:38 [12:09:38.590]
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":"0xb02a3eab3034ecac8b05b76a84ffbc75683903b890ffc00f4545af1f889c2d1b","l1BlockNumber":0}}
12:09:38 [12:09:38.605]
INFO:
archiver Stopped.
12:09:38 [12:09:38.606]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:09:42 [12:09:42.673]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x17f12fcc3b3bd70f85c05b51ee91fd9a8b34223e701a9c292578c2d95aad56fb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749730178618,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:09:42 [12:09:42.674]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x183f2f3cdb1143b0146b8223efa7ec4d3466965ba86ce84d4b993b5d60ed9aad","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730178630,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:09:43 [12:09:43.803]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
12:09:44 [12:09:44.912]
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
12:09:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
12:09:44 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
12:09:44 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
12:09:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1411:7
12:09:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:09:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:09:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:09:44 newBlockNumber: 3,
12:09:44 previousBlockNumber: 1
12:09:44 }
12:09:44 [12:09:44.940]
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":"0x17f12fcc3b3bd70f85c05b51ee91fd9a8b34223e701a9c292578c2d95aad56fb","newBlockNumber":3,"updatedL1SyncPoint":70}
12:09:44 [12:09:44.941]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
12:09:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
12:09:44 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
12:09:44 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
12:09:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1411:7
12:09:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:09:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:09:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:09:44 newBlockNumber: 3,
12:09:44 previousBlockNumber: 1
12:09:44 }
12:09:46 [12:09:46.100]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x183f2f3cdb1143b0146b8223efa7ec4d3466965ba86ce84d4b993b5d60ed9aad","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730178630,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:09:46 [12:09:46.102]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2363e17280e3d2eb222ae0dfc38c4a86eeda575e58059624a03b61c92ffc7976","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749730178642,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
12:09:46 [12:09:46.193]
INFO:
archiver Stopped.
12:09:46
PASS src/archiver/archiver.test.ts (
34.666 s)
12:09:46 Archiver
12:09:46
✓ syncs l1 to l2 messages and blocks (4470 ms)
12:09:46
✓ ignores block 3 because it has been pruned (2901 ms)
12:09:46
✓ skip event search if no changes found (3621 ms)
12:09:46
✓ handles L2 reorg (5961 ms)
12:09:46
✓ handles updated messages due to L1 reorg (1418 ms)
12:09:46
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1306 ms)
12:09:46
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (2052 ms)
12:09:46
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (445 ms)
12:09:46
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (458 ms)
12:09:46
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1644 ms)
12:09:46
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (362 ms)
12:09:46
✓ handles a block gap due to a spurious L2 prune (7588 ms)
12:09:46
○ skipped handles an upcoming L2 prune
12:09:46
12:09:46
Test Suites: 1 passed, 1 total
12:09:46
Tests: 1 skipped,
12 passed, 13 total
12:09:46
Snapshots: 0 total
12:09:46
Time: 34.748 s
12:09:46
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
12:09:46
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?