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: respect --auth in cast call and cast estimate #9120

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Oct 15, 2024

Motivation

Right now for read-only requests we skip both --access-list and --auth making it impossible to call eth_call or eth_estimateGas with those

Solution

Reorder things a bit and respect those flags. Also moved the parsing logic to cli crate.

@klkvr klkvr enabled auto-merge (squash) October 15, 2024 19:49
@klkvr klkvr merged commit cc8e430 into master Oct 15, 2024
22 checks passed
@klkvr klkvr deleted the klkvr/7702-call-estimate branch October 15, 2024 19:57
@klkvr klkvr self-assigned this Oct 21, 2024
rplusq pushed a commit to rplusq/foundry that referenced this pull request Nov 29, 2024
…9120)

* fix: respect --auth in cast call and cast estimate

* access list parser
@grandizzy grandizzy added T-bug Type: bug C-cast Command: cast labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cast Command: cast T-bug Type: bug
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

3 participants