Skip to content

Commit

Permalink
Change from tracing to storage read replay recording
Browse files Browse the repository at this point in the history
  • Loading branch information
Dentosal committed Dec 19, 2024
1 parent f76c96f commit 3ba2bc7
Show file tree
Hide file tree
Showing 43 changed files with 518 additions and 971 deletions.
138 changes: 48 additions & 90 deletions Cargo.lock

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

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ fuel-core-xtask = { version = "0.0.0", path = "./xtask" }
fuel-gas-price-algorithm = { version = "0.40.0", path = "crates/fuel-gas-price-algorithm" }

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

# Common dependencies
anyhow = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion bin/fuel-core/src/cli/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ impl Command {
get_peers: graphql.costs.get_peers,
estimate_predicates: graphql.costs.estimate_predicates,
dry_run: graphql.costs.dry_run,
execution_trace_block: graphql.costs.execution_trace_block,
storage_read_replay: graphql.costs.storage_read_replay,
submit: graphql.costs.submit,
submit_and_await: graphql.costs.submit_and_await,
status_change: graphql.costs.status_change,
Expand Down
6 changes: 3 additions & 3 deletions bin/fuel-core/src/cli/run/graphql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ pub struct QueryCosts {

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

/// Query costs for submitting a transaction.
#[clap(
Expand Down
Loading

0 comments on commit 3ba2bc7

Please sign in to comment.