mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 18:11:10 +00:00
Introduce Minimal Header Chain: Proving Interface (#287)
* Add header-chain primitive crate * Make MinimalHeaderChain functionaly the same as PeerBlockchain * Use a better doc comment for MinimalHeaderChain * Fix benchmark compilation * Rust Fmt * Remove Substrate based dependencies * Rename MinimalHeaderChain to BaseHeaderChain
This commit is contained in:
committed by
Bastian Köcher
parent
a0555d8118
commit
29244ba76d
@@ -17,9 +17,9 @@
|
||||
use crate::exchange::EthereumTransactionInclusionProof;
|
||||
|
||||
use bp_eth_poa::{Address, Header, RawTransaction, U256};
|
||||
use bp_header_chain::BaseHeaderChain;
|
||||
use frame_support::RuntimeDebug;
|
||||
use hex_literal::hex;
|
||||
use pallet_bridge_currency_exchange::PeerBlockchain;
|
||||
use pallet_bridge_eth_poa::{
|
||||
AuraConfiguration, PruningStrategy as BridgePruningStrategy, ValidatorsConfiguration, ValidatorsSource,
|
||||
};
|
||||
@@ -137,7 +137,7 @@ impl BridgePruningStrategy for PruningStrategy {
|
||||
/// The Kovan Blockchain as seen by the runtime.
|
||||
pub struct KovanBlockchain;
|
||||
|
||||
impl PeerBlockchain for KovanBlockchain {
|
||||
impl BaseHeaderChain for KovanBlockchain {
|
||||
type Transaction = RawTransaction;
|
||||
type TransactionInclusionProof = EthereumTransactionInclusionProof;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user