Skip to content

docs: add --broadcast to forge create deploy commands#141

Open
memosr wants to merge 1 commit into
base:masterfrom
memosr:fix/forge-create-broadcast
Open

docs: add --broadcast to forge create deploy commands#141
memosr wants to merge 1 commit into
base:masterfrom
memosr:fix/forge-create-broadcast

Conversation

@memosr

@memosr memosr commented Jul 8, 2026

Copy link
Copy Markdown

The testnet and mainnet forge create commands in deploy-contracts.md are missing --broadcast. In Foundry 1.0+, forge create without --broadcast only dry-runs (prints: 'To broadcast this transaction, add --broadcast to the previous command'), so the contract never deploys and --verify never runs.

Verified empirically with forge 1.7.1 + anvil. Added --broadcast to both real deploy commands; left the partial --etherscan-api-key example (not a full deploy command) untouched.

Docs-only.

Foundry 1.0+ requires --broadcast for forge create to actually deploy;
without it the command dry-runs and --verify never executes. Verified
empirically with forge 1.7.1 + anvil (prints the 'add --broadcast' warning).
@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants