Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cast/call): remove --verbose, fix --debug #6939

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

DaniPopes
Copy link
Member

Motivation

cast call --trace --verbose functionality was removed in #6219 (it didn't do anything), but it wasn't removed as a flag and it was incorrectly passed instead of --debug's value when calling handle_traces.

Drive-by: fix double terminal clear in case of debugger panics, and fix a debugger panic by hoisting a check to before creating the internal context.

Closes #6938

Solution

@DaniPopes DaniPopes force-pushed the dani/cast-call-trace-debug branch from ffceb99 to 93f3042 Compare January 29, 2024 17:58
@DaniPopes DaniPopes force-pushed the dani/cast-call-trace-debug branch from 93f3042 to 23ac1fc Compare January 29, 2024 18:39
@DaniPopes DaniPopes changed the title fix(cast): remove --verbose, fix --debug fix(cast/call): remove --verbose, fix --debug Jan 29, 2024
@mattsse mattsse merged commit 3237a8b into master Jan 29, 2024
19 checks passed
@mattsse mattsse deleted the dani/cast-call-trace-debug branch January 29, 2024 22:35
tomholford added a commit to tomholford/book that referenced this pull request Jan 31, 2024
This updates the docs to reflect that the `--verbose` flag was removed from `call`.

See:

foundry-rs/foundry#6939
foundry-rs/foundry#6219
mattsse pushed a commit to foundry-rs/book that referenced this pull request Jan 31, 2024
This updates the docs to reflect that the `--verbose` flag was removed from `call`.

See:

foundry-rs/foundry#6939
foundry-rs/foundry#6219

Co-authored-by: tomholford <tomholford@users.noreply.github.com>
togetherAll7 pushed a commit to togetherAll7/foundry-book that referenced this pull request Nov 17, 2024
This updates the docs to reflect that the `--verbose` flag was removed from `call`.

See:

foundry-rs/foundry#6939
foundry-rs/foundry#6219

Co-authored-by: tomholford <tomholford@users.noreply.github.com>
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.

cast call --trace --debug does not open the debugger
2 participants