Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Use RuntimeDebugNoBound (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier authored Jul 13, 2023
1 parent 5ed621b commit eb8ddde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions primitives/header-chain/src/justification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use codec::{Decode, Encode};
use finality_grandpa::voter_set::VoterSet;
use scale_info::TypeInfo;
// substrate
use frame_support::RuntimeDebug;
use frame_support::{RuntimeDebug, RuntimeDebugNoBound};
use sp_consensus_grandpa::{AuthorityId, AuthoritySignature, SetId};
use sp_runtime::traits::Header as HeaderT;
use sp_std::{
Expand All @@ -37,7 +37,7 @@ use sp_std::{
///
/// This particular proof is used to prove that headers on a bridged chain
/// (so not our chain) have been finalized correctly.
#[derive(Clone, PartialEq, Eq, Encode, Decode, RuntimeDebug, TypeInfo)]
#[derive(Clone, PartialEq, Eq, Encode, Decode, RuntimeDebugNoBound, TypeInfo)]
pub struct GrandpaJustification<Header: HeaderT> {
/// The round (voting period) this justification is valid for.
pub round: u64,
Expand Down
2 changes: 1 addition & 1 deletion primitives/test-utils/src/keyring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ pub fn test_keyring() -> Vec<(Account, AuthorityWeight)> {

/// Get a list of "unique" accounts.
pub fn accounts(len: u16) -> Vec<Account> {
(0..len).into_iter().map(Account).collect()
(0..len).map(Account).collect()
}

0 comments on commit eb8ddde

Please sign in to comment.