Skip to content

Use tx gas params for backtest replay#39

Merged
odyslam merged 7 commits intomasterfrom
fix/backtesting-gas
Jan 21, 2026
Merged

Use tx gas params for backtest replay#39
odyslam merged 7 commits intomasterfrom
fix/backtesting-gas

Conversation

@odyslam
Copy link
Contributor

@odyslam odyslam commented Jan 16, 2026

No description provided.

@odyslam
Copy link
Contributor Author

odyslam commented Jan 17, 2026

Added trace fallback support in the backtesting fetcher (trace_filter -> debug_traceBlockByNumber -> debug_traceTransaction -> direct calls) with explicit logs and RPC stats, plus a new trace support harness script (scripts/backtesting/trace_support_harness.sh). Also added an FFI command debug log in CredibleTestWithBacktesting so users can copy/paste the exact bash invocation for local debugging.

@odyslam
Copy link
Contributor Author

odyslam commented Jan 17, 2026

Shellcheck run clean. Fixed SC2046/SC2155 warnings in scripts/backtesting/transaction_fetcher.sh (separate declare/assign, quote sleep args).

Copy link
Contributor

@czepluch czepluch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. did you test that it works on eth mainnet?

@odyslam odyslam merged commit dd0c404 into master Jan 21, 2026
2 checks passed
@odyslam odyslam deleted the fix/backtesting-gas branch January 21, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants