diff --git a/zkevm-circuits/src/evm_circuit.rs b/zkevm-circuits/src/evm_circuit.rs index 0c36dfe4e1..7afff29d6d 100644 --- a/zkevm-circuits/src/evm_circuit.rs +++ b/zkevm-circuits/src/evm_circuit.rs @@ -476,9 +476,20 @@ mod evm_circuit_stats { #[test] fn evm_circuit_unusable_rows() { + let computed = EvmCircuit::::unusable_rows(); + let mainnet_config = FeatureConfig::default(); + let invalid_tx_config = FeatureConfig { + invalid_tx: true, + ..Default::default() + }; + + assert_eq!( + computed, + unusable_rows::>(mainnet_config), + ); assert_eq!( - EvmCircuit::::unusable_rows(), - unusable_rows::>(FeatureConfig::default()), + computed, + unusable_rows::>(invalid_tx_config), ) }