Skip to content

Commit

Permalink
Block gas limit calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx committed Aug 2, 2023
1 parent 98341e5 commit 7117efc
Show file tree
Hide file tree
Showing 8 changed files with 338 additions and 118 deletions.
123 changes: 33 additions & 90 deletions Cargo.lock

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

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ fuel-core-tests = { version = "0.0.0", path = "./tests" }
fuel-core-xtask = { version = "0.0.0", path = "./xtask" }

# Fuel dependencies
fuel-vm-private = { version = "0.35.0", package = "fuel-vm" }
fuel-vm-private = { version = "0.35.2", package = "fuel-vm" }

# Common dependencies
anyhow = "1.0"
Expand Down Expand Up @@ -112,3 +112,5 @@ insta = "1.8"
tempfile = "3.4"
tikv-jemallocator = "0.5"

[patch.crates-io]
fuel-vm = { git = "https://github.com/FuelLabs/fuel-vm/", branch = "release/0.35.2" }
7 changes: 6 additions & 1 deletion benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version = "0.0.0"

[dependencies]
clap = { workspace = true, features = ["derive"] }
criterion = { version = "0.4", features = ["html_reports"] }
criterion = { version = "0.5", features = ["html_reports", "async", "async_tokio"] }
ctrlc = "3.2.3"
ethnum = "1.3"
fuel-core = { path = "../crates/fuel-core", default-features = false, features = ["metrics", "rocksdb-production"] }
Expand All @@ -17,6 +17,7 @@ rand = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
serde_yaml = "0.9.13"
tokio = { workspace = true, features = ["full"] }
tikv-jemallocator = { workspace = true }

[[bench]]
Expand All @@ -26,3 +27,7 @@ name = "state"
[[bench]]
harness = false
name = "vm"

[[bench]]
harness = false
name = "block_target_gas"
Loading

0 comments on commit 7117efc

Please sign in to comment.