Parent Log:
http://ci.aztec-labs.com/47047f2495987fd4
Command: 0b621446113df0ea yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/a16ffcb44336b117d56ec8733e0b8bbfc787edf7
Env: REF_NAME=gh-readonly-queue/next/pr-15187-4608046e462faf9ff3fbee265ba34dbecb5d0b31 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 23 14:46:11 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15187_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
14:46:15 [14:46:15.960]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:46:18 [14:46:18.876]
INFO:
archiver:test Waiting for archiver to sync to block 3
14:46:18 [14:46:18.891]
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":"0x109dee9b2039d0e0df3d6a653f7b93017a40380843d669b94de0627cd404131d","rollingHash":"0xeedf09ecfaf298f1283cb22e4353e84f"},"messageCount":2}
14:46:18 [14:46:18.988]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2b518af14998574ab2a472903ac30009fbf654baf17df88358c4419447c5289f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750689975951,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:46:20 [14:46:20.014]
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":"0x0a05ca3628dffbab389025a6ad1c89ee4f78caa87345fbae4ad6d39b485aa40a","rollingHash":"0xbfb17fec89436aff113e6742a47e6f76"},"messageCount":4}
14:46:20 [14:46:20.056]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
14:46:20 [14:46:20.281]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x24ffeec73a6b7bf69aff9fa591cb140178251d4ece54a09217777a70bd247f26","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750689975963,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:46:20 [14:46:20.283]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x23302146d1d04c5a59ca2929c3817ec57fb1c81cde11bfc4738a94fcca822b69","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750689975975,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:46:20 [14:46:20.454]
INFO:
archiver Stopped.
14:46:20 [14:46:20.459]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:46:23 [14:46:23.131]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:46:23 [14:46:23.146]
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":"0x0a338861075fc78fd8da49392bef05438a552b971c44e103df6806d602cf9da7","rollingHash":"0xd7a87e6f25d219c35151635f33903932"},"messageCount":2}
14:46:23 [14:46:23.171]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x225652ebbbb34036c771d8e29f74fecaaa957ad143fc44b5c2321d15d34030c8","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
14:46:23 [14:46:23.259]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2949f58e1975b4680e0c0849f50b5eee72cd95097b719a0acbc0db51d9ea0c4c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750689980470,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:46:23 [14:46:23.260]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0f3a75460d7772e00e42e3922c2bfe6704edf9b12dd07179d35d581b1573ae90","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750689980482,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:46:23 [14:46:23.352]
INFO:
archiver Stopped.
14:46:23 [14:46:23.355]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:46:26 [14:46:26.100]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:46:27 [14:46:27.118]
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":"0x1e2f4837ca640f58c9708a3c12a3da24fca40c747489f34c089ff748fd0492ee","rollingHash":"0xf80053aa54d67bf9c7fedd02b910715d"},"messageCount":2}
14:46:27 [14:46:27.239]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x15193966fe2eb375a9e3acd43faeae1d40dbdb9a9657f0c66904365136ac5553","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750689983366,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:46:27 [14:46:27.240]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0e40f4aaf818c2d896e027a7afbb580c947400254ce539e98d17108d7f707520","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750689983378,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:46:27 [14:46:27.326]
INFO:
archiver Stopped.
14:46:27 [14:46:27.328]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:46:30 [14:46:30.122]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:46:30 [14:46:30.174]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
14:46:30 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:46:30 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:46:30 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
14:46:30 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
14:46:30 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
14:46:30 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:46:30 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:46:31 [14:46:31.196]
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":"0x012085cc35a9956d212a82691933bae91b36b6d9a1a7c44631e267206a6980f9","rollingHash":"0xda74d07717e9f7bd5b709e34b537cbaa"},"messageCount":2}
14:46:31 [14:46:31.391]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0ff782baea6faf4c7ae341ec902a1e70836b4d16223c328f2cd8d2d5df355525","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750689987340,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:46:31 [14:46:31.393]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0fe2bded23415f7d4fb6c6357c0a1d78e261001285e67f7f9bd8475d7aa0d769","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750689987352,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:46:31 [14:46:31.397]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
14:46:31 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:46:31 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:46:31 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
14:46:31 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
14:46:31 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
14:46:31 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:46:31 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:46:32 [14:46:32.525]
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:46:32 [14:46:32.528]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
14:46:32 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:46:32 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:46:32 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
14:46:32 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
14:46:32 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
14:46:32 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:46:32 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:46:33 [14:46:33.493]
INFO:
archiver Stopped.
14:46:33 [14:46:33.495]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:46:33 [14:46:33.942]
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":"0x03fd1aa33cfe34d3565dd01ec8f8e2c2ea7d9b1046b430f726d0be8ac2467e7b","rollingHash":"0xdd99efe2e857885f213686e3e561baff"},"messageCount":6}
14:46:33 [14:46:33.942]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x03fd1aa33cfe34d3565dd01ec8f8e2c2ea7d9b1046b430f726d0be8ac2467e7b","rollingHash":"0xdd99efe2e857885f213686e3e561baff"},"remoteMessagesState":{"messagesRollingHash":"0x9cf6ca946ecb30bef2754bf310c32c81","totalMessagesInserted":5,"treeInProgress":0}}
14:46:34 [14:46:34.034]
WARN:
archiver:test Reorging L1 to L2 messages
14:46:34 [14:46:34.954]
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":"0x03fd1aa33cfe34d3565dd01ec8f8e2c2ea7d9b1046b430f726d0be8ac2467e7b","rollingHash":"0xdd99efe2e857885f213686e3e561baff"}}
14:46:34 [14:46:34.963]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
14:46:34 [14:46:34.966]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
14:46:35 [14:46:35.017]
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":"0x01f8b40c3f81dba593dad9c9a0e3b4959e0f9d79dcabe04c48d2b97a16cfa65f","rollingHash":"0xbb8532a46963cf4491861a45f81e63cc"},"messageCount":5}
14:46:35 [14:46:35.063]
INFO:
archiver Stopped.
14:46:35 [14:46:35.069]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:46:35 [14:46:35.744]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
14:46:36 [14:46:36.725]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:46:36 [14:46:36.807]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0ea3eb6d3d145d4c33f3728834ad4aaae373a433d1adbd4246de2a0cbd4529b3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750689995077,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:46:36 [14:46:36.829]
INFO:
archiver Stopped.
14:46:36 [14:46:36.832]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:46:37 [14:46:37.211]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
14:46:38 [14:46:38.579]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:46:38 [14:46:38.666]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0c9de9f95e5e9ac6fe95c9c856b83c785df95ad097839abe609d237087eb6698","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750689996843,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:46:38 [14:46:38.685]
INFO:
archiver Stopped.
14:46:38 [14:46:38.687]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:46:39 [14:46:39.211]
INFO:
archiver:test Syncing archiver to L1 block 6
14:46:39 [14:46:39.212]
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":"0x19353cd74f8e538f4079ec9c88ceacc34b947b59cf8f3bdbc09391df9ae39844","l1BlockNumber":0}}
14:46:39 [14:46:39.233]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:46:39 [14:46:39.236]
INFO:
archiver Stopped.
14:46:39 [14:46:39.238]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:46:39 [14:46:39.712]
INFO:
archiver:test Syncing archiver to L1 block 7
14:46:39 [14:46:39.714]
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":"0xd6a8ca3e3503a841f14fcb3e117c9a9797da17305ddf7f8225fe16c5b975f204","l1BlockNumber":0}}
14:46:39 [14:46:39.727]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:46:39 [14:46:39.730]
INFO:
archiver Stopped.
14:46:39 [14:46:39.732]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:46:40 [14:46:40.201]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
14:46:41 [14:46:41.216]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x116f5489cd42b9847e405391fbefee58ba17eb6b8394849230695345f18ac5d7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750689999743,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:46:41 [14:46:41.224]
INFO:
archiver Stopped.
14:46:41 [14:46:41.226]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:46:41 [14:46:41.622]
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":"0xb48f28c83f1bec64106689e7f635d4f13593250358af523d1a5ef6ff1123720f","l1BlockNumber":0}}
14:46:41 [14:46:41.639]
INFO:
archiver Stopped.
14:46:41 [14:46:41.641]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:46:45 [14:46:45.811]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x09943c42468d512a0fe8d925203f37f135ccedc20ce388f534875f295cdc14de","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750690001652,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:46:45 [14:46:45.813]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1e65310a922d0f43652daad105d388fea0e1c4d8dd5c593e6c0ef2fa4e15de11","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750690001664,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:46:46 [14:46:46.979]
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:46:48 [14:46:48.039]
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:46:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
14:46:48 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:46:48 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
14:46:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
14:46:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:46:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:46:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:46:48 newBlockNumber: 3,
14:46:48 previousBlockNumber: 1
14:46:48 }
14:46:48 [14:46:48.066]
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":"0x09943c42468d512a0fe8d925203f37f135ccedc20ce388f534875f295cdc14de","newBlockNumber":3,"updatedL1SyncPoint":70}
14:46:48 [14:46:48.068]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
14:46:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
14:46:48 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:46:48 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
14:46:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
14:46:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:46:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:46:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:46:48 newBlockNumber: 3,
14:46:48 previousBlockNumber: 1
14:46:48 }
14:46:49 [14:46:49.295]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1e65310a922d0f43652daad105d388fea0e1c4d8dd5c593e6c0ef2fa4e15de11","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750690001664,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:46:49 [14:46:49.296]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2967c8ff7004823ceffa7e589943b4cfee8ae72e78d755ccc817890be5b703f3","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750690001676,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:46:49 [14:46:49.324]
INFO:
archiver Stopped.
14:46:49
PASS src/archiver/archiver.test.ts (
36.584 s)
14:46:49 Archiver
14:46:49
✓ syncs l1 to l2 messages and blocks (4518 ms)
14:46:49
✓ ignores block 3 because it has been pruned (2896 ms)
14:46:49
✓ skip event search if no changes found (3973 ms)
14:46:49
✓ handles L2 reorg (6166 ms)
14:46:49
✓ handles updated messages due to L1 reorg (1570 ms)
14:46:49
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1765 ms)
14:46:49
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1854 ms)
14:46:49
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (550 ms)
14:46:49
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (493 ms)
14:46:49
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1493 ms)
14:46:49
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (414 ms)
14:46:49
✓ handles a block gap due to a spurious L2 prune (7685 ms)
14:46:49
○ skipped handles an upcoming L2 prune
14:46:49
14:46:49
Test Suites: 1 passed, 1 total
14:46:49
Tests: 1 skipped,
12 passed, 13 total
14:46:49
Snapshots: 0 total
14:46:49
Time: 36.67 s
14:46:49
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
14:46:49
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?