mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 05:51:02 +00:00
Companion for Substrate#14373 (#7572)
* rename BEEFY `crypto` →`ecdsa_crypto`
* - bump up `BeefyApi` to version 3
- deal with `PeerId` error.
* update BEEFY dependency names for `fake-runtime` and `chain_spec`
revert Cargo.toml
* cargo fmt
* Use master Cargo.lock
* update lockfile for {"substrate"}
---------
Co-authored-by: Davide Galassi <davxy@datawok.net>
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
//! Polkadot chain configurations.
|
||||
|
||||
use beefy_primitives::crypto::AuthorityId as BeefyId;
|
||||
use beefy_primitives::ecdsa_crypto::AuthorityId as BeefyId;
|
||||
use grandpa::AuthorityId as GrandpaId;
|
||||
#[cfg(feature = "kusama-native")]
|
||||
use kusama_runtime as kusama;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//!
|
||||
//! These are used to provide a type that implements these runtime APIs without requiring to import the native runtimes.
|
||||
|
||||
use beefy_primitives::crypto::{AuthorityId as BeefyId, Signature as BeefySignature};
|
||||
use beefy_primitives::ecdsa_crypto::{AuthorityId as BeefyId, Signature as BeefySignature};
|
||||
use grandpa_primitives::AuthorityId as GrandpaId;
|
||||
use pallet_transaction_payment::{FeeDetails, RuntimeDispatchInfo};
|
||||
use polkadot_primitives::{
|
||||
@@ -230,7 +230,7 @@ sp_api::impl_runtime_apis! {
|
||||
}
|
||||
}
|
||||
|
||||
impl beefy_primitives::BeefyApi<Block> for Runtime {
|
||||
impl beefy_primitives::BeefyApi<Block, BeefyId> for Runtime {
|
||||
fn beefy_genesis() -> Option<BlockNumber> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user