diff --git a/core/lib/multivm/src/versions/vm_latest/old_vm/oracles/decommitter.rs b/core/lib/multivm/src/versions/vm_latest/old_vm/oracles/decommitter.rs index 7c7dc6995d14..f5cd38779217 100644 --- a/core/lib/multivm/src/versions/vm_latest/old_vm/oracles/decommitter.rs +++ b/core/lib/multivm/src/versions/vm_latest/old_vm/oracles/decommitter.rs @@ -180,8 +180,15 @@ impl DecommittmentProcess Ok(partial_query) } else { partial_query.is_fresh = true; - self.decommitted_code_hashes - .insert(stored_hash, None, partial_query.timestamp); + if self + .decommitted_code_hashes + .inner() + .get(&stored_hash) + .is_none() + { + self.decommitted_code_hashes + .insert(stored_hash, None, partial_query.timestamp); + } Ok(partial_query) }