Skip to content

Commit f94dc60

Browse files
fix
1 parent 7b1f1e8 commit f94dc60

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

tests/fuzzer/Cargo.lock

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/fuzzer/fuzz/fuzz_targets/system_functions/ecrecover.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fn fuzz(data: &[u8]) {
5151

5252
let mut dst = dst.clone();
5353

54-
let _ = EcRecoverImpl::execute(
54+
let _ = EcRecoverImpl::<false>::execute(
5555
&src.as_slice()[0..n],
5656
&mut dst,
5757
&mut resource,

tests/fuzzer/fuzz/wrappers/fuzz_precompiles_forward/src/precompiles.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,19 @@ pub fn p256_verify(src: &[u8], dst: &mut Vec<u8>) -> Result<(), SubsystemError<P
6969
pub fn ecrecover(src: &[u8], dst: &mut Vec<u8>) -> Result<(), SubsystemError<Secp256k1ECRecoverErrors>> {
7070
let allocator = std::alloc::Global;
7171
let mut resource = <BaseResources<DecreasingNative> as Resource>::FORMAL_INFINITE;
72-
EcRecoverImpl::execute(&src, dst, &mut resource, &mut DummyOracle, &mut NullLogger, allocator)
72+
EcRecoverImpl::<false>::execute(&src, dst, &mut resource, &mut DummyOracle, &mut NullLogger, allocator)
7373
}
7474

7575
/// ecrecover using native field operations oracle (for comparing oracle vs non-oracle paths)
7676
pub fn ecrecover_with_oracle(src: &[u8], dst: &mut Vec<u8>) -> Result<(), SubsystemError<Secp256k1ECRecoverErrors>> {
7777
use callable_oracles::field_hints::NativeFieldOpsQuery;
7878
use oracle_provider::{DummyMemorySource, ZkEENonDeterminismSource};
79-
79+
8080
let allocator = std::alloc::Global;
8181
let mut resource = <BaseResources<DecreasingNative> as Resource>::FORMAL_INFINITE;
8282
let mut oracle = ZkEENonDeterminismSource::<DummyMemorySource>::default();
8383
oracle.add_external_processor(NativeFieldOpsQuery::<DummyMemorySource>::default());
84-
EcRecoverImpl::execute(&src, dst, &mut resource, &mut oracle, &mut NullLogger, allocator)
84+
EcRecoverImpl::<true>::execute(&src, dst, &mut resource, &mut oracle, &mut NullLogger, allocator)
8585
}
8686

8787
pub fn pairing(src: &[u8], dst: &mut Vec<u8>) -> Result<(), SubsystemError<Bn254PairingCheckErrors>> {
@@ -94,4 +94,4 @@ pub fn kzg(src: &[u8], dst: &mut Vec<u8>) -> Result<(), SubsystemError<PointEval
9494
let allocator = std::alloc::Global;
9595
let mut resource = <BaseResources<DecreasingNative> as Resource>::FORMAL_INFINITE;
9696
PointEvaluationImpl::execute(&src, dst, &mut resource, allocator)
97-
}
97+
}

tests/rig/src/chain.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ use forward_system::run::result_keeper::ProverInputResultKeeper;
3131
use forward_system::run::test_impl::{InMemoryPreimageSource, InMemoryTree, NoopTxCallback};
3232
use forward_system::system::bootloader::run_forward_no_panic;
3333
use forward_system::system::bootloader::run_prover_input_no_panic;
34-
use forward_system::system::system_types::ethereum::EthereumStorageSystemTypesWithPostOps;
34+
use forward_system::system::system_types::ethereum::EthereumStorageSystemTypes;
3535
use forward_system::system::system_types::ForwardRunningSystem;
3636
use log::warn;
3737
use log::{debug, info, trace};
@@ -892,8 +892,8 @@ impl<const RANDOMIZED_TREE: bool> Chain<RANDOMIZED_TREE> {
892892
let mut nop_validator = NopTxValidator;
893893

894894
BasicBootloader::<
895-
EthereumStorageSystemTypesWithPostOps<_>,
896-
EthereumTransactionFlow<EthereumStorageSystemTypesWithPostOps<_>>,
895+
EthereumStorageSystemTypes<_>,
896+
EthereumTransactionFlow<EthereumStorageSystemTypes<_>>,
897897
>::run_prepared::<BasicBootloaderForwardETHLikeConfig>(
898898
oracle,
899899
&mut (),

0 commit comments

Comments
 (0)