You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading foundry to forge 0.2.0 (35b6c01 2023-09-25T18:05:31.308398000Z), the --with-gas-price seems to not work. I ran the same command with an older version forge 0.2.0 (6676e81 2023-08-22T00:28:15.086036000Z). It ran successfully. And after I upgrade forge to the latest version forge 0.2.0 (35b6c01 2023-09-25T18:05:31.308398000Z), the same command failed with the following error message.
The application panicked (crashed).
Message: Mismatch between definition and access of `with_gas_price`. Could not downcast to TypeId { t: 331106880534545003358835161969624673679 }, need to downcast to TypeId { t: 336374466001064399360049483825885140353 }
Location: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.4.4/src/parser/error.rs:32
This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
[1] 2495 abort forge script --broadcast --rpc-url --private-key --with-gas-price 0 -vvv
My colleague also reproduce this bug on her mac.
The text was updated successfully, but these errors were encountered:
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (35b6c01 2023-09-25T18:05:31.308398000Z)
What command(s) is the bug in?
forge script \ --broadcast \ --rpc-url RPC_URL \ --private-key PRIVATEKEY \ --with-gas-price 0 \ SolveTutorial -vvv
Operating System
macOS (Apple Silicon)
Describe the bug
After upgrading foundry to forge 0.2.0 (35b6c01 2023-09-25T18:05:31.308398000Z), the --with-gas-price seems to not work. I ran the same command with an older version
forge 0.2.0 (6676e81 2023-08-22T00:28:15.086036000Z)
. It ran successfully. And after I upgrade forge to the latest versionforge 0.2.0 (35b6c01 2023-09-25T18:05:31.308398000Z)
, the same command failed with the following error message.My colleague also reproduce this bug on her mac.
The text was updated successfully, but these errors were encountered: