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

Bridge: added free headers submission support to the substrate-relay #4157

Merged
merged 72 commits into from
Apr 25, 2024

Conversation

svyatonik
Copy link
Contributor

Original PR: paritytech/parity-bridges-common#2884. Since chain-specific code lives in the parity-bridges-common repo, some parts of original PR will require another PR

…of_ex + check it from the transaction extension
…ge GRANDPA transactions are obsolete and, if not, it may apply priority boost to
…coming from CheckAndBoostBridgeGrandpaTransactions
…de of tx body, it is `None` and otherwise it is `Some`
Copy link
Contributor

@acatangiu acatangiu left a comment

Choose a reason for hiding this comment

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

also needs prdoc - breaking/major change for a number of crates

Base automatically changed from sv-refund-non-mandatory-headers-fee-polkadot-sdk to master April 25, 2024 05:54
@svyatonik
Copy link
Contributor Author

also needs prdoc - breaking/major change for a number of crates

@acatangiu I've added prdoc, but there's no "audience" that is suitable for us. Most suitable in this case is "Node Dev", but I guess everyone who's watching bridge can get all updates from T15-bridges` label group.

@svyatonik svyatonik added this pull request to the merge queue Apr 25, 2024
// if we see that the header schedules GRANDPA change, we need to submit it
if self.sync_params.only_mandatory_headers {
if self.sync_params.headers_to_relay == HeadersToRelay::Mandatory {
Copy link
Contributor

Choose a reason for hiding this comment

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

What about allowing here also HeadersToRelay::All?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I don't get what you mean. Can you, please, elaborate? All and Free are handled later, in the selector.select call.

Copy link
Contributor

Choose a reason for hiding this comment

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

nvm, I need to walk through the entire PR first :)

Merged via the queue into master with commit 7e68b2b Apr 25, 2024
136 of 139 checks passed
@svyatonik svyatonik deleted the sv-relay-free-headers-polkadot-sdk branch April 25, 2024 07:46
svyatonik added a commit that referenced this pull request May 8, 2024
…4157)

Original PR:
paritytech/parity-bridges-common#2884. Since
chain-specific code lives in the `parity-bridges-common` repo, some
parts of original PR will require another PR

---------

Co-authored-by: Adrian Catangiu <[email protected]>
TarekkMA pushed a commit to moonbeam-foundation/polkadot-sdk that referenced this pull request Aug 2, 2024
…aritytech#4157)

Original PR:
paritytech/parity-bridges-common#2884. Since
chain-specific code lives in the `parity-bridges-common` repo, some
parts of original PR will require another PR

---------

Co-authored-by: Adrian Catangiu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T15-bridges This PR/Issue is related to bridges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants