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

feat(cast): add --rpc-timeout option #9044

Merged
merged 14 commits into from
Oct 24, 2024

Conversation

PanGan21
Copy link
Contributor

@PanGan21 PanGan21 commented Oct 6, 2024

Motivation

Context: #8959

Solution

The following pr adds --rpc-timeout option to cast command overriding the default rpc timeout.

@PanGan21 PanGan21 marked this pull request as draft October 6, 2024 08:37
@PanGan21 PanGan21 marked this pull request as ready for review October 6, 2024 10:08
@PanGan21 PanGan21 changed the title feat(cast): add timeout flag that overrides default rpc timeout feat(cast): add --timeout option Oct 6, 2024
crates/cast/bin/cmd/rpc.rs Outdated Show resolved Hide resolved
@PanGan21 PanGan21 changed the title feat(cast): add --timeout option feat(cast): add --rpc-timeout option Oct 21, 2024
Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

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

left couple of comments, would be great to have confirmation for them before changing

crates/cli/src/opts/ethereum.rs Outdated Show resolved Hide resolved
crates/cli/src/utils/mod.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

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

lgtm, thank you! @zerosnacks @yash-atreya could you please check it too before merging?

Minor documentation nits
@zerosnacks zerosnacks self-requested a review October 24, 2024 17:54
Copy link
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

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

Thanks @PanGan21 for your PR! Applied some minor documentation fixes. LGTM!

@grandizzy grandizzy merged commit 2559899 into foundry-rs:master Oct 24, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

5 participants