Skip to content

Commit

Permalink
fix: enable tokio time feature
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed May 27, 2022
1 parent b8c0009 commit 013477b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion evm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tracing-subscriber = "0.3.11"
tracing-error = "0.2.0"

# Threading/futures
tokio = { version = "1.10.1" }
tokio = { version = "1.10.1", features = ["time"] }
parking_lot = "0.12.0"
futures = "0.3.21"
once_cell = "1.9.0"
Expand Down
2 changes: 1 addition & 1 deletion evm/src/executor/fork/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ impl SharedBackend {
.name("fork-backend-thread".to_string())
.spawn(move || {
let rt = tokio::runtime::Builder::new_current_thread()
.enable_io()
.enable_all()
.build()
.expect("failed to create fork-backend-thread tokio runtime");

Expand Down

0 comments on commit 013477b

Please sign in to comment.