Skip to content

Commit 3ba2bc7

Browse files
committed
Change from tracing to storage read replay recording
1 parent f76c96f commit 3ba2bc7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+518
-971
lines changed

Cargo.lock

Lines changed: 48 additions & 90 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ fuel-core-xtask = { version = "0.0.0", path = "./xtask" }
8787
fuel-gas-price-algorithm = { version = "0.40.0", path = "crates/fuel-gas-price-algorithm" }
8888

8989
# Fuel dependencies
90-
fuel-vm-private = { path = "../fuel-vm/fuel-vm", package = "fuel-vm", default-features = false }
91-
# fuel-vm-private = { git = "https://github.com/FuelLabs/fuel-vm", branch = "dento/execution-trace", package = "fuel-vm", default-features = false }
92-
# fuel-vm-private = { version = "0.58.2", package = "fuel-vm", default-features = false }
90+
fuel-vm-private = { version = "0.58.2", package = "fuel-vm", default-features = false }
9391

9492
# Common dependencies
9593
anyhow = "1.0"

bin/fuel-core/src/cli/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ impl Command {
543543
get_peers: graphql.costs.get_peers,
544544
estimate_predicates: graphql.costs.estimate_predicates,
545545
dry_run: graphql.costs.dry_run,
546-
execution_trace_block: graphql.costs.execution_trace_block,
546+
storage_read_replay: graphql.costs.storage_read_replay,
547547
submit: graphql.costs.submit,
548548
submit_and_await: graphql.costs.submit_and_await,
549549
status_change: graphql.costs.status_change,

bin/fuel-core/src/cli/run/graphql.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ pub struct QueryCosts {
114114

115115
/// Query costs for generating execution trace for a block.®
116116
#[clap(
117-
long = "query-cost-execution-trace-block",
118-
default_value = DEFAULT_QUERY_COSTS.execution_trace_block.to_string(),
117+
long = "query-cost-storage-read-replay",
118+
default_value = DEFAULT_QUERY_COSTS.storage_read_replay.to_string(),
119119
env
120120
)]
121-
pub execution_trace_block: usize,
121+
pub storage_read_replay: usize,
122122

123123
/// Query costs for submitting a transaction.
124124
#[clap(

0 commit comments

Comments
 (0)