Parent Log:
http://ci.aztec-labs.com/0cfbb3292f8dcdfc
Command: f30d64a7ce604682 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/7d1abcb337009939ee47da8445b5fee80f39fb58
Env: REF_NAME=gh-readonly-queue/next/pr-15156-df137f9440a970af2eb6e2ee94c48bf3bf47e207 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Fri Jun 20 10:05:38 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15156_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
10:05:41 [10:05:41.313]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:44 [10:05:44.063]
INFO:
archiver:test Waiting for archiver to sync to block 3
10:05:44 [10:05:44.082]
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":"0x2d9c9d15f4cf241ab6471acc03c25934982956361afdeddc02ae48388576f8f0","rollingHash":"0x61e009eff02016beb66e8f716c892751"},"messageCount":2}
10:05:44 [10:05:44.171]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x203541edb330ed5ba2236d2b68721028fc7a961f2b0928ee601875076481559f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413941313,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:05:45 [10:05:45.226]
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":"0x2e1a380d6c8091aeaefa9395e74100491ddf95eb245208b169e4d6cc0d734c6e","rollingHash":"0x1a5cd3bad74e276ffa313a3484e54f01"},"messageCount":4}
10:05:45 [10:05:45.270]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
10:05:45 [10:05:45.446]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1eee9e3fe921ec67ff4f97cf9b2dc95d4c60d71a19be610bd71c79768abc1673","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413941325,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:05:45 [10:05:45.447]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0abb006f705e5435eb98d5cfc5de81ec7b113892256bd74be15e86b1e9f73935","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750413941337,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:05:45 [10:05:45.573]
INFO:
archiver Stopped.
10:05:45 [10:05:45.577]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:48 [10:05:48.168]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:05:48 [10:05:48.177]
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":"0x11e3abcdb82c38f7d901d756acab01aca308d8aacb5b1fba89e6417c42c63bc9","rollingHash":"0x46a178137cf00798cec6bd73d991e93a"},"messageCount":2}
10:05:48 [10:05:48.195]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0520630bf335555efece60a879f9fc6601bfec8f81254383872f33d278497977","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
10:05:48 [10:05:48.287]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0f386b1992c6f62ee5e26ea193aa892568c291a345fd7ddd6abeaff88896d2e7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413945588,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:05:48 [10:05:48.288]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x206a9239d8d6adc5779cde6314728273fdd3ecf6081eb31821fd3268c93267fb","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413945600,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:05:48 [10:05:48.377]
INFO:
archiver Stopped.
10:05:48 [10:05:48.378]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:50 [10:05:50.919]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:05:51 [10:05:51.938]
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":"0x14eaa8cffae7f66bad438c721263c970b9a0839deadb83fb3b5d02ea0a46078f","rollingHash":"0x0dc097df0086c8954955b1192c3cfbda"},"messageCount":2}
10:05:52 [10:05:52.052]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x23c0553247852207c5dd1d4940e304eb568be300849f78cd5395ce56c15459da","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413948390,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:05:52 [10:05:52.053]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x087857d276fcfb55da472b0b19d249cc3b9543e510bf8d203f091980cdf595c5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413948402,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:05:52 [10:05:52.139]
INFO:
archiver Stopped.
10:05:52 [10:05:52.142]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:54 [10:05:54.686]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:05:54 [10:05:54.720]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
10:05:54 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:05:54 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:05:54 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:05:54 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:05:54 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:05:54 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:05:54 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:05:55 [10:05:55.727]
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":"0x0976b1cc3980b23059a18fe522881d241b84d4438da8cf7d34f22a8e6561c2db","rollingHash":"0x5219c92b1fb769cd99f9233c2d449f95"},"messageCount":2}
10:05:55 [10:05:55.839]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x08f6bd123e6bfd7258d02a3aa211a1d26fbc585c513ff32912b095db2d86aef8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413952152,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:05:55 [10:05:55.840]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x05f5c422e603deda54a13dfcfc89525284c3489cfb5dbc69badb23b2ffab3987","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413952164,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:05:55 [10:05:55.842]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
10:05:55 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:05:55 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:05:55 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:05:55 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:05:55 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:05:55 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:05:55 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:05:56 [10:05:56.936]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
10:05:56 [10:05:56.938]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
10:05:56 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:05:56 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:05:56 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:05:56 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:05:56 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:05:56 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:05:56 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:05:57 [10:05:57.932]
INFO:
archiver Stopped.
10:05:57 [10:05:57.933]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:58 [10:05:58.192]
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":"0x2a0a46c02201a9e5d9d0976de294cb179469a4f4692a4d9d724d9b5d8119ea73","rollingHash":"0xf46473d1557983ad666315f462e4a098"},"messageCount":6}
10:05:58 [10:05:58.192]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2a0a46c02201a9e5d9d0976de294cb179469a4f4692a4d9d724d9b5d8119ea73","rollingHash":"0xf46473d1557983ad666315f462e4a098"},"remoteMessagesState":{"messagesRollingHash":"0xae162d4202e94d5e56aa3036ed0d5567","totalMessagesInserted":5,"treeInProgress":0}}
10:05:58 [10:05:58.288]
WARN:
archiver:test Reorging L1 to L2 messages
10:05:59 [10:05:59.200]
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":"0x2a0a46c02201a9e5d9d0976de294cb179469a4f4692a4d9d724d9b5d8119ea73","rollingHash":"0xf46473d1557983ad666315f462e4a098"}}
10:05:59 [10:05:59.202]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
10:05:59 [10:05:59.203]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
10:05:59 [10:05:59.214]
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":"0x0e12ba29019d9877ac0cf492ef514cc6ab8592d2798888dc955583bb5cee13b1","rollingHash":"0x145a513a779d85921d7b80084b8e0742"},"messageCount":5}
10:05:59 [10:05:59.297]
INFO:
archiver Stopped.
10:05:59 [10:05:59.299]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:59 [10:05:59.548]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
10:06:00 [10:06:00.302]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:06:00 [10:06:00.358]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x209018e0786cb7dcb4cc4eb7490b374f6edcdf1eb132268a00f07b2dfa6dabc0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413959310,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:06:00 [10:06:00.405]
INFO:
archiver Stopped.
10:06:00 [10:06:00.406]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:00 [10:06:00.657]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
10:06:01 [10:06:01.408]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:06:01 [10:06:01.465]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x001015d4f9e20ee54b3d812a70dc4e3eb67424da50ea926ea78ed03f8d6c4e53","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750413960418,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:06:01 [10:06:01.511]
INFO:
archiver Stopped.
10:06:01 [10:06:01.512]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:01 [10:06:01.764]
INFO:
archiver:test Syncing archiver to L1 block 6
10:06:01 [10:06:01.765]
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":"0xfe41ee63bcafe796d57a9f52687483a4dd1dd87cb0ff41deeb70ec5a0a6cdb00","l1BlockNumber":0}}
10:06:01 [10:06:01.771]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
10:06:01 [10:06:01.773]
INFO:
archiver Stopped.
10:06:01 [10:06:01.774]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:02 [10:06:02.024]
INFO:
archiver:test Syncing archiver to L1 block 7
10:06:02 [10:06:02.025]
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":"0x05b596a81a74c6d6087de536088f244aa054624ae455daf588d0de92d618bdd5","l1BlockNumber":0}}
10:06:02 [10:06:02.031]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
10:06:02 [10:06:02.033]
INFO:
archiver Stopped.
10:06:02 [10:06:02.040]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:02 [10:06:02.292]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
10:06:03 [10:06:03.102]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x25013860e240ab4c33d2baceab15fe9a40f30482a05f5e4a31c69d2fd47130e5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413962046,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:06:03 [10:06:03.105]
INFO:
archiver Stopped.
10:06:03 [10:06:03.106]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:03 [10:06:03.365]
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":"0x02c1a79d0b7653be9e725caa4bb0c37998aba3e18f616d3d0c9d83b933de7797","l1BlockNumber":0}}
10:06:03 [10:06:03.374]
INFO:
archiver Stopped.
10:06:03 [10:06:03.376]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:06 [10:06:06.066]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x181576a909a06729e191b0d05b580b5474529053eebbf3bf1b120521269a1f4b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413963387,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:06:06 [10:06:06.067]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x275256490271737f6222de374304a71f323b458de7233ccbe58b0d79976110ec","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413963399,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:06:07 [10:06:07.171]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
10:06:08 [10:06:08.211]
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
10:06:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:06:08 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:06:08 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:06:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
10:06:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:06:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:06:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:06:08 newBlockNumber: 3,
10:06:08 previousBlockNumber: 1
10:06:08 }
10:06:08 [10:06:08.232]
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":"0x181576a909a06729e191b0d05b580b5474529053eebbf3bf1b120521269a1f4b","newBlockNumber":3,"updatedL1SyncPoint":70}
10:06:08 [10:06:08.232]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
10:06:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:06:08 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:06:08 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:06:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
10:06:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:06:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:06:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:06:08 newBlockNumber: 3,
10:06:08 previousBlockNumber: 1
10:06:08 }
10:06:09 [10:06:09.367]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x275256490271737f6222de374304a71f323b458de7233ccbe58b0d79976110ec","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413963399,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:06:09 [10:06:09.367]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x201cde3f79369fc9dd12a90f46c0ecda37d1a90798eeec900e84a0eb56d05677","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750413963411,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:06:09 [10:06:09.460]
INFO:
archiver Stopped.
10:06:09
PASS src/archiver/archiver.test.ts (
30.55 s)
10:06:09 Archiver
10:06:09
✓ syncs l1 to l2 messages and blocks (4275 ms)
10:06:09
✓ ignores block 3 because it has been pruned (2801 ms)
10:06:09
✓ skip event search if no changes found (3762 ms)
10:06:09
✓ handles L2 reorg (5792 ms)
10:06:09
✓ handles updated messages due to L1 reorg (1364 ms)
10:06:09
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1107 ms)
10:06:09
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1105 ms)
10:06:09
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (262 ms)
10:06:09
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (260 ms)
10:06:09
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1072 ms)
10:06:09
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (269 ms)
10:06:09
✓ handles a block gap due to a spurious L2 prune (6085 ms)
10:06:09
○ skipped handles an upcoming L2 prune
10:06:09
10:06:09
Test Suites: 1 passed, 1 total
10:06:09
Tests: 1 skipped,
12 passed, 13 total
10:06:09
Snapshots: 0 total
10:06:09
Time: 30.624 s
10:06:09
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
10:06:09
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?