Skip to content

Commit

Permalink
Fix formatting and conversion error
Browse files Browse the repository at this point in the history
  • Loading branch information
LindaGuiga committed Oct 4, 2024
1 parent 5c90909 commit 538e8cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions evm_arithmetization/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ homepage.workspace = true
keywords.workspace = true

[dependencies]
anyhow.workspace = true
alloy.workspace = true
alloy-serde.workspace = true
alloy-primitives.workspace = true
alloy-serde.workspace = true
anyhow.workspace = true
bytes.workspace = true
env_logger.workspace = true
ethereum-types.workspace = true
Expand Down
5 changes: 4 additions & 1 deletion evm_arithmetization/src/cpu/kernel/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,10 @@ impl<F: RichField> State<F> for Interpreter<F> {
// Check stack.
if let Some(txn_stack) = cur_txn_struct_logs.stack {
let cur_stack = self.get_full_stack();
let txn_stack = txn_stack.into_iter().map(U256::from).collect::<Vec<_>>();
let txn_stack = txn_stack
.into_iter()
.map(|s| U256(*s.as_limbs()))
.collect::<Vec<_>>();

if txn_stack != cur_stack {
log::warn!(
Expand Down

0 comments on commit 538e8cd

Please sign in to comment.