Use Keccak config in simple tests

This commit is contained in:
Robin Salen 2023-08-03 11:58:49 -04:00
parent 830fdf5374
commit 89e62e554a
No known key found for this signature in database
GPG Key ID: FB87BACFB3CB2007
4 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@ use ethereum_types::Address;
use hex_literal::hex;
use keccak_hash::keccak;
use plonky2::field::goldilocks_field::GoldilocksField;
use plonky2::plonk::config::PoseidonGoldilocksConfig;
use plonky2::plonk::config::KeccakGoldilocksConfig;
use plonky2::util::timing::TimingTree;
use plonky2_evm::all_stark::AllStark;
use plonky2_evm::config::StarkConfig;
@ -21,7 +21,7 @@ use plonky2_evm::Node;
type F = GoldilocksField;
const D: usize = 2;
type C = PoseidonGoldilocksConfig;
type C = KeccakGoldilocksConfig;
/// The `add11_yml` test case from https://github.com/ethereum/tests
#[test]

View File

@ -8,7 +8,7 @@ use ethereum_types::{Address, U256};
use hex_literal::hex;
use keccak_hash::keccak;
use plonky2::field::goldilocks_field::GoldilocksField;
use plonky2::plonk::config::PoseidonGoldilocksConfig;
use plonky2::plonk::config::KeccakGoldilocksConfig;
use plonky2::util::timing::TimingTree;
use plonky2_evm::all_stark::AllStark;
use plonky2_evm::config::StarkConfig;
@ -22,7 +22,7 @@ use plonky2_evm::Node;
type F = GoldilocksField;
const D: usize = 2;
type C = PoseidonGoldilocksConfig;
type C = KeccakGoldilocksConfig;
/// Test a simple token transfer to a new address.
#[test]

View File

@ -9,7 +9,7 @@ use ethereum_types::Address;
use hex_literal::hex;
use keccak_hash::keccak;
use plonky2::field::goldilocks_field::GoldilocksField;
use plonky2::plonk::config::PoseidonGoldilocksConfig;
use plonky2::plonk::config::KeccakGoldilocksConfig;
use plonky2::util::timing::TimingTree;
use plonky2_evm::all_stark::AllStark;
use plonky2_evm::config::StarkConfig;
@ -22,7 +22,7 @@ use plonky2_evm::Node;
type F = GoldilocksField;
const D: usize = 2;
type C = PoseidonGoldilocksConfig;
type C = KeccakGoldilocksConfig;
/// The `selfBalanceGasCost` test case from https://github.com/ethereum/tests
#[test]

View File

@ -8,7 +8,7 @@ use ethereum_types::{Address, U256};
use hex_literal::hex;
use keccak_hash::keccak;
use plonky2::field::goldilocks_field::GoldilocksField;
use plonky2::plonk::config::PoseidonGoldilocksConfig;
use plonky2::plonk::config::KeccakGoldilocksConfig;
use plonky2::util::timing::TimingTree;
use plonky2_evm::all_stark::AllStark;
use plonky2_evm::config::StarkConfig;
@ -21,7 +21,7 @@ use plonky2_evm::Node;
type F = GoldilocksField;
const D: usize = 2;
type C = PoseidonGoldilocksConfig;
type C = KeccakGoldilocksConfig;
/// Test a simple token transfer to a new address.
#[test]