@aztec/world-state 0.79.0 → 0.81.0

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.
@@ -165,7 +165,7 @@ import { WorldStateInstrumentation } from '../instrumentation/instrumentation.js
165
165
  try {
166
166
  switch(event.type){
167
167
  case 'blocks-added':
168
- await this.handleL2Blocks(event.blocks);
168
+ await this.handleL2Blocks(event.blocks.map((b)=>b.block));
169
169
  break;
170
170
  case 'chain-pruned':
171
171
  await this.handleChainPruned(event.blockNumber);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/world-state",
3
- "version": "0.79.0",
3
+ "version": "0.81.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js",
@@ -62,19 +62,19 @@
62
62
  ]
63
63
  },
64
64
  "dependencies": {
65
- "@aztec/constants": "0.79.0",
66
- "@aztec/foundation": "0.79.0",
67
- "@aztec/kv-store": "0.79.0",
68
- "@aztec/merkle-tree": "0.79.0",
69
- "@aztec/native": "0.79.0",
70
- "@aztec/protocol-contracts": "0.79.0",
71
- "@aztec/stdlib": "0.79.0",
72
- "@aztec/telemetry-client": "0.79.0",
65
+ "@aztec/constants": "0.81.0",
66
+ "@aztec/foundation": "0.81.0",
67
+ "@aztec/kv-store": "0.81.0",
68
+ "@aztec/merkle-tree": "0.81.0",
69
+ "@aztec/native": "0.81.0",
70
+ "@aztec/protocol-contracts": "0.81.0",
71
+ "@aztec/stdlib": "0.81.0",
72
+ "@aztec/telemetry-client": "0.81.0",
73
73
  "tslib": "^2.4.0",
74
74
  "zod": "^3.23.8"
75
75
  },
76
76
  "devDependencies": {
77
- "@aztec/archiver": "0.79.0",
77
+ "@aztec/archiver": "0.81.0",
78
78
  "@jest/globals": "^29.5.0",
79
79
  "@types/jest": "^29.5.0",
80
80
  "@types/levelup": "^5.1.2",
@@ -210,7 +210,7 @@ export class ServerWorldStateSynchronizer
210
210
  try {
211
211
  switch (event.type) {
212
212
  case 'blocks-added':
213
- await this.handleL2Blocks(event.blocks);
213
+ await this.handleL2Blocks(event.blocks.map(b => b.block));
214
214
  break;
215
215
  case 'chain-pruned':
216
216
  await this.handleChainPruned(event.blockNumber);