Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
fix error due to rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
KimiWu123 committed Jan 26, 2024
1 parent 2e2625c commit d0d3c4a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 149 deletions.
156 changes: 13 additions & 143 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bus-mapping/src/precompile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use eth_types::{
evm_types::{GasCost, OpcodeId},
Address, Bytecode, Word,
Address, Bytecode, ToBigEndian, Word,
};
#[cfg(not(target_arch = "wasm32"))]
use revm_precompile::{Precompile, PrecompileError, Precompiles};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ impl<F: Field> ExecutionGadget<F> for ErrorOOGPrecompileGadget<F> {
#[cfg(test)]
mod test {
use crate::test_util::CircuitTestBuilder;
use bus_mapping::{evm::PrecompileCallArgs, precompile::PrecompileCalls};
use bus_mapping::precompile::{PrecompileCallArgs, PrecompileCalls};
use eth_types::{
bytecode,
evm_types::{GasCost, OpcodeId},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ impl<F: Field> ExecutionGadget<F> for EcrecoverGadget<F> {
#[cfg(test)]
mod test {
use bus_mapping::{
evm::{OpcodeId, PrecompileCallArgs},
precompile::PrecompileCalls,
evm::OpcodeId,
precompile::{PrecompileCallArgs, PrecompileCalls},
};
use eth_types::{bytecode, word, ToWord};
use mock::TestContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ impl<F: Field> ExecutionGadget<F> for IdentityGadget<F> {
#[cfg(test)]
mod test {
use bus_mapping::{
evm::{OpcodeId, PrecompileCallArgs},
precompile::PrecompileCalls,
evm::OpcodeId,
precompile::{PrecompileCallArgs, PrecompileCalls},
};
use eth_types::{bytecode, word, ToWord};
use itertools::Itertools;
Expand Down

0 comments on commit d0d3c4a

Please sign in to comment.