Parent Log:
http://ci.aztec-labs.com/bcfdde57c1560bcc
Command: dc1ae0e48a98f45c yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/5ca43853c40a2b8bfbc2148d5fdd46c6f82a74eb
Env: REF_NAME=gh-readonly-queue/next/pr-14178-3cbe7945c84145b8646cf5cf8fb730b915c0dc93 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Mon Jun 16 13:37:25 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14178_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
13:37:28 [13:37:28.429]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:31 [13:37:31.211]
INFO:
archiver:test Waiting for archiver to sync to block 3
13:37:31 [13:37:31.227]
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":"0x14d5bd34d1dee1fb5b233c4c55299531dc1714e8f0b113cb3b11aad9cc42ac03","rollingHash":"0x283ccdb8ff4ebc9563b841fd2ad7be7c"},"messageCount":2}
13:37:31 [13:37:31.308]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x17d226cb483b2ad9c298a66bb8351ea9b54941877e0d6c6e77887446dae918ed","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750081048428,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:37:32 [13:37:32.323]
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":"0x21e9517ae2d60c9405b030bb281a65ec1b43980c0401a105ee685fe6774c24ab","rollingHash":"0x42a1a26562230c8b9a788ccf6aa25c2c"},"messageCount":4}
13:37:32 [13:37:32.348]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
13:37:32 [13:37:32.487]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x18b4e49f68cd0397008423eba3c9c63f1650a694e2acbc88f1033a87b5b22cdb","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750081048440,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:37:32 [13:37:32.488]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2b38623db4aa1265e2513f7b7eb3f14626fb4013750b39eb9514baa6fe50ecf1","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750081048452,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:37:32 [13:37:32.684]
INFO:
archiver Stopped.
13:37:32 [13:37:32.688]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:35 [13:37:35.252]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:37:35 [13:37:35.262]
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":"0x10ff2daca1e12cf52d2aad8873009726f7fd6f35fa1eefefe10047172003e620","rollingHash":"0xc14c708ae24b4540554e577a35740455"},"messageCount":2}
13:37:35 [13:37:35.280]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0ccca6cc1c0336c182eac89f62586b14670ae0eb8ac064ba526bb449350a7d77","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
13:37:35 [13:37:35.377]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1d6eab382499dfeaec57ab5cd87bf3d6863e6b8af62d98bfeef979cbe2f3cbc1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750081052700,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:37:35 [13:37:35.378]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2cf586ab1480788a2b643ce6c8deaba995eb8ab168b898dc71e87b1ad12c2b74","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750081052712,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:37:35 [13:37:35.470]
INFO:
archiver Stopped.
13:37:35 [13:37:35.472]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:38 [13:37:38.050]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:37:39 [13:37:39.071]
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":"0x01aaa20033a45779409d55c6113cd06e89c8f75f6fa2c624fafac8d0cd9e658a","rollingHash":"0x4db025691059d042471edc337910f9a6"},"messageCount":2}
13:37:39 [13:37:39.185]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1fdf25143cab2964d048c4e20ba1bcf270b2f9be614cb782c264f95fe624ec57","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750081055483,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:37:39 [13:37:39.186]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1bc9829ca13d5fe5205765147860cbd1ec5f2990026109a5de93e1e0f55461b0","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750081055495,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:37:39 [13:37:39.277]
INFO:
archiver Stopped.
13:37:39 [13:37:39.280]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:41 [13:37:41.838]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:37:41 [13:37:41.874]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
13:37:41 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:37:41 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:37:41 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
13:37:41 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
13:37:41 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
13:37:41 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:37:41 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:37:42 [13:37:42.881]
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":"0x13c8425b7719aa49ce765996c19671217bc4f39d6869c91ec255a0ced0d48f31","rollingHash":"0x13925d410fa4e5384889914230b739e4"},"messageCount":2}
13:37:42 [13:37:42.997]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x05cdc2b16aa35809417e19744541a7b2858cc645b18b878fd4dd309af3c15554","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750081059290,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:37:42 [13:37:42.998]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2a5257f5a5d5f112c45dfa0f215cf3e17dd5e3ee17981757f8578ffede726379","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750081059302,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:37:42 [13:37:43.000]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
13:37:42 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:37:42 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:37:42 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
13:37:42 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
13:37:42 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
13:37:42 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:37:42 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:37:44 [13:37:44.094]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
13:37:44 [13:37:44.096]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
13:37:44 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:37:44 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:37:44 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
13:37:44 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
13:37:44 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
13:37:44 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:37:44 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:37:45 [13:37:45.090]
INFO:
archiver Stopped.
13:37:45 [13:37:45.092]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:45 [13:37:45.358]
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":"0x191854dbc67bdd50ff6bc9eb3d46b78c3f86c8cc6c1a37b8cef0187d4f1047af","rollingHash":"0x69578ab7e6b6661a49ff6a17973407d7"},"messageCount":6}
13:37:45 [13:37:45.359]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x191854dbc67bdd50ff6bc9eb3d46b78c3f86c8cc6c1a37b8cef0187d4f1047af","rollingHash":"0x69578ab7e6b6661a49ff6a17973407d7"},"remoteMessagesState":{"messagesRollingHash":"0x8900a08544d5372711c35b861d34b65e","totalMessagesInserted":5,"treeInProgress":0}}
13:37:45 [13:37:45.453]
WARN:
archiver:test Reorging L1 to L2 messages
13:37:46 [13:37:46.367]
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":"0x191854dbc67bdd50ff6bc9eb3d46b78c3f86c8cc6c1a37b8cef0187d4f1047af","rollingHash":"0x69578ab7e6b6661a49ff6a17973407d7"}}
13:37:46 [13:37:46.369]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
13:37:46 [13:37:46.370]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
13:37:46 [13:37:46.384]
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":"0x247d11fc98a12bfbafb363607046a3ce6950207936166da215aad435f6b80b87","rollingHash":"0xeb9971f7b50b4eb3daa9a26c79553135"},"messageCount":5}
13:37:46 [13:37:46.462]
INFO:
archiver Stopped.
13:37:46 [13:37:46.463]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:46 [13:37:46.720]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
13:37:47 [13:37:47.479]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:37:47 [13:37:47.546]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1747566e79a78904d6881e4e81296c32f1c77aef37261c498a738d448d15378d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750081066475,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:37:47 [13:37:47.583]
INFO:
archiver Stopped.
13:37:47 [13:37:47.584]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:47 [13:37:47.849]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
13:37:48 [13:37:48.604]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:37:48 [13:37:48.669]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x250d2c1dfb4893be346d31468bf3fcb9115b934cf7ae6f5fe717258afcf78bd5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750081067596,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:37:48 [13:37:48.707]
INFO:
archiver Stopped.
13:37:48 [13:37:48.709]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:48 [13:37:48.997]
INFO:
archiver:test Syncing archiver to L1 block 6
13:37:49 [13:37:49.006]
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":"0x3e5bf5653e1bad6d89b4884094eb42613e8a1e20f2f189d7937b9f8610991ab0","l1BlockNumber":0}}
13:37:49 [13:37:49.019]
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}}
13:37:49 [13:37:49.021]
INFO:
archiver Stopped.
13:37:49 [13:37:49.022]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:49 [13:37:49.290]
INFO:
archiver:test Syncing archiver to L1 block 7
13:37:49 [13:37:49.291]
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":"0x451bac5090a7298f187b32f668831f87b84aa1e98aab2e0bf088a98837819197","l1BlockNumber":0}}
13:37:49 [13:37:49.303]
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}}
13:37:49 [13:37:49.304]
INFO:
archiver Stopped.
13:37:49 [13:37:49.306]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:49 [13:37:49.569]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
13:37:50 [13:37:50.395]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x18a32da6d2d2217028270d12f678b0fce3f66e71e3801147dbf45ecc384679ec","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750081069318,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:37:50 [13:37:50.399]
INFO:
archiver Stopped.
13:37:50 [13:37:50.400]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:50 [13:37:50.669]
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":"0x29a5be146d19d8a8cb0a2bf3d8634f2558ac4a83c1b7cb1e6aba977646bc2a67","l1BlockNumber":0}}
13:37:50 [13:37:50.681]
INFO:
archiver Stopped.
13:37:50 [13:37:50.682]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:53 [13:37:53.392]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1c0f6968e709a7217ae25bee7cf4c8b456944fccd0446e14155b34e89828c0a5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750081070694,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:37:53 [13:37:53.393]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x282d9648ae03d353d4f65163b943c17a78b4c33a73432a8bfaf966cb172e11f4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750081070706,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:37:54 [13:37:54.495]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
13:37:55 [13:37:55.540]
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
13:37:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
13:37:55 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:37:55 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
13:37:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
13:37:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:37:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:37:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:37:55 newBlockNumber: 3,
13:37:55 previousBlockNumber: 1
13:37:55 }
13:37:55 [13:37:55.560]
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":"0x1c0f6968e709a7217ae25bee7cf4c8b456944fccd0446e14155b34e89828c0a5","newBlockNumber":3,"updatedL1SyncPoint":70}
13:37:55 [13:37:55.561]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
13:37:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
13:37:55 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:37:55 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
13:37:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
13:37:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:37:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:37:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:37:55 newBlockNumber: 3,
13:37:55 previousBlockNumber: 1
13:37:55 }
13:37:56 [13:37:56.691]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x282d9648ae03d353d4f65163b943c17a78b4c33a73432a8bfaf966cb172e11f4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750081070706,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:37:56 [13:37:56.692]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0ed9198fa38b59cbe3021f47d65908997e382b9302f4048696773b836c492e9b","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750081070718,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:37:56 [13:37:56.783]
INFO:
archiver Stopped.
13:37:56
PASS src/archiver/archiver.test.ts (
30.839 s)
13:37:56 Archiver
13:37:56
✓ syncs l1 to l2 messages and blocks (4271 ms)
13:37:56
✓ ignores block 3 because it has been pruned (2783 ms)
13:37:56
✓ skip event search if no changes found (3807 ms)
13:37:56
✓ handles L2 reorg (5813 ms)
13:37:56
✓ handles updated messages due to L1 reorg (1371 ms)
13:37:56
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1121 ms)
13:37:56
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1124 ms)
13:37:56
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (313 ms)
13:37:56
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (283 ms)
13:37:56
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1094 ms)
13:37:56
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (281 ms)
13:37:56
✓ handles a block gap due to a spurious L2 prune (6102 ms)
13:37:56
○ skipped handles an upcoming L2 prune
13:37:56
13:37:56
Test Suites: 1 passed, 1 total
13:37:56
Tests: 1 skipped,
12 passed, 13 total
13:37:56
Snapshots: 0 total
13:37:56
Time: 30.926 s
13:37:56
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
13:37:56
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?