@acala-network/chopsticks-executor 0.9.0 → 0.9.1-1

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.
@@ -27,7 +27,7 @@ export function create_proof(nodes: any, entries: any): Promise<any>;
27
27
  /**
28
28
  * @param {any} task
29
29
  * @param {JsCallback} js
30
- * @param {string | undefined} log_level
30
+ * @param {string | undefined} [log_level]
31
31
  * @returns {Promise<any>}
32
32
  */
33
33
  export function run_task(task: any, js: JsCallback, log_level?: string): Promise<any>;
@@ -1,7 +1,7 @@
1
1
  let imports = {};
2
2
  imports['__wbindgen_placeholder__'] = module.exports;
3
3
  let wasm;
4
- const { TextEncoder, TextDecoder } = require(`util`);
4
+ const { TextDecoder, TextEncoder } = require(`util`);
5
5
 
6
6
  const heap = new Array(128).fill(undefined);
7
7
 
@@ -9,7 +9,23 @@ heap.push(undefined, null, true, false);
9
9
 
10
10
  function getObject(idx) { return heap[idx]; }
11
11
 
12
- let WASM_VECTOR_LEN = 0;
12
+ let heap_next = heap.length;
13
+
14
+ function dropObject(idx) {
15
+ if (idx < 132) return;
16
+ heap[idx] = heap_next;
17
+ heap_next = idx;
18
+ }
19
+
20
+ function takeObject(idx) {
21
+ const ret = getObject(idx);
22
+ dropObject(idx);
23
+ return ret;
24
+ }
25
+
26
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
27
+
28
+ cachedTextDecoder.decode();
13
29
 
14
30
  let cachedUint8Memory0 = null;
15
31
 
@@ -20,6 +36,44 @@ function getUint8Memory0() {
20
36
  return cachedUint8Memory0;
21
37
  }
22
38
 
39
+ function getStringFromWasm0(ptr, len) {
40
+ ptr = ptr >>> 0;
41
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
42
+ }
43
+
44
+ function addHeapObject(obj) {
45
+ if (heap_next === heap.length) heap.push(heap.length + 1);
46
+ const idx = heap_next;
47
+ heap_next = heap[idx];
48
+
49
+ heap[idx] = obj;
50
+ return idx;
51
+ }
52
+
53
+ function isLikeNone(x) {
54
+ return x === undefined || x === null;
55
+ }
56
+
57
+ let cachedFloat64Memory0 = null;
58
+
59
+ function getFloat64Memory0() {
60
+ if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
61
+ cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
62
+ }
63
+ return cachedFloat64Memory0;
64
+ }
65
+
66
+ let cachedInt32Memory0 = null;
67
+
68
+ function getInt32Memory0() {
69
+ if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
70
+ cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
71
+ }
72
+ return cachedInt32Memory0;
73
+ }
74
+
75
+ let WASM_VECTOR_LEN = 0;
76
+
23
77
  let cachedTextEncoder = new TextEncoder('utf-8');
24
78
 
25
79
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -73,60 +127,6 @@ function passStringToWasm0(arg, malloc, realloc) {
73
127
  return ptr;
74
128
  }
75
129
 
76
- function isLikeNone(x) {
77
- return x === undefined || x === null;
78
- }
79
-
80
- let cachedInt32Memory0 = null;
81
-
82
- function getInt32Memory0() {
83
- if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
84
- cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
85
- }
86
- return cachedInt32Memory0;
87
- }
88
-
89
- let heap_next = heap.length;
90
-
91
- function dropObject(idx) {
92
- if (idx < 132) return;
93
- heap[idx] = heap_next;
94
- heap_next = idx;
95
- }
96
-
97
- function takeObject(idx) {
98
- const ret = getObject(idx);
99
- dropObject(idx);
100
- return ret;
101
- }
102
-
103
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
104
-
105
- cachedTextDecoder.decode();
106
-
107
- function getStringFromWasm0(ptr, len) {
108
- ptr = ptr >>> 0;
109
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
110
- }
111
-
112
- function addHeapObject(obj) {
113
- if (heap_next === heap.length) heap.push(heap.length + 1);
114
- const idx = heap_next;
115
- heap_next = heap[idx];
116
-
117
- heap[idx] = obj;
118
- return idx;
119
- }
120
-
121
- let cachedFloat64Memory0 = null;
122
-
123
- function getFloat64Memory0() {
124
- if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
125
- cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
126
- }
127
- return cachedFloat64Memory0;
128
- }
129
-
130
130
  let cachedBigInt64Memory0 = null;
