@aztec/kv-store 3.0.0-nightly.20250917 → 3.0.0-nightly.20250918
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
{
|
|
45
45
|
const blocks = event.blocks.map((b)=>b.block);
|
|
46
46
|
for (const block of blocks){
|
|
47
|
-
await this.l2BlockHashesStore.set(block.number, (await block.
|
|
47
|
+
await this.l2BlockHashesStore.set(block.number, (await block.hash()).toString());
|
|
48
48
|
}
|
|
49
49
|
await this.l2TipsStore.set('latest', blocks.at(-1).number);
|
|
50
50
|
break;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/kv-store",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.20250918",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/interfaces/index.js",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"./package.local.json"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
28
|
-
"@aztec/foundation": "3.0.0-nightly.
|
|
29
|
-
"@aztec/native": "3.0.0-nightly.
|
|
30
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
27
|
+
"@aztec/ethereum": "3.0.0-nightly.20250918",
|
|
28
|
+
"@aztec/foundation": "3.0.0-nightly.20250918",
|
|
29
|
+
"@aztec/native": "3.0.0-nightly.20250918",
|
|
30
|
+
"@aztec/stdlib": "3.0.0-nightly.20250918",
|
|
31
31
|
"idb": "^8.0.0",
|
|
32
32
|
"lmdb": "^3.2.0",
|
|
33
33
|
"msgpackr": "^1.11.2",
|
|
@@ -50,7 +50,7 @@ export class L2TipsKVStore implements L2BlockStreamEventHandler, L2BlockStreamLo
|
|
|
50
50
|
case 'blocks-added': {
|
|
51
51
|
const blocks = event.blocks.map(b => b.block);
|
|
52
52
|
for (const block of blocks) {
|
|
53
|
-
await this.l2BlockHashesStore.set(block.number, (await block.
|
|
53
|
+
await this.l2BlockHashesStore.set(block.number, (await block.hash()).toString());
|
|
54
54
|
}
|
|
55
55
|
await this.l2TipsStore.set('latest', blocks.at(-1)!.number);
|
|
56
56
|
break;
|