Skip to content

Commit

Permalink
backport cumulus changes to bridges-master (#2172)
Browse files Browse the repository at this point in the history
* backport cumulus changes to bridges-master

* bump substrate, polkadot & cumulus

* backport cumulus changes

* make it build

* fix runtimes: only numeric literals are supported by sp_version::runtime_version macro

---------

Signed-off-by: acatangiu <adrian@parity.io>
  • Loading branch information
acatangiu authored and bkontur committed May 15, 2024
1 parent e9ad8a5 commit 315489b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bridges/modules/grandpa/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ use bp_header_chain::{
};
use bp_runtime::{BlockNumberOf, HashOf, HasherOf, HeaderId, HeaderOf, OwnedBridgeModule};
use frame_support::{dispatch::PostDispatchInfo, ensure, DefaultNoBound};
use sp_consensus_grandpa::SetId;
use sp_runtime::{
traits::{Header as HeaderT, Zero},
SaturatedConversion,
Expand Down Expand Up @@ -527,7 +526,7 @@ pub mod pallet {
fn may_refund_call_fee<T: Config<I>, I: 'static>(
finality_target: &BridgedHeader<T, I>,
justification: &GrandpaJustification<BridgedHeader<T, I>>,
current_set_id: SetId,
current_set_id: sp_consensus_grandpa::SetId,
improved_by: BridgedBlockNumber<T, I>,
) -> bool {
// if we have refunded too much at this block => not refunding
Expand Down

0 comments on commit 315489b

Please sign in to comment.