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

Define OpaqueValue #4550

Merged
merged 2 commits into from
May 23, 2024
Merged

Define OpaqueValue #4550

merged 2 commits into from
May 23, 2024

Conversation

serban300
Copy link
Contributor

Define OpaqueValue and use it instead of grandpa::OpaqueKeyOwnershipProof and beefy:OpaqueKeyOwnershipProof

Related to #4522 (comment)

We'll need to introduce a runtime API method that calls the report_fork_voting_unsigned() extrinsic. This method will need to receive the ancestry proof as a paramater. I'm still not sure, but there is a chance that we'll send the ancestry proof as an opaque type.

So let's introduce this OpaqueValue. We can already use it to replace grandpa::OpaqueKeyOwnershipProof and beefy:OpaqueKeyOwnershipProof and maybe we'll need it for the ancestry proof as well.

@serban300 serban300 self-assigned this May 23, 2024
@serban300 serban300 added R0-silent Changes should not be mentioned in any release notes T15-bridges This PR/Issue is related to bridges. labels May 23, 2024
@serban300 serban300 requested a review from a team May 23, 2024 11:31
Co-authored-by: Bastian Köcher <git@kchr.de>
@serban300 serban300 enabled auto-merge May 23, 2024 12:17
@serban300 serban300 added this pull request to the merge queue May 23, 2024
Merged via the queue into paritytech:master with commit 03bbc17 May 23, 2024
149 of 152 checks passed
@serban300 serban300 deleted the opaque branch May 23, 2024 13:03
hitchhooker pushed a commit to ibp-network/polkadot-sdk that referenced this pull request Jun 5, 2024
Define `OpaqueValue` and use it instead of
`grandpa::OpaqueKeyOwnershipProof` and `beefy:OpaqueKeyOwnershipProof`

Related to
paritytech#4522 (comment)

We'll need to introduce a runtime API method that calls the
`report_fork_voting_unsigned()` extrinsic. This method will need to
receive the ancestry proof as a paramater. I'm still not sure, but there
is a chance that we'll send the ancestry proof as an opaque type.

So let's introduce this `OpaqueValue`. We can already use it to replace
`grandpa::OpaqueKeyOwnershipProof` and `beefy:OpaqueKeyOwnershipProof`
and maybe we'll need it for the ancestry proof as well.

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
TarekkMA pushed a commit to moonbeam-foundation/polkadot-sdk that referenced this pull request Aug 2, 2024
Define `OpaqueValue` and use it instead of
`grandpa::OpaqueKeyOwnershipProof` and `beefy:OpaqueKeyOwnershipProof`

Related to
paritytech#4522 (comment)

We'll need to introduce a runtime API method that calls the
`report_fork_voting_unsigned()` extrinsic. This method will need to
receive the ancestry proof as a paramater. I'm still not sure, but there
is a chance that we'll send the ancestry proof as an opaque type.

So let's introduce this `OpaqueValue`. We can already use it to replace
`grandpa::OpaqueKeyOwnershipProof` and `beefy:OpaqueKeyOwnershipProof`
and maybe we'll need it for the ancestry proof as well.

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes T15-bridges This PR/Issue is related to bridges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants