-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Component
Cast
Have you ensured that all of these are up to date?
- FoundryFoundryupTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
What version of Foundry are you on?
forge Version: 1.2.2-stable Commit SHA: 73ac79f Build Timestamp: 2025-06-01T14:56:44.649397717Z (1748789804) Build Profile: maxperf
What version of Foundryup are you on?
foundryup: 1.0.1
What command(s) is the bug in?
cast call
Operating System
Linux
Describe the bug
cast call
--override
flags added in #10255 do not apply when used with --trace
.
Works (no --trace
):
cast call -r https://mainnet.base.org --override-balance 0xFFFFFFFFFFAAAAAAAAAAFFFFFFFFFFAAAAAAAAAA:500 --from 0xFFFFFFFFFFAAAAAAAAAAFFFFFFFFFFAAAAAAAAAA --value 500 0x4200000000000000000000000000000000000006 "deposit()"
EVM error (with --trace
):
cast call -r https://mainnet.base.org --override-balance 0xFFFFFFFFFFAAAAAAAAAAFFFFFFFFFFAAAAAAAAAA:500 --from 0xFFFFFFFFFFAAAAAAAAAAFFFFFFFFFFAAAAAAAAAA --value 500 0x4200000000000000000000000000000000000006 "deposit()" --trace
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done
Milestone
Relationships
Development
Select code repository
Activity
--override-*
flags oncast call
with--trace
flag #10721[-]`cast call` `--override-*` flags not respected with `--trace`[/-][+]bug(`cast call`): `--override-*` flags not respected with `--trace`[/+]