Parent Log:
http://ci.aztec-labs.com/88af6abc5e7063c3
Command: dc9591c437eedcb5 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/42440bd429a3b283b3a344db0be4652d818bd261
Env: REF_NAME=gh-readonly-queue/next/pr-15046-2469b5f1633350f6be15733c04242af1cdc98227 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 19:48:55 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15046_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
19:49:00 [19:49:00.143]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:49:03 [19:49:03.116]
INFO:
archiver:test Waiting for archiver to sync to block 3
19:49:03 [19:49:03.131]
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":"0x1275844536348ba9defd3186d941c0256d3f4e223395099e9f7a841c6a1a0de3","rollingHash":"0xc1dd69d4dd32457fe912e2d678d0b6b6"},"messageCount":2}
19:49:03 [19:49:03.264]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x04db14ea05a988bd83b17fb2f17019daa3d53970f645de71585f4e91fd44b446","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750103340110,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:49:04 [19:49:04.291]
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":"0x25deba8ce7326381e9db26bb15f8a216b80fcc51f3029b4f41c5652e4bae4491","rollingHash":"0xd25ac8d19b749e268f4ec6ce219eb4d1"},"messageCount":4}
19:49:04 [19:49:04.331]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
19:49:04 [19:49:04.518]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2cde7e635a9d3f39eb7366cd8ddd43883c9bdea4cf1e655fd51f8e1a5539e44f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750103340122,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:49:04 [19:49:04.519]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2de858dc2b1e8b10944ba2da2da834f25611824a824665895a5c068884f39281","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750103340134,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:49:04 [19:49:04.651]
INFO:
archiver Stopped.
19:49:04 [19:49:04.655]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:49:07 [19:49:07.583]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:49:07 [19:49:07.596]
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":"0x27703f326bdbf8c9fe224f81e327ff4003559f1f0e627e25098dd6c9c1fc1079","rollingHash":"0x4eb3ae61f43c4035e9df627ec4f692b6"},"messageCount":2}
19:49:07 [19:49:07.628]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x2603bbb93b203a0117f74ae4fe6c65137e6f6db08c0bbbaa04714a1b83730f95","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
19:49:07 [19:49:07.765]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x22a7f0b608d151625f72652d90d1b2ded4f2ec9b654c7fcfbb7445f305e0fa1a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750103344667,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:49:07 [19:49:07.766]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x23d6085783b5a96767f830e76d93a04185a1b855a2f291714764b76abbc69c24","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750103344679,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:49:07 [19:49:07.857]
INFO:
archiver Stopped.
19:49:07 [19:49:07.860]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:49:10 [19:49:10.501]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:49:11 [19:49:11.525]
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":"0x0a741767b9821ffbd1c96f13108844a0a765251ecaa5cecff4f49cac4aa7b1ac","rollingHash":"0x0199a28679fe4406ba4f2ae9d9b9166b"},"messageCount":2}
19:49:11 [19:49:11.641]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0cb14ff1fdf1b55d9dd223709e6feb80a92b937677871263acf9c6b6f2c9018f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750103347871,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:49:11 [19:49:11.642]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x119d6d0e6a9a82435eb9d89a301193e824edbe697ca243494581703ad50f4dc7","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750103347883,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:49:11 [19:49:11.730]
INFO:
archiver Stopped.
19:49:11 [19:49:11.731]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:49:14 [19:49:14.377]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:49:14 [19:49:14.422]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
19:49:14 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:49:14 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:49:14 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:49:14 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:49:14 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:49:14 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:49:14 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:49:15 [19:49:15.431]
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":"0x1da34c12fdfa0f08fb084f7ebbad595cb3dbfe84bf72587763de8498e62940a8","rollingHash":"0xa3e399d025873575ebd5c3e44e94496a"},"messageCount":2}
19:49:15 [19:49:15.582]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x26de8dcd249ef65cec4dd78999718326c42367440b99fb4f385faa29119aaa43","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750103351743,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:49:15 [19:49:15.583]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x05d6cad1b58b8628a7dd7b84d1457fa658f47aac85cea15cadd5099dd91e2229","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750103351755,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:49:15 [19:49:15.585]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
19:49:15 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:49:15 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:49:15 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:49:15 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:49:15 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:49:15 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:49:15 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:49:16 [19:49:16.702]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
19:49:16 [19:49:16.704]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
19:49:16 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:49:16 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:49:16 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:49:16 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:49:16 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:49:16 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:49:16 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:49:17 [19:49:17.674]
INFO:
archiver Stopped.
19:49:17 [19:49:17.675]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:49:18 [19:49:18.028]
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":"0x1c522a0cca1b188631ef00b0dec531c2ab0b277801b326a3dc22ad156f1bcb8e","rollingHash":"0x75ef9c5b4d2b9bf26d92beb284d26b66"},"messageCount":6}
19:49:18 [19:49:18.029]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1c522a0cca1b188631ef00b0dec531c2ab0b277801b326a3dc22ad156f1bcb8e","rollingHash":"0x75ef9c5b4d2b9bf26d92beb284d26b66"},"remoteMessagesState":{"messagesRollingHash":"0x2835372b2240d556f257527ee62de538","totalMessagesInserted":5,"treeInProgress":0}}
19:49:18 [19:49:18.124]
WARN:
archiver:test Reorging L1 to L2 messages
19:49:19 [19:49:19.038]
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":"0x1c522a0cca1b188631ef00b0dec531c2ab0b277801b326a3dc22ad156f1bcb8e","rollingHash":"0x75ef9c5b4d2b9bf26d92beb284d26b66"}}
19:49:19 [19:49:19.041]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
19:49:19 [19:49:19.042]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
19:49:19 [19:49:19.062]
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":"0x1964b5c47bdd5350f230c36519d13bc4ac9a15adbb36848c5c3ded565be848a9","rollingHash":"0xc45eb8bd77b6722aba54f8ff0ef71f85"},"messageCount":5}
19:49:19 [19:49:19.154]
INFO:
archiver Stopped.
19:49:19 [19:49:19.155]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:49:19 [19:49:19.544]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
19:49:20 [19:49:20.454]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:49:20 [19:49:20.538]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2d6f15b0d09f70029d9a4f6a696c0ec5f04a05e1dbedeb90099c871d33cf40b5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750103359167,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:49:20 [19:49:20.558]
INFO:
archiver Stopped.
19:49:20 [19:49:20.561]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:49:20 [19:49:20.916]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
19:49:21 [19:49:21.781]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:49:21 [19:49:21.872]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x18a77ed4d769efad5cfc00eda1ad8d778ea06bee246d6cc6adcca475500f6f1e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750103360572,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:49:21 [19:49:21.884]
INFO:
archiver Stopped.
19:49:21 [19:49:21.885]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:49:22 [19:49:22.348]
INFO:
archiver:test Syncing archiver to L1 block 6
19:49:22 [19:49:22.352]
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":"0x54b28da9f9517145ef0732d1e9abfd661952aa920db3d879c1b8f0a0d3c5c31d","l1BlockNumber":0}}
19:49:22 [19:49:22.379]
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}}
19:49:22 [19:49:22.382]
INFO:
archiver Stopped.
19:49:22 [19:49:22.384]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:49:22 [19:49:22.772]
INFO:
archiver:test Syncing archiver to L1 block 7
19:49:22 [19:49:22.773]
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":"0x859b599599096a09a60e8ea6f44547b36ae57d99bdc25d5349fcb3258176f2b9","l1BlockNumber":0}}
19:49:22 [19:49:22.790]
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}}
19:49:22 [19:49:22.792]
INFO:
archiver Stopped.
19:49:22 [19:49:22.794]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:49:23 [19:49:23.370]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
19:49:24 [19:49:24.926]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x18816e7b126a2352ddbbb9a7bb2629f8d37594853e5eddce0940e9896f9a2549","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750103362805,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:49:24 [19:49:24.947]
INFO:
archiver Stopped.
19:49:24 [19:49:24.954]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:49:25 [19:49:25.762]
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":"0x237327ee67d8866b762050054fc11e451d85e4188945e8a3b6417c4de0828f3d","l1BlockNumber":0}}
19:49:25 [19:49:25.785]
INFO:
archiver Stopped.
19:49:25 [19:49:25.788]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:49:30 [19:49:30.109]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x03ba86f8c188c030bd58b30ad9ac7a17056b135703d238f5925492252b4ca9ae","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750103365799,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:49:30 [19:49:30.111]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x21a14d9ab519eca96b7fdce0f0fd997e5dbc7ba7969a7f20bde9ae8cadf26fa1","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750103365811,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:49:31 [19:49:31.290]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
19:49:32 [19:49:32.380]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
19:49:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:49:32 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:49:32 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
19:49:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
19:49:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:49:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:49:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:49:32 newBlockNumber: 3,
19:49:32 previousBlockNumber: 1
19:49:32 }
19:49:32 [19:49:32.408]
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":"0x03ba86f8c188c030bd58b30ad9ac7a17056b135703d238f5925492252b4ca9ae","newBlockNumber":3,"updatedL1SyncPoint":70}
19:49:32 [19:49:32.410]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
19:49:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:49:32 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:49:32 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
19:49:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
19:49:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:49:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:49:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:49:32 newBlockNumber: 3,
19:49:32 previousBlockNumber: 1
19:49:32 }
19:49:33 [19:49:33.608]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x21a14d9ab519eca96b7fdce0f0fd997e5dbc7ba7969a7f20bde9ae8cadf26fa1","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750103365811,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:49:33 [19:49:33.608]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x01e101e94be51d11405cfbca370277f01f7f4100f88904bd9e8b6f05e4e73821","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750103365823,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:49:33 [19:49:33.698]
INFO:
archiver Stopped.
19:49:33
PASS src/archiver/archiver.test.ts (
37.123 s)
19:49:33 Archiver
19:49:33
✓ syncs l1 to l2 messages and blocks (4556 ms)
19:49:33
✓ ignores block 3 because it has been pruned (3204 ms)
19:49:33
✓ skip event search if no changes found (3871 ms)
19:49:33
✓ handles L2 reorg (5943 ms)
19:49:33
✓ handles updated messages due to L1 reorg (1480 ms)
19:49:33
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1405 ms)
19:49:33
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1325 ms)
19:49:33
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (497 ms)
19:49:33
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (409 ms)
19:49:33
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (2156 ms)
19:49:33
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (836 ms)
19:49:33
✓ handles a block gap due to a spurious L2 prune (7913 ms)
19:49:33
○ skipped handles an upcoming L2 prune
19:49:33
19:49:33
Test Suites: 1 passed, 1 total
19:49:33
Tests: 1 skipped,
12 passed, 13 total
19:49:33
Snapshots: 0 total
19:49:33
Time: 37.24 s
19:49:33
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
19:49:33
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?