Skip to content

Commit aed5523

Browse files
blockifier: remove duplicated assertion in the bouncer (#7822)
1 parent f305794 commit aed5523

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

crates/blockifier/src/bouncer.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -531,20 +531,6 @@ impl Bouncer {
531531
&self.bouncer_config.builtin_weights,
532532
)?;
533533

534-
assert_eq!(
535-
tx_weights
536-
.casm_hash_computation_data_sierra_gas
537-
.class_hash_to_casm_hash_computation_gas
538-
.keys()
539-
.collect::<HashSet<_>>(),
540-
tx_weights
541-
.casm_hash_computation_data_proving_gas
542-
.class_hash_to_casm_hash_computation_gas
543-
.keys()
544-
.collect::<HashSet<_>>(),
545-
"Sierra and proving gas data should have the same class hashes."
546-
);
547-
548534
let tx_bouncer_weights = tx_weights.bouncer_weights;
549535

550536
// Check if the transaction can fit the current block available capacity.

0 commit comments

Comments
 (0)