-
Couldn't load subscription status.
- Fork 2.2k
Open
Labels
C-forgeCommand: forgeCommand: forgeCmd-forge-createCommand: forge createCommand: forge createP-normalPriority: normalPriority: normalT-bugType: bugType: bugT-to-discussType: requires discussionType: requires discussion
Milestone
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 (123ad0a 2022-06-13T00:06:50.866238846Z)
What command(s) is the bug in?
forge create
Operating System
Linux
Describe the bug
This is the stdout of a forge create --verify ... execution:
No files changed, compilation skipped
Deployer: 0x...
Deployed to: 0xa258a4e6fdfc57e6b4a7295a0d42389a02d7a4d5
Transaction hash: 0x858....
Starting contract verification...
Waiting for etherscan to detect contract deployment...
Submitting verification for [lib/dummy-token/src/DummyToken.sol:DummyToken] 0xa258a4e6fdfc57e6b4a7295a0d42389a02d7a4d5.
Submitting verification for [lib/dummy-token/src/DummyToken.sol:DummyToken] 0xa258a4e6fdfc57e6b4a7295a0d42389a02d7a4d5.
Submitting verification for [lib/dummy-token/src/DummyToken.sol:DummyToken] 0xa258a4e6fdfc57e6b4a7295a0d42389a02d7a4d5.
Submitting verification for [lib/dummy-token/src/DummyToken.sol:DummyToken] 0xa258a4e6fdfc57e6b4a7295a0d42389a02d7a4d5.
Submitting verification for [lib/dummy-token/src/DummyToken.sol:DummyToken] 0xa258a4e6fdfc57e6b4a7295a0d42389a02d7a4d5.
Submitted contract for verification:
Response: `OK`
GUID: `kqb3ggyidyhyqfidigjyydryfkkz8kpr81eccy5uhhnjqxbqcx`
URL: https://goerli.etherscan.io/address/0xa258a4e6fdfc57e6b4a7295a0d42389a02d7a4d5
Waiting for verification result...
This makes it very hard to compose the output with other commands (i.e.: store the new contract address into a variable).
It would be good if all of that was sent to stderr instead and produce only the contract address in stdout.
Metadata
Metadata
Assignees
Labels
C-forgeCommand: forgeCommand: forgeCmd-forge-createCommand: forge createCommand: forge createP-normalPriority: normalPriority: normalT-bugType: bugType: bugT-to-discussType: requires discussionType: requires discussion
Type
Projects
Status
Next Up