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.

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.
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.

1 participant