Skip to content

always enable proof recording to replay block#9214

Closed
librelois wants to merge 6 commits intoparitytech:masterfrom
moonbeam-foundation:elois-trace-block-proof-record-2
Closed

always enable proof recording to replay block#9214
librelois wants to merge 6 commits intoparitytech:masterfrom
moonbeam-foundation:elois-trace-block-proof-record-2

Conversation

@librelois
Copy link
Contributor

@librelois librelois commented Jul 15, 2025

Description

The RPC method state_traceBlock never enables proof recording. As a result, state_traceBlock fails on any substrate chain that uses StorageWeightReclaim, causing a storage root mismatch error.

This PR enables proof recording in trace_block.

Might fix #7270

Integration

Downstream projects should require no changes.

Review Notes

Supersedes #8845

Checklist

  • My PR includes a detailed description as outlined in the "Description" and its two subsections above.
  • My PR follows the labeling requirements of this project (at minimum one label for T required)
    • External contributors: ask maintainers to put the right label on your PR.

@bkchr bkchr added the T0-node This PR/Issue is related to the topic “node”. label Jul 29, 2025
@bkchr bkchr marked this pull request as ready for review July 29, 2025 20:22
@bkchr bkchr requested a review from koute as a code owner July 29, 2025 20:22
@RomarQ
Copy link
Contributor

RomarQ commented Sep 5, 2025

@librelois the PR is not ready, we miss a few imports. Can you have a look at it?

@bkchr
Copy link
Member

bkchr commented Sep 29, 2025

Closing in favor of: #9871

@bkchr bkchr closed this Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T0-node This PR/Issue is related to the topic “node”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Westend Coretime state_traceBlock RPC throws Cannot resolve a block range for certain blocks

3 participants