mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-21 07:03:07 +00:00
fmt
This commit is contained in:
parent
bff3da1da1
commit
4624ce515b
@ -72,10 +72,10 @@ pub(crate) fn combined_kernel() -> Kernel {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use env_logger::{try_init_from_env, Env, DEFAULT_FILTER_ENV};
|
||||
use std::str::FromStr;
|
||||
|
||||
use anyhow::Result;
|
||||
use env_logger::{try_init_from_env, Env, DEFAULT_FILTER_ENV};
|
||||
use ethereum_types::U256;
|
||||
use log::debug;
|
||||
|
||||
|
||||
@ -5,8 +5,8 @@ mod exp;
|
||||
mod mpt;
|
||||
mod packing;
|
||||
mod rlp;
|
||||
mod transaction_parsing;
|
||||
mod sha2;
|
||||
mod transaction_parsing;
|
||||
|
||||
use std::str::FromStr;
|
||||
|
||||
|
||||
@ -34,8 +34,13 @@ fn test_sha2_store() -> Result<()> {
|
||||
store_initial_stack.push(U256::from_str("0xdeadbeef").unwrap());
|
||||
store_initial_stack.reverse();
|
||||
dbg!(store_initial_stack.clone());
|
||||
|
||||
let after_storing = run(&kernel.code, sha2_store, store_initial_stack, &kernel.prover_inputs)?;
|
||||
|
||||
let after_storing = run(
|
||||
&kernel.code,
|
||||
sha2_store,
|
||||
store_initial_stack,
|
||||
&kernel.prover_inputs,
|
||||
)?;
|
||||
let stack_after_storing = after_storing.stack();
|
||||
dbg!(stack_after_storing.clone());
|
||||
let memory_after_storing = after_storing.memory;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user