Skip to content

docs(lint): document balance lock guards - #1993

Merged
mablr merged 1 commit into
foundry-rs:masterfrom
mattsse:mattsse/docs-reentrancy-balance-locks
Jul 16, 2026
Merged

docs(lint): document balance lock guards#1993
mablr merged 1 commit into
foundry-rs:masterfrom
mattsse:mattsse/docs-reentrancy-balance-locks

Conversation

@mattsse

@mattsse mattsse commented Jul 16, 2026

Copy link
Copy Markdown
Member

The original reentrancy-balance page in #1984 omitted behavior added during review of foundry-rs/foundry#15769. This documents stale-balance comparisons across opposite operands, standard state-lock suppression across effective mutable entry points, and the 2300 stipend that accompanies value-transferring low-level calls with an explicit gas cap. It also states the detector boundary for same-operand balance deltas.

Follow-up to #1984 and foundry-rs/foundry#15769.

Prepared with assistance from OpenAI Codex.

@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

@mattsse is attempting to deploy a commit to the Tempo Team on Vercel.

A member of the Team first needs to authorize it.

@mablr
mablr merged commit 8c1d783 into foundry-rs:master Jul 16, 2026
1 of 2 checks passed
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.

3 participants