131
131
 
132
132
  function getBigInt64Memory0() {
@@ -226,7 +226,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
226
226
  return real;
227
227
  }
228
228
  function __wbg_adapter_46(arg0, arg1, arg2) {
229
- wasm.wasm_bindgen__convert__closures__invoke1_mut__hc4c3186ceda303d2(arg0, arg1, addHeapObject(arg2));
229
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__h84425a3baffea565(arg0, arg1, addHeapObject(arg2));
230
230
  }
231
231
 
232
232
  /**
@@ -272,7 +272,7 @@ module.exports.create_proof = function(nodes, entries) {
272
272
  /**
273
273
  * @param {any} task
274
274
  * @param {JsCallback} js
275
- * @param {string | undefined} log_level
275
+ * @param {string | undefined} [log_level]
276
276
  * @returns {Promise<any>}
277
277
  */
278
278
  module.exports.run_task = function(task, js, log_level) {
@@ -289,88 +289,62 @@ function handleError(f, args) {
289
289
  wasm.__wbindgen_exn_store(addHeapObject(e));
290
290
  }
291
291
  }
292
- function __wbg_adapter_106(arg0, arg1, arg2, arg3) {
293
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h2cd630d2c4a26d29(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
292
+ function __wbg_adapter_108(arg0, arg1, arg2, arg3) {
293
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h59e4ab6c95dba127(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
294
294
  }
295
295
 
296
- module.exports.__wbindgen_string_get = function(arg0, arg1) {
297
- const obj = getObject(arg1);
298
- const ret = typeof(obj) === 'string' ? obj : undefined;
299
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
300
- var len1 = WASM_VECTOR_LEN;
301
- getInt32Memory0()[arg0 / 4 + 1] = len1;
302
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
303
- };
304
-
305
- module.exports.__wbindgen_object_drop_ref = function(arg0) {
306
- takeObject(arg0);
307
- };
308
-
309
- module.exports.__wbindgen_error_new = function(arg0, arg1) {
310
- const ret = new Error(getStringFromWasm0(arg0, arg1));
311
- return addHeapObject(ret);
312
- };
313
-
314
- module.exports.__wbindgen_string_new = function(arg0, arg1) {
315
- const ret = getStringFromWasm0(arg0, arg1);
316
- return addHeapObject(ret);
317
- };
318
-
319
- module.exports.__wbg_call_01734de55d61e11d = function() { return handleError(function (arg0, arg1, arg2) {
320
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
321
- return addHeapObject(ret);
322
- }, arguments) };
323
-
324
- module.exports.__wbg_isArray_4c24b343cb13cfb1 = function(arg0) {
296
+ module.exports.__wbg_isArray_38525be7442aa21e = function(arg0) {
325
297
  const ret = Array.isArray(getObject(arg0));
326
298
  return ret;
327
299
  };
328
300
 
329
- module.exports.__wbg_length_fff51ee6522a1a18 = function(arg0) {
301
+ module.exports.__wbg_length_cace2e0b3ddc0502 = function(arg0) {
330
302
  const ret = getObject(arg0).length;
331
303
  return ret;
332
304
  };
333
305
 
334
- module.exports.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
306
+ module.exports.__wbg_get_4a9aa5157afeb382 = function(arg0, arg1) {
335
307
  const ret = getObject(arg0)[arg1 >>> 0];
336
308
  return addHeapObject(ret);
337
309
  };
338
310
 
339
- module.exports.__wbg_next_ddb3312ca1c4e32a = function() { return handleError(function (arg0) {
311
+ module.exports.__wbg_next_1989a20442400aaa = function() { return handleError(function (arg0) {
340
312
  const ret = getObject(arg0).next();
341
313
  return addHeapObject(ret);
342
314
  }, arguments) };
343
315
 
344
- module.exports.__wbg_done_5c1f01fb660d73b5 = function(arg0) {
316
+ module.exports.__wbg_done_bc26bf4ada718266 = function(arg0) {
345
317
  const ret = getObject(arg0).done;
346
318
  return ret;
347
319
  };
348
320
 
349
- module.exports.__wbg_value_1695675138684bd5 = function(arg0) {
321
+ module.exports.__wbg_value_0570714ff7d75f35 = function(arg0) {
350
322
  const ret = getObject(arg0).value;
351
323
  return addHeapObject(ret);
352
324
  };
353
325
 
354
- module.exports.__wbg_new_898a68150f225f2e = function() {
326
+ module.exports.__wbindgen_object_drop_ref = function(arg0) {
327
+ takeObject(arg0);
328
+ };
329
+
330
+ module.exports.__wbg_new_08236689f0afb357 = function() {
355
331
  const ret = new Array();
356
332
  return addHeapObject(ret);
357
333
  };
358
334
 
359
- module.exports.__wbg_set_502d29070ea18557 = function(arg0, arg1, arg2) {
360
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
335
+ module.exports.__wbindgen_string_new = function(arg0, arg1) {
336
+ const ret = getStringFromWasm0(arg0, arg1);
337
+ return addHeapObject(ret);
361
338
  };
362
339
 
363
- module.exports.__wbindgen_number_get = function(arg0, arg1) {
364
- const obj = getObject(arg1);
365
- const ret = typeof(obj) === 'number' ? obj : undefined;
366
- getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
367
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
340
+ module.exports.__wbg_set_0ac78a2bc07da03c = function(arg0, arg1, arg2) {
341
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
368
342
  };
369
343
 
370
- module.exports.__wbg_isSafeInteger_bb8e18dd21c97288 = function(arg0) {
371
- const ret = Number.isSafeInteger(getObject(arg0));
372
- return ret;
373
- };
344
+ module.exports.__wbg_call_53fc3abd42e24ec8 = function() { return handleError(function (arg0, arg1, arg2) {
345
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
346
+ return addHeapObject(ret);
347
+ }, arguments) };
374
348
 
375
349
  module.exports.__wbindgen_is_object = function(arg0) {
376
350
  const val = getObject(arg0);
@@ -399,7 +373,19 @@ module.exports.__wbindgen_boolean_get = function(arg0) {
399
373
  return ret;
400
374
  };
401
375
 
402
- module.exports.__wbg_new_b51585de1b234aff = function() {
376
+ module.exports.__wbindgen_number_get = function(arg0, arg1) {
377
+ const obj = getObject(arg1);
378
+ const ret = typeof(obj) === 'number' ? obj : undefined;
379
+ getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
380
+ getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
381
+ };
382
+
383
+ module.exports.__wbg_isSafeInteger_c38b0a16d0c7cef7 = function(arg0) {
384
+ const ret = Number.isSafeInteger(getObject(arg0));
385
+ return ret;
386
+ };
387
+
388
+ module.exports.__wbg_new_c728d68b8b34487e = function() {
403
389
  const ret = new Object();
404
390
  return addHeapObject(ret);
405
391
  };
@@ -413,6 +399,20 @@ module.exports.__wbindgen_number_new = function(arg0) {
413
399
  return addHeapObject(ret);
414
400
  };
415
401
 
402
+ module.exports.__wbindgen_string_get = function(arg0, arg1) {
403
+ const obj = getObject(arg1);
404
+ const ret = typeof(obj) === 'string' ? obj : undefined;
405
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
406
+ var len1 = WASM_VECTOR_LEN;
407
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
408
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
409
+ };
410
+
411
+ module.exports.__wbindgen_error_new = function(arg0, arg1) {
412
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
413
+ return addHeapObject(ret);
414
+ };
415
+
416
416
  module.exports.__wbindgen_cb_drop = function(arg0) {
417
417
  const obj = takeObject(arg0).original;
418
418
  if (obj.cnt-- == 1) {
@@ -441,37 +441,37 @@ module.exports.__wbg_String_88810dfeb4021902 = function(arg0, arg1) {
441
441
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
442
442
  };
443
443
 
444
- module.exports.__wbg_getStorage_6974cdd7892263c1 = function(arg0, arg1) {
444
+ module.exports.__wbg_getStorage_ea0119cf5c7612c8 = function(arg0, arg1) {
445
445
  const ret = getObject(arg0).getStorage(takeObject(arg1));
446
446
  return addHeapObject(ret);
447
447
  };
448
448
 
449
- module.exports.__wbg_getStateRoot_a468c1d55c877d65 = function(arg0) {
449
+ module.exports.__wbg_getStateRoot_2756975e58be65b1 = function(arg0) {
450
450
  const ret = getObject(arg0).getStateRoot();
451
451
  return addHeapObject(ret);
452
452
  };
453
453
 
454
- module.exports.__wbg_getNextKey_92edc7fa30785932 = function(arg0, arg1, arg2) {
454
+ module.exports.__wbg_getNextKey_8b926c1fdde961b1 = function(arg0, arg1, arg2) {
455
455
  const ret = getObject(arg0).getNextKey(takeObject(arg1), takeObject(arg2));
456
456
  return addHeapObject(ret);
457
457
  };
458
458
 
459
- module.exports.__wbg_offchainGetStorage_1c2f03d5e5e9fa36 = function(arg0, arg1) {
459
+ module.exports.__wbg_offchainGetStorage_304817641b6cf8fd = function(arg0, arg1) {
460
460
  const ret = getObject(arg0).offchainGetStorage(takeObject(arg1));
461
461
  return addHeapObject(ret);
462
462
  };
463
463
 
464
- module.exports.__wbg_offchainTimestamp_8118f1e9e0dd2341 = function(arg0) {
464
+ module.exports.__wbg_offchainTimestamp_8aa7e8ff255567d5 = function(arg0) {
465
465
  const ret = getObject(arg0).offchainTimestamp();
466
466
  return addHeapObject(ret);
467
467
  };
468
468
 
469
- module.exports.__wbg_offchainRandomSeed_46c2079786567355 = function(arg0) {
469
+ module.exports.__wbg_offchainRandomSeed_a333792055e7366b = function(arg0) {
470
470
  const ret = getObject(arg0).offchainRandomSeed();
471
471
  return addHeapObject(ret);
472
472
  };
473
473
 
474
- module.exports.__wbg_offchainSubmitTransaction_4f91031b0db383a7 = function(arg0, arg1) {
474
+ module.exports.__wbg_offchainSubmitTransaction_69073e0088e2866a = function(arg0, arg1) {
475
475
  const ret = getObject(arg0).offchainSubmitTransaction(takeObject(arg1));
476
476
  return addHeapObject(ret);
477
477
  };
@@ -498,14 +498,14 @@ module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
498
498
  return ret;
499
499
  };
500
500
 
501
- module.exports.__wbg_new_43f1b47c28813cbd = function(arg0, arg1) {
501
+ module.exports.__wbg_new_feb65b865d980ae2 = function(arg0, arg1) {
502
502
  try {
503
503
  var state0 = {a: arg0, b: arg1};
504
504
  var cb0 = (arg0, arg1) => {
505
505
  const a = state0.a;
506
506
  state0.a = 0;
507
507
  try {
508
- return __wbg_adapter_106(a, state0.b, arg0, arg1);
508
+ return __wbg_adapter_108(a, state0.b, arg0, arg1);
509
509
  } finally {
510
510
  state0.a = a;
511
511
  }
@@ -542,12 +542,12 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
542
542
  }
543
543
  };
544
544
 
545
- module.exports.__wbg_iterator_97f0c81209c6c35a = function() {
545
+ module.exports.__wbg_iterator_7ee1a391d310f8e4 = function() {
546
546
  const ret = Symbol.iterator;
547
547
  return addHeapObject(ret);
548
548
  };
549
549
 
550
- module.exports.__wbg_get_97b561fb56f034b5 = function() { return handleError(function (arg0, arg1) {
550
+ module.exports.__wbg_get_2aff440840bb6202 = function() { return handleError(function (arg0, arg1) {
551
551
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
552
552
  return addHeapObject(ret);
553
553
  }, arguments) };
@@ -557,17 +557,17 @@ module.exports.__wbindgen_is_function = function(arg0) {
557
557
  return ret;
558
558
  };
559
559
 
560
- module.exports.__wbg_call_cb65541d95d71282 = function() { return handleError(function (arg0, arg1) {
560
+ module.exports.__wbg_call_669127b9d730c650 = function() { return handleError(function (arg0, arg1) {
561
561
  const ret = getObject(arg0).call(getObject(arg1));
562
562
  return addHeapObject(ret);
563
563
  }, arguments) };
564
564
 
565
- module.exports.__wbg_next_526fc47e980da008 = function(arg0) {
565
+ module.exports.__wbg_next_15da6a3df9290720 = function(arg0) {
566
566
  const ret = getObject(arg0).next;
567
567
  return addHeapObject(ret);
568
568
  };
569
569
 
570
- module.exports.__wbg_length_72e2208bbc0efc61 = function(arg0) {
570
+ module.exports.__wbg_length_a5587d6cd79ab197 = function(arg0) {
571
571
  const ret = getObject(arg0).length;
572
572
  return ret;
573
573
  };
@@ -577,36 +577,36 @@ module.exports.__wbindgen_memory = function() {
577
577
  return addHeapObject(ret);
578
578
  };
579
579
 
580
- module.exports.__wbg_buffer_085ec1f694018c4f = function(arg0) {
580
+ module.exports.__wbg_buffer_344d9b41efe96da7 = function(arg0) {
581
581
  const ret = getObject(arg0).buffer;
582
582
  return addHeapObject(ret);
583
583
  };
584
584
 
585
- module.exports.__wbg_new_8125e318e6245eed = function(arg0) {
585
+ module.exports.__wbg_new_d8a000788389a31e = function(arg0) {
586
586
  const ret = new Uint8Array(getObject(arg0));
587
587
  return addHeapObject(ret);
588
588
  };
589
589
 
590
- module.exports.__wbg_set_5cf90238115182c3 = function(arg0, arg1, arg2) {
590
+ module.exports.__wbg_set_dcfd613a3420f908 = function(arg0, arg1, arg2) {
591
591
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
592
592
  };
593
593
 
594
- module.exports.__wbg_instanceof_Uint8Array_d8d9cb2b8e8ac1d4 = function(arg0) {
594
+ module.exports.__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1 = function(arg0) {
595
595
  let result;
596
596
  try {
597
597
  result = getObject(arg0) instanceof Uint8Array;
598
- } catch {
598
+ } catch (_) {
599
599
  result = false;
600
600
  }
601
601
  const ret = result;
602
602
  return ret;
603
603
  };
604
604
 
605
- module.exports.__wbg_instanceof_ArrayBuffer_39ac22089b74fddb = function(arg0) {
605
+ module.exports.__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d = function(arg0) {
606
606
  let result;
607
607
  try {
608
608
  result = getObject(arg0) instanceof ArrayBuffer;
609
- } catch {
609
+ } catch (_) {
610
610
  result = false;
611
611
  }
612
612
  const ret = result;
@@ -630,43 +630,77 @@ module.exports.__wbindgen_throw = function(arg0, arg1) {
630
630
  throw new Error(getStringFromWasm0(arg0, arg1));
631
631
  };
632
632
 
633
- module.exports.__wbg_then_b2267541e2a73865 = function(arg0, arg1, arg2) {
633
+ module.exports.__wbg_then_1bbc9edafd859b06 = function(arg0, arg1, arg2) {
634
634
  const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
635
635
  return addHeapObject(ret);
636
636
  };
637
637
 
638
- module.exports.__wbg_resolve_53698b95aaf7fcf8 = function(arg0) {
638
+ module.exports.__wbg_self_3fad056edded10bd = function() { return handleError(function () {
639
+ const ret = self.self;
640
+ return addHeapObject(ret);
641
+ }, arguments) };
642
+
643
+ module.exports.__wbg_window_a4f46c98a61d4089 = function() { return handleError(function () {
644
+ const ret = window.window;
645
+ return addHeapObject(ret);
646
+ }, arguments) };
647
+
648
+ module.exports.__wbg_globalThis_17eff828815f7d84 = function() { return handleError(function () {
649
+ const ret = globalThis.globalThis;
650
+ return addHeapObject(ret);
651
+ }, arguments) };
652
+
653
+ module.exports.__wbg_global_46f939f6541643c5 = function() { return handleError(function () {
654
+ const ret = global.global;
655
+ return addHeapObject(ret);
656
+ }, arguments) };
657
+
658
+ module.exports.__wbg_newnoargs_ccdcae30fd002262 = function(arg0, arg1) {
659
+ const ret = new Function(getStringFromWasm0(arg0, arg1));
660
+ return addHeapObject(ret);
661
+ };
662
+
663
+ module.exports.__wbg_queueMicrotask_2be8b97a81fe4d00 = function(arg0) {
664
+ const ret = getObject(arg0).queueMicrotask;
665
+ return addHeapObject(ret);
666
+ };
667
+
668
+ module.exports.__wbg_resolve_a3252b2860f0a09e = function(arg0) {
639
669
  const ret = Promise.resolve(getObject(arg0));
640
670
  return addHeapObject(ret);
641
671
  };
642
672
 
643
- module.exports.__wbg_then_f7e06ee3c11698eb = function(arg0, arg1) {
673
+ module.exports.__wbg_then_89e1c559530b85cf = function(arg0, arg1) {
644
674
  const ret = getObject(arg0).then(getObject(arg1));
645
675
  return addHeapObject(ret);
646
676
  };
647
677
 
648
- module.exports.__wbg_debug_9a6b3243fbbebb61 = function(arg0) {
678
+ module.exports.__wbg_queueMicrotask_e5949c35d772a669 = function(arg0) {
679
+ queueMicrotask(getObject(arg0));
680
+ };
681
+
682
+ module.exports.__wbg_debug_2ef5d777cf4811fa = function(arg0) {
649
683
  console.debug(getObject(arg0));
650
684
  };
651
685
 
652
- module.exports.__wbg_error_788ae33f81d3b84b = function(arg0) {
686
+ module.exports.__wbg_error_f0a6627f4b23c19d = function(arg0) {
653
687
  console.error(getObject(arg0));
654
688
  };
655
689
 
656
- module.exports.__wbg_info_2e30e8204b29d91d = function(arg0) {
690
+ module.exports.__wbg_info_3ca7870690403fee = function(arg0) {
657
691
  console.info(getObject(arg0));
658
692
  };
659
693
 
660
- module.exports.__wbg_log_1d3ae0273d8f4f8a = function(arg0) {
694
+ module.exports.__wbg_log_7811587c4c6d2844 = function(arg0) {
661
695
  console.log(getObject(arg0));
662
696
  };
663
697
 
664
- module.exports.__wbg_warn_d60e832f9882c1b2 = function(arg0) {
698
+ module.exports.__wbg_warn_4affe1093892a4ef = function(arg0) {
665
699
  console.warn(getObject(arg0));
666
700
  };
667
701
 
668
- module.exports.__wbindgen_closure_wrapper1325 = function(arg0, arg1, arg2) {
669
- const ret = makeMutClosure(arg0, arg1, 124, __wbg_adapter_46);
702
+ module.exports.__wbindgen_closure_wrapper1333 = function(arg0, arg1, arg2) {
703
+ const ret = makeMutClosure(arg0, arg1, 122, __wbg_adapter_46);
670
704
  return addHeapObject(ret);
671
705
  };
672
706
 
Binary file
@@ -9,7 +9,7 @@ export function run_task(a: number, b: number, c: number, d: number): number;
9
9
  export function __wbindgen_malloc(a: number, b: number): number;
10
10
  export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
11
11
  export const __wbindgen_export_2: WebAssembly.Table;
12
- export function wasm_bindgen__convert__closures__invoke1_mut__hc4c3186ceda303d2(a: number, b: number, c: number): void;
12
+ export function wasm_bindgen__convert__closures__invoke1_mut__h84425a3baffea565(a: number, b: number, c: number): void;
13
13
  export function __wbindgen_free(a: number, b: number, c: number): void;
14
14
  export function __wbindgen_exn_store(a: number): void;
15
- export function wasm_bindgen__convert__closures__invoke2_mut__h2cd630d2c4a26d29(a: number, b: number, c: number, d: number): void;
15
+ export function wasm_bindgen__convert__closures__invoke2_mut__h59e4ab6c95dba127(a: number, b: number, c: number, d: number): void;
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.9.0",
4
+ "version": "0.9.1-1",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",