Millau, Rialto: accept equivocation reports (#2614) (#2617)

This commit is contained in:
Serban Iorga
2023-10-12 10:08:35 +03:00
committed by Bastian Köcher
parent d4952b2e2e
commit 08f1580658
6 changed files with 88 additions and 10 deletions
+3 -2
View File
@@ -25,8 +25,9 @@ use relay_substrate_client::{
ChainWithTransactions, ChainWithUtilityPallet, Error as SubstrateError,
FullRuntimeUtilityPallet, NonceOf, SignParam, UnderlyingChainProvider, UnsignedTransaction,
};
use sp_core::{storage::StorageKey, Pair, Void};
use sp_core::{storage::StorageKey, Pair};
use sp_runtime::{generic::SignedPayload, traits::IdentifyAccount};
use sp_session::MembershipProof;
use std::time::Duration;
/// Millau header id.
@@ -70,7 +71,7 @@ impl ChainWithGrandpa for Millau {
const SYNCED_HEADERS_GRANDPA_INFO_METHOD: &'static str =
MILLAU_SYNCED_HEADERS_GRANDPA_INFO_METHOD;
type KeyOwnerProof = Void;
type KeyOwnerProof = MembershipProof;
}
impl ChainWithBalances for Millau {