Skip to content

Commit

Permalink
cargo fmt update
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamWuGit committed Jan 9, 2024
1 parent 2703666 commit e6b12d9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
4 changes: 1 addition & 3 deletions gadgets/src/mul_add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
use eth_types::{Field, Word, ToU16LittleEndian};
use halo2_proofs::{
circuit::{Region, Value},
plonk::{
Advice, Column, ConstraintSystem, Error, Expression, Fixed, VirtualCells,
},
plonk::{Advice, Column, ConstraintSystem, Error, Expression, Fixed, VirtualCells},
poly::Rotation,
};

Expand Down
4 changes: 1 addition & 3 deletions gadgets/src/range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ use crate::util::Expr;
use eth_types::Field;
use halo2_proofs::{
circuit::{Chip, Region, Value},
plonk::{
Advice, Column, ConstraintSystem, Error, Expression, Fixed, VirtualCells,
},
plonk::{Advice, Column, ConstraintSystem, Error, Expression, Fixed, VirtualCells},
poly::Rotation,
};

Expand Down
4 changes: 1 addition & 3 deletions zkevm-circuits/src/tx_circuit/dev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ pub use super::TxCircuit;

use crate::{
sig_circuit::{SigCircuit, SigCircuitConfig, SigCircuitConfigArgs},
table::{
BlockTable, KeccakTable, RlpFsmRlpTable as RlpTable, SigTable, TxTable, UXTable,
},
table::{BlockTable, KeccakTable, RlpFsmRlpTable as RlpTable, SigTable, TxTable, UXTable},
tx_circuit::{TxCircuitConfig, TxCircuitConfigArgs},
util::{Challenges, SubCircuit, SubCircuitConfig},
witness::Transaction,
Expand Down
5 changes: 2 additions & 3 deletions zkevm-circuits/src/witness/tx.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::{
evm_circuit::{step::ExecutionState},
evm_circuit::step::ExecutionState,
table::TxContextFieldTag,
util::{rlc_be_bytes, word, Challenges},
witness::{
Expand All @@ -22,8 +22,7 @@ use eth_types::{
sign_types::{
biguint_to_32bytes_le, ct_option_ok_or, get_dummy_tx, recover_pk2, SignData, SECP256K1_Q,
},
AccessList, Address, Error, Field, Signature, ToBigEndian, ToLittleEndian, ToWord,
Word, H256,
AccessList, Address, Error, Field, Signature, ToBigEndian, ToLittleEndian, ToWord, Word, H256,
};
use ethers_core::{
types::TransactionRequest,
Expand Down

0 comments on commit e6b12d9

Please sign in to comment.