-
Notifications
You must be signed in to change notification settings - Fork 964
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge 0.2.0 (a0a0020 2024-08-12T00:21:34.427762642Z)
What command(s) is the bug in?
forge script
Operating System
Linux
Describe the bug
Repro code: https://github.com/beeb/foundry-repro-prompt-lib
When a contract must be linked against external libraries, and a Foundry script deploys such contract, prompts are
shown twice.
Reproduction steps:
- Launch an anvil instance:
anvil -a 1 - Launch script:
forge script -f http://localhost:8545 --broadcast script/Counter.s.sol:CounterScript - Observe that a prompt shows up and paste the first anvil private key:
0xac0974bec3... - Observe that a second identical prompt is displayed
If the deployed contract does not have external libraries that must be linked, the problem does not happen.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers