Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Autoparallel committed Oct 3, 2023
1 parent 38e38e5 commit ce3c0f9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/fork/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ async fn fork_into_arbiter() {
let forked_db = ForkedDB::new(&fork_config).unwrap();

// Get the environment going
let mut environment = environment::builder::EnvironmentBuilder::new()
let environment = environment::builder::EnvironmentBuilder::new()
.db(forked_db)
.build();
environment.run();

// Create a client
let client = Arc::new(RevmMiddleware::new(&environment, Some("name")).unwrap());
let client = RevmMiddleware::new(&environment, Some("name")).unwrap();

// Deal with the weth contract
let weth_data = fork_config.contracts.get("weth").unwrap();
Expand Down

0 comments on commit ce3c0f9

Please # to comment.