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

Check for inherents in initial response #1916

Merged
merged 2 commits into from
Aug 31, 2023
Merged

Check for inherents in initial response #1916

merged 2 commits into from
Aug 31, 2023

Conversation

rahulksnv
Copy link
Contributor

We currently use a size threshold on the server side, to send the full extrinsic as part of the initial response. This works for most inherents (like pallet_timestamp inherents), but can miss bigger inherents like segment headers. This PR adds support for checking for inherents explicitly.

Fixes #1425

Code contributor checklist:

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.

Will merge once CI passes, no need to merge main in

@nazar-pc nazar-pc merged commit c83467b into main Aug 31, 2023
9 checks passed
@nazar-pc nazar-pc deleted the rsub/br-inherents branch August 31, 2023 19:55
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.

Optimize handling inherent transactions
2 participants