Skip to content

docs: add NatSpec to Base.sol (CommonBase / TestBase / ScriptBase) - #863

Open
js360000 wants to merge 1 commit into
foundry-rs:masterfrom
js360000:bountybox/issue-653-base-docs
Open

docs: add NatSpec to Base.sol (CommonBase / TestBase / ScriptBase)#863
js360000 wants to merge 1 commit into
foundry-rs:masterfrom
js360000:bountybox/issue-653-base-docs

Conversation

@js360000

Copy link
Copy Markdown

Summary

Adds NatSpec @notice tags to the three base contracts (CommonBase, TestBase, ScriptBase) and to their previously-undocumented members (UINT256_MAX, vm, stdstore, vmSafe), while preserving the existing @dev calculation notes on the address constants.

Part of #653.

Test plan

  • forge build passes locally (Solc 0.8.29).
  • forge fmt --check src/Base.sol is clean.
  • No code paths or public ABI changed — pure NatSpec.

@onbjerg
onbjerg enabled auto-merge (squash) August 3, 2026 11:28
Documents the contracts and their constants in Base.sol with `@notice`
tags while preserving the existing `@dev` calculation notes. Covers the
two previously undocumented members (`UINT256_MAX`, `vm`, `stdstore`,
`vmSafe`) and adds contract-level `@notice` blocks.

Part of foundry-rs#653.
@onbjerg
onbjerg force-pushed the bountybox/issue-653-base-docs branch from 9d7a6bb to ed3393c Compare August 3, 2026 11:28
auto-merge was automatically disabled August 3, 2026 11:28

Head branch was pushed to by a user without write access

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