Skip to content

Commit ae0054a

Browse files
authored
Merge branch 'Conflux-Chain:master' into dev
2 parents 003e3a1 + 7c5979d commit ae0054a

File tree

1 file changed

+7
-1
lines changed
  • crates/cfxcore/core/src/consensus/consensus_inner/consensus_executor

1 file changed

+7
-1
lines changed

crates/cfxcore/core/src/consensus/consensus_inner/consensus_executor/mod.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,13 @@ impl ConsensusExecutor {
505505
// the lock, there might be a checkpoint coming in to break
506506
// index
507507
for state_block_hash in waiting_blocks {
508-
self.wait_for_result(state_block_hash)?;
508+
let commitment = self.wait_for_result(state_block_hash)?;
509+
self.handler.data_man.insert_epoch_execution_commitment(
510+
state_block_hash,
511+
commitment.state_root_with_aux_info,
512+
commitment.receipts_root,
513+
commitment.logs_bloom_hash,
514+
);
509515
}
510516
// Now we need to wait for the execution information of all missing
511517
// blocks to come back

0 commit comments

Comments
 (0)