@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/bootstrap-importer.mjs
CHANGED
|
@@ -15151,12 +15151,6 @@ class AccumulationStateUpdate {
|
|
|
15151
15151
|
}
|
|
15152
15152
|
return update;
|
|
15153
15153
|
}
|
|
15154
|
-
/** Retrieve and clear pending transfers. */
|
|
15155
|
-
takeTransfers() {
|
|
15156
|
-
const transfers = this.transfers;
|
|
15157
|
-
this.transfers = [];
|
|
15158
|
-
return transfers;
|
|
15159
|
-
}
|
|
15160
15154
|
}
|
|
15161
15155
|
class PartiallyUpdatedState {
|
|
15162
15156
|
state;
|
|
@@ -22955,7 +22949,7 @@ class Accumulate {
|
|
|
22955
22949
|
const accumulateData = new AccumulateData(reportsToAccumulateInParallel, transfers, autoAccumulateServices);
|
|
22956
22950
|
const reportsToAccumulateSequentially = reports.subview(i);
|
|
22957
22951
|
const { gasCost, state: stateAfterParallelAcc, ...rest } = await this.accumulateInParallel(accumulateData, slot, entropy, statistics, stateUpdate);
|
|
22958
|
-
const newTransfers = stateAfterParallelAcc.
|
|
22952
|
+
const newTransfers = stateAfterParallelAcc.transfers;
|
|
22959
22953
|
assertEmpty(rest);
|
|
22960
22954
|
// NOTE [ToDr] recursive invocation
|
|
22961
22955
|
const { accumulatedReports, gasCost: seqGasCost, state, ...seqRest } = await this.accumulateSequentially(tryAsServiceGas(gasLimit - gasCost), reportsToAccumulateSequentially, newTransfers, slot, entropy, statistics, stateAfterParallelAcc, []);
|