Skip to content

docs: fix Without Fault Proofs section to use custom network flags#79

Open
0xAxiom wants to merge 1 commit into
base:mainfrom
0xAxiom:docs/fix-no-fault-proofs-readme
Open

docs: fix Without Fault Proofs section to use custom network flags#79
0xAxiom wants to merge 1 commit into
base:mainfrom
0xAxiom:docs/fix-no-fault-proofs-readme

Conversation

@0xAxiom
Copy link
Copy Markdown

@0xAxiom 0xAxiom commented May 22, 2026

Closes #78

What

The "Without Fault Proofs" section showed --network base-mainnet commands that always fail — main.go marks base-mainnet (and all other named networks) as faultProofs: true, so running without --fault-proofs exits immediately with:

Fault proofs are required on this network, please provide the --fault-proofs flag

Changes

  • Retitle the section to "Without Fault Proofs (custom networks only)"
  • Add an [!IMPORTANT] callout explaining that all four named networks require --fault-proofs and pointing users to the custom network flags (--l2-rpc, --portal-address, --l2oo-address)
  • Replace --network base-mainnet example commands with the correct custom-network flag form, which is the only valid usage pattern for non-fault-proof networks

All named networks (base-mainnet, base-sepolia, op-mainnet, op-sepolia)
have faultProofs=true in main.go, so running any of them without
--fault-proofs exits with "Fault proofs are required on this network".

The "Without Fault Proofs" section was showing --network base-mainnet
commands that would always fail for users copying from the README.

Fix:
- Retitle the section to clarify it applies to custom networks only
- Add an IMPORTANT callout explaining that all named networks require
  --fault-proofs and pointing to the custom network flags
- Replace --network base-mainnet examples with custom network flag form
  (--l2-rpc, --portal-address, --l2oo-address) which is the correct
  usage pattern for networks without fault proofs

Closes base#78
@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 0
Sum 1

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.

README shows base-mainnet withdrawal commands without required --fault-proofs flag

2 participants