@typeberry/jam 0.1.3-0eba10b → 0.1.3-3344df0
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.
- package/bootstrap-importer.mjs +1 -7
- package/bootstrap-importer.mjs.map +1 -1
- package/index.js +1 -7
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -42000,12 +42000,6 @@ class AccumulationStateUpdate {
|
|
|
42000
42000
|
}
|
|
42001
42001
|
return update;
|
|
42002
42002
|
}
|
|
42003
|
-
/** Retrieve and clear pending transfers. */
|
|
42004
|
-
takeTransfers() {
|
|
42005
|
-
const transfers = this.transfers;
|
|
42006
|
-
this.transfers = [];
|
|
42007
|
-
return transfers;
|
|
42008
|
-
}
|
|
42009
42003
|
}
|
|
42010
42004
|
class PartiallyUpdatedState {
|
|
42011
42005
|
state;
|
|
@@ -49804,7 +49798,7 @@ class Accumulate {
|
|
|
49804
49798
|
const accumulateData = new AccumulateData(reportsToAccumulateInParallel, transfers, autoAccumulateServices);
|
|
49805
49799
|
const reportsToAccumulateSequentially = reports.subview(i);
|
|
49806
49800
|
const { gasCost, state: stateAfterParallelAcc, ...rest } = await this.accumulateInParallel(accumulateData, slot, entropy, statistics, stateUpdate);
|
|
49807
|
-
const newTransfers = stateAfterParallelAcc.
|
|
49801
|
+
const newTransfers = stateAfterParallelAcc.transfers;
|
|
49808
49802
|
assertEmpty(rest);
|
|
49809
49803
|
// NOTE [ToDr] recursive invocation
|
|
49810
49804
|
const { accumulatedReports, gasCost: seqGasCost, state, ...seqRest } = await this.accumulateSequentially(tryAsServiceGas(gasLimit - gasCost), reportsToAccumulateSequentially, newTransfers, slot, entropy, statistics, stateAfterParallelAcc, []);
|