@acala-network/chopsticks-executor 0.6.2 → 0.6.4

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.
@@ -7,9 +7,10 @@
7
7
  export function get_runtime_version(code: any): Promise<any>;
8
8
  /**
9
9
  * @param {any} entries
10
+ * @param {any} trie_version
10
11
  * @returns {Promise<any>}
11
12
  */
12
- export function calculate_state_root(entries: any): Promise<any>;
13
+ export function calculate_state_root(entries: any, trie_version: any): Promise<any>;
13
14
  /**
14
15
  * @param {any} root_trie_hash
15
16
  * @param {any} keys
@@ -216,7 +216,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
216
216
  return real;
217
217
  }
218
218
  function __wbg_adapter_38(arg0, arg1, arg2) {
219
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h57e8f38a95776fdb(arg0, arg1, addHeapObject(arg2));
219
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7f65d30deee6794d(arg0, arg1, addHeapObject(arg2));
220
220
  }
221
221
 
222
222
  /**
@@ -230,10 +230,11 @@ module.exports.get_runtime_version = function(code) {
230
230
 
231
231
  /**
232
232
  * @param {any} entries
233
+ * @param {any} trie_version
233
234
  * @returns {Promise<any>}
234
235
  */
235
- module.exports.calculate_state_root = function(entries) {
236
- const ret = wasm.calculate_state_root(addHeapObject(entries));
236
+ module.exports.calculate_state_root = function(entries, trie_version) {
237
+ const ret = wasm.calculate_state_root(addHeapObject(entries), addHeapObject(trie_version));
237
238
  return takeObject(ret);
238
239
  };
239
240
 
@@ -277,7 +278,7 @@ function handleError(f, args) {
277
278
  }
278
279
  }
279
280
  function __wbg_adapter_90(arg0, arg1, arg2, arg3) {
280
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h4831fdb5a8179a77(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
281
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h59df395a879637b6(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
281
282
  }
282
283
 
283
284
  module.exports.__wbindgen_string_get = function(arg0, arg1) {
@@ -362,20 +363,6 @@ module.exports.__wbg_call_168da88779e35f61 = function() { return handleError(fun
362
363
  return addHeapObject(ret);
363
364
  }, arguments) };
364
365
 
365
- module.exports.__wbg_new_0b9bfdd97583284e = function() {
366
- const ret = new Object();
367
- return addHeapObject(ret);
368
- };
369
-
370
- module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
371
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
372
- };
373
-
374
- module.exports.__wbindgen_number_new = function(arg0) {
375
- const ret = arg0;
376
- return addHeapObject(ret);
377
- };
378
-
379
366
  module.exports.__wbindgen_is_object = function(arg0) {
380
367
  const val = getObject(arg0);
381
368
  const ret = typeof(val) === 'object' && val !== null;
@@ -415,17 +402,31 @@ module.exports.__wbindgen_boolean_get = function(arg0) {
415
402
  return ret;
416
403
  };
417
404
 
418
- module.exports.__wbg_getNextKey_d2c0920259511964 = function(arg0, arg1) {
405
+ module.exports.__wbg_new_0b9bfdd97583284e = function() {
406
+ const ret = new Object();
407
+ return addHeapObject(ret);
408
+ };
409
+
410
+ module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
411
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
412
+ };
413
+
414
+ module.exports.__wbindgen_number_new = function(arg0) {
415
+ const ret = arg0;
416
+ return addHeapObject(ret);
417
+ };
418
+
419
+ module.exports.__wbg_getNextKey_e2271b4d6c26d27c = function(arg0, arg1) {
419
420
  const ret = getObject(arg0).getNextKey(takeObject(arg1));
420
421
  return addHeapObject(ret);
421
422
  };
422
423
 
423
- module.exports.__wbg_getPrefixKeys_3d5cc0a19200ba40 = function(arg0, arg1) {
424
+ module.exports.__wbg_getPrefixKeys_d12be48d1bdfc961 = function(arg0, arg1) {
424
425
  const ret = getObject(arg0).getPrefixKeys(takeObject(arg1));
425
426
  return addHeapObject(ret);
426
427
  };
427
428
 
428
- module.exports.__wbg_getStorage_c022acd49866e5b5 = function(arg0, arg1) {
429
+ module.exports.__wbg_getStorage_7fb906b077140845 = function(arg0, arg1) {
429
430
  const ret = getObject(arg0).getStorage(takeObject(arg1));
430
431
  return addHeapObject(ret);
431
432
  };
@@ -586,8 +587,8 @@ module.exports.__wbg_then_11f7a54d67b4bfad = function(arg0, arg1) {
586
587
  return addHeapObject(ret);
587
588
  };
588
589
 
589
- module.exports.__wbindgen_closure_wrapper1299 = function(arg0, arg1, arg2) {
590
- const ret = makeMutClosure(arg0, arg1, 132, __wbg_adapter_38);
590
+ module.exports.__wbindgen_closure_wrapper1272 = function(arg0, arg1, arg2) {
591
+ const ret = makeMutClosure(arg0, arg1, 127, __wbg_adapter_38);
591
592
  return addHeapObject(ret);
592
593
  };
593
594
 
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@acala-network/chopsticks-executor",
3
3
  "description": "Chopsticks executor",
4
- "version": "0.6.2",
4
+ "version": "0.6.4",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",