Skip to content

add stateOverride support#483

Merged
owans merged 1 commit intomainfrom
docs/rpc-api-state-override
Mar 18, 2026
Merged

add stateOverride support#483
owans merged 1 commit intomainfrom
docs/rpc-api-state-override

Conversation

@ivegabr
Copy link
Collaborator

@ivegabr ivegabr commented Mar 17, 2026

This pull request updates the documentation for the Rootstock RPC API to describe and illustrate the new optional stateOverride parameter for the eth_call method. The most important changes are grouped below:

Documentation updates for eth_call:

  • Added a description of the stateOverride parameter, explaining how it can be used to override account state (balance, nonce, code, storage) for a call, including details about its structure and usage conditions.
  • Introduced a new section with practical examples demonstrating eth_call both with and without the stateOverride parameter, showing how to simulate different account states and interpret the results.## Title
  • Clear and concise description of the change (e.g., "Docs: Add Tutorial for PowPeg Node Setup")

Description

  • Purpose: Briefly explain the reason for this change.
  • Context: Describe the issue resolved or the feature added.
  • Changes: Summarize the specific updates made to the documentation.

Screenshots/GIFs

  • Include any relevant visuals to demonstrate changes in layout or components.

Testing

  • Verification: How did you test these changes? (e.g., ran yarn build or yarn check-links:external to check for broken internal / external links).
  • Output: Paste any relevant terminal output or local build logs.
  • Use N/A if not applicable.

Quality Checklist

  • Please confirm the following standards have been met:
  • Guidelines: I have read and followed the Contributing Guidelines.
  • Vale Linter: I have run vale locally and resolved all Rootstock.Robotics and style warnings using .cursorrules or style guide vale automation.
  • Rootstock Engineer Voice: I have removed AI-style "fluff" (e.g., unleash, delve into, testament to, ever-evolving landscape).
  • Structural Clarity: I have replaced em dashes (—) with commas or periods and ensured there are no stacked headings.
  • Code Quality: Technical comments are placed above the code line, not inline at the end.
  • Terminology: I am using rBTC (not Smart Bitcoin) and Rootstock (not RSK).

Refs

  • Related links to issues, tickets, or external discussions.

@vercel
Copy link

vercel bot commented Mar 17, 2026

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

Project Deployment Actions Updated (UTC)
devportal-rootstock Ready Ready Preview, Comment Mar 17, 2026 8:59pm

Request Review

@github-actions
Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@ivegabr ivegabr requested a review from owans March 17, 2026 20:47
@github-actions
Copy link
Contributor

🔗 Broken Links/Anchors Found in en

The build found broken internal links or anchors.

🔗 Broken Links
- Broken link on source page path = /dev-tools/:
   -> linking to /resources/guides/superbridge/
⚓ Broken Anchors


How to fix:

  1. Check if the linked page exists
  2. Update the link to the correct URL
  3. If the page was moved, update to the new location
  4. If the page was deleted, remove the link
  5. For anchors, verify the heading ID exists on the target page

Copy link
Collaborator

@owans owans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@owans owans merged commit 0bb695c into main Mar 18, 2026
9 of 10 checks passed
@owans owans deleted the docs/rpc-api-state-override branch March 18, 2026 13:32
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