fix(docs): misleading dry run description in deploy-on-base

Open Beginner friendly
#1,439 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
88/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Domain
documentation

Research direction

Open docs/base-chain/quickstart/deploy-on-base.mdx and review the Step 1 deployment instructions and the referenced forge commands. Update the wording or command so it no longer presents forge create without --broadcast as a simulation, then verify the page clearly explains what happens without broadcasting and how the dry run should work.

Written by the indexing model from the issue text.

Description

Path: /base-chain/quickstart/deploy-on-base

Page: https://docs.base.org/base-chain/quickstart/deploy-on-base
File: docs/base-chain/quickstart/deploy-on-base.mdx

Description

Step 1 of the "Deploy Your Contracts" section describes an optional dry run, but the explanation is misleading.

Current text:

(Optional) First, perform a dry run to simulate the deployment and verify everything is configured correctly:

forge create ./src/Counter.sol:Counter --rpc-url $BASE_SEPOLIA_RPC_URL --account deployer

This performs a simulation without broadcasting the transaction to the network.

This is inaccurate. Running forge create without --broadcast does not perform a simulation — it simply does nothing (no transaction is sent, no output confirms a simulated result). Foundry’s actual dry-run/simulation tool is forge script with the --dry-run flag, not forge create without --broadcast.

The current wording may confuse readers into thinking they have verified their setup when they have not.

Suggested fix

Either:

  • Remove the misleading "dry run" step and clarify that omitting --broadcast simply prevents deployment, or
  • Replace with the correct Foundry simulation approach using forge script --dry-run

Example clearer wording:

To deploy your contract, run the following command. The --broadcast flag is required to actually send the transaction. Without it, Foundry does not submit anything to the network.

Dominant language
JavaScript
Stars
337
Forks
798
Avg merge
7h 24m
Merged PRs (30d)
51

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from base/docs

All issues in base/docs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.