Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

runtime-api/ParachainHost: submit_report_dispute_lost #6561

Closed
ordian opened this issue Jan 16, 2023 · 0 comments · Fixed by #6667
Closed

runtime-api/ParachainHost: submit_report_dispute_lost #6561

ordian opened this issue Jan 16, 2023 · 0 comments · Fixed by #6667
Assignees
Labels
T5-parachains_protocol This PR/Issue is related to Parachains features and protocol changes.

Comments

@ordian
Copy link
Member

ordian commented Jan 16, 2023

Part of #5947.

This will be similar to

fn submit_report_equivocation_unsigned_extrinsic(
equivocation_proof: fg_primitives::EquivocationProof<
<Block as BlockT>::Hash,
sp_runtime::traits::NumberFor<Block>,
>,
key_owner_proof: fg_primitives::OpaqueKeyOwnershipProof,
) -> Option<()> {
let key_owner_proof = key_owner_proof.decode()?;
Grandpa::submit_unsigned_equivocation_report(
equivocation_proof,
key_owner_proof,
)
}

that will call into

fn submit_unsigned_slashing_report(

@ordian ordian added the T5-parachains_protocol This PR/Issue is related to Parachains features and protocol changes. label Jan 16, 2023
@ordian ordian self-assigned this Feb 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T5-parachains_protocol This PR/Issue is related to Parachains features and protocol changes.
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant