Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
perekopskiy committed Jun 17, 2024
1 parent a1fe769 commit 1497321
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ impl<S: WriteStorage, H: HistoryMode> CircuitsTracer<S, H> {
.decommitted_code_hashes
.history();
for (_, history_event) in &history[last_decommitment_history_entry_checked..] {
// We update cycles once per bytecode when it is inserted to `decommitted_code_hashes` first time.
if history_event.value.is_none() {
// We update cycles once per bytecode when it is actually decommitted.
if history_event.value.is_some() {
let bytecode_len = state
.decommittment_processor
.known_bytecodes
Expand Down

0 comments on commit 1497321

Please sign in to comment.