mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
Companion for Substrate#10445 (#4506)
* runtimes: use updated BeefyApi * update lockfile for substrate
This commit is contained in:
Generated
+168
-168
File diff suppressed because it is too large
Load Diff
@@ -1828,9 +1828,9 @@ sp_api::impl_runtime_apis! {
|
||||
}
|
||||
|
||||
impl beefy_primitives::BeefyApi<Block> for Runtime {
|
||||
fn validator_set() -> beefy_primitives::ValidatorSet<BeefyId> {
|
||||
fn validator_set() -> Option<beefy_primitives::ValidatorSet<BeefyId>> {
|
||||
// dummy implementation due to lack of BEEFY pallet.
|
||||
beefy_primitives::ValidatorSet { validators: Vec::new(), id: 0 }
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1795,9 +1795,9 @@ sp_api::impl_runtime_apis! {
|
||||
}
|
||||
|
||||
impl beefy_primitives::BeefyApi<Block> for Runtime {
|
||||
fn validator_set() -> beefy_primitives::ValidatorSet<BeefyId> {
|
||||
fn validator_set() -> Option<beefy_primitives::ValidatorSet<BeefyId>> {
|
||||
// dummy implementation due to lack of BEEFY pallet.
|
||||
beefy_primitives::ValidatorSet { validators: Vec::new(), id: 0 }
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1490,7 +1490,7 @@ sp_api::impl_runtime_apis! {
|
||||
}
|
||||
|
||||
impl beefy_primitives::BeefyApi<Block> for Runtime {
|
||||
fn validator_set() -> beefy_primitives::ValidatorSet<BeefyId> {
|
||||
fn validator_set() -> Option<beefy_primitives::ValidatorSet<BeefyId>> {
|
||||
Beefy::validator_set()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -887,9 +887,9 @@ sp_api::impl_runtime_apis! {
|
||||
}
|
||||
|
||||
impl beefy_primitives::BeefyApi<Block> for Runtime {
|
||||
fn validator_set() -> beefy_primitives::ValidatorSet<BeefyId> {
|
||||
fn validator_set() -> Option<beefy_primitives::ValidatorSet<BeefyId>> {
|
||||
// dummy implementation due to lack of BEEFY pallet.
|
||||
beefy_primitives::ValidatorSet { validators: Vec::new(), id: 0 }
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1399,9 +1399,9 @@ sp_api::impl_runtime_apis! {
|
||||
}
|
||||
|
||||
impl beefy_primitives::BeefyApi<Block> for Runtime {
|
||||
fn validator_set() -> beefy_primitives::ValidatorSet<BeefyId> {
|
||||
fn validator_set() -> Option<beefy_primitives::ValidatorSet<BeefyId>> {
|
||||
// dummy implementation due to lack of BEEFY pallet.
|
||||
beefy_primitives::ValidatorSet { validators: Vec::new(), id: 0 }
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user