Skip to content

Commit

Permalink
fix(processor): change bootstrap order to ensure state is updated fir…
Browse files Browse the repository at this point in the history
…st (#729)

* update state store first on commit

* empty commit
  • Loading branch information
oXtxNt9U authored Oct 14, 2024
1 parent 5433934 commit e806876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/processor/source/block-processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ export class BlockProcessor implements Contracts.Processor.BlockProcessor {
}
}

await this.stateStore.onCommit(unit);
await this.evm.onCommit(unit);
await this.validatorSet.onCommit(unit);
await this.proposerSelector.onCommit(unit);
await this.stateStore.onCommit(unit);
await this.txPoolWorker.onCommit(unit);
await this.evmWorker.onCommit(unit);

Expand Down

0 comments on commit e806876

Please sign in to comment.