primitives: remove random_seed from BlockBuilder API (#8718)

* primitives: remove random_seed from BlockBuilderApi

* node: remove random_seed

* primitives: bump BlockBuilderApi version

* client: rpc: fix test
This commit is contained in:
André Silva authored and GitHub committed 2021-05-04 09:29:44 +00:00
1 parent 5fb7658ae9
commit 122cb6038a
5 files changed
+7 -23

No files matched your search

-8
View File
@@ -665,10 +665,6 @@ cfg_if! {
fn check_inherents(_block: Block, _data: InherentData) -> CheckInherentsResult {
CheckInherentsResult::new()
}
fn random_seed() -> <Block as BlockT>::Hash {
unimplemented!()
}
}
impl self::TestAPI<Block> for Runtime {
@@ -922,10 +918,6 @@ cfg_if! {
fn check_inherents(_block: Block, _data: InherentData) -> CheckInherentsResult {
CheckInherentsResult::new()
}
fn random_seed() -> <Block as BlockT>::Hash {
unimplemented!()
}
}
impl self::TestAPI<Block> for Runtime {