Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep our customized executive pallet up-to-date with the upstream #3186

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

NingLin-P
Copy link
Member

This PR brings some changes to our customized executive pallet to keep it up-to-date with the upstream, this fixes the state_traceBlock RPC service cc @DaMandal0rian. Note these changes don't affect the actual domain block execution but only the cli and RPC because all the domain blocks are derived locally with the domain block builder whose logic is untouched.

Ideally, we should proceed with paritytech/substrate#10711 to remove the need of maintaining our customized executive pallet but things get more complicated now because we do not just need a hook to collect the intermediate storage root but also some customized behavior of apply_extrinsic (introduced in #2343).

This PR also removes the try-runtime feature which is broken, incomplete, and unused, we can add it back when we have a use case.

Code contributor checklist:

It is broken, incomplete, and unused, we can add it back when we have use case.

Signed-off-by: linning <linningde25@gmail.com>
Signed-off-by: linning <linningde25@gmail.com>
Copy link
Member

@nazar-pc nazar-pc left a comment

Choose a reason for hiding this comment

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

Didn't compare with upstream, but looks reasonable otherwise

Copy link
Contributor

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@NingLin-P NingLin-P added this pull request to the merge queue Oct 29, 2024
Merged via the queue into main with commit 2528fe5 Oct 29, 2024
10 checks passed
@NingLin-P NingLin-P deleted the trace-block-error branch October 29, 2024 11:02
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