Skip to content

Commit 2ce126a

Browse files
committed
is_precompiled include p256
1 parent 8cac694 commit 2ce126a

File tree

1 file changed

+2
-0
lines changed
  • zkevm-circuits/src/evm_circuit

1 file changed

+2
-0
lines changed

zkevm-circuits/src/evm_circuit/step.rs

+2
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ impl ExecutionState {
179179
| Self::PrecompileBlake2f
180180
| Self::ErrorOutOfGasPrecompile
181181
| Self::ErrorPrecompileFailed
182+
| Self::PrecompileP256Verify
182183
)
183184
}
184185

@@ -193,6 +194,7 @@ impl ExecutionState {
193194
Self::PrecompileBn256ScalarMul => PrecompileCalls::Bn128Mul,
194195
Self::PrecompileBn256Pairing => PrecompileCalls::Bn128Pairing,
195196
Self::PrecompileBlake2f => PrecompileCalls::Blake2F,
197+
Self::PrecompileP256Verify => PrecompileCalls::P256Verify,
196198
_ => return GasCost(0),
197199
})
198200
.base_gas_cost()

0 commit comments

Comments
 (0)