mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 09:51:02 +00:00
remove duplicate parachain heads exension (#1444)
* remove duplicate parachain heads exension * fix benchmarks compilation * actually fix it
This commit is contained in:
committed by
Bastian Köcher
parent
db2bc11476
commit
53780cfd1a
@@ -25,6 +25,11 @@
|
||||
/// Call::BridgeWestendGrandpa => WestendGrandpaInstance,
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
/// The goal of this extension is to avoid "mining" transactions that provide
|
||||
/// outdated bridged chain headers. Without that extension, even honest relayers
|
||||
/// may lose their funds if there are multiple relays running and submitting the
|
||||
/// same information.
|
||||
#[macro_export]
|
||||
macro_rules! declare_bridge_reject_obsolete_grandpa_header {
|
||||
($runtime:ident, $($call:path => $instance:ty),*) => {
|
||||
|
||||
Reference in New Issue
Block a user