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

Commit

Permalink
fix ci doc error
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamWuGit committed Jan 14, 2022
1 parent 723912d commit 776bc42
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions bus-mapping/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
//! self, Address, Word, Hash, U64, GethExecTrace, GethExecStep, ChainConstants
//! };
//! use bus_mapping::circuit_input_builder::CircuitInputBuilder;
//! use bus_mapping::external_tracer::BlockConstants;
//! use pairing::arithmetic::FieldExt;
//!
//! let input_trace = r#"
Expand Down Expand Up @@ -107,7 +108,6 @@
//! "#;
//!
//! let ctants = ChainConstants{
//! coinbase: Address::zero(),
//! chain_id: 0,
//! };
//!
Expand All @@ -117,8 +117,16 @@
//! let mut sdb = StateDB::new();
//! sdb.set_account(&Address::zero(), state_db::Account::zero());
//!
//! let mut builder =
//! CircuitInputBuilder::new(sdb, CodeDB::new(), &eth_block, ctants);
//! let mut builder = CircuitInputBuilder::new(
//! sdb,
//! CodeDB::new(),
//! &eth_block,
//! ctants.clone(),
//! BlockConstants::from_eth_block(
//! &eth_block,
//! &Word::from(ctants.chain_id),
//! ),
//! );
//!
//! let geth_steps: Vec<GethExecStep> = serde_json::from_str(input_trace).unwrap();
//! let geth_trace = GethExecTrace {
Expand Down

0 comments on commit 776bc42

Please sign in to comment.