Skip to content

Update Stylus best-practices pages for SDK 0.10.7#3407

Open
anegg0 wants to merge 2 commits into
masterfrom
stylus-docs-best-practices
Open

Update Stylus best-practices pages for SDK 0.10.7#3407
anegg0 wants to merge 2 commits into
masterfrom
stylus-docs-best-practices

Conversation

@anegg0

@anegg0 anegg0 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Stylus docs update — part of a small set of PRs (tagged stylus) bringing docs/stylus/ in line with the current stack (stylus-sdk / cargo-stylus 0.10.7, Nitro v3.11.0).

  • best-practices/security.mdx — rewrite examples to the 0.10.7 Host-trait API (#[public], self.vm().…); modernize reentrancy guidance (automatic cache-flush; deny_reentrant deprecated).
  • best-practices/gas-optimization.mdx — correct gas economics (EIP-3529 refund cap), remove non-existent CLI flags, restore a concrete sourced performance table.

Examples verified against the live toolchain (compiled/deployed on a local Nitro dev node where relevant) and conceptual claims against the Nitro source. Builds clean (yarn build, strict onBrokenLinks). Version strings are literals here; they are centralized into globalVars.js in a follow-up PR.

@anegg0 anegg0 added the stylus label Jun 24, 2026
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
arbitrum-docs Ready Ready Preview Jun 29, 2026 5:42pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants