extract some grandpa types to Primitives crate (#12208)

* extract some grandpa types to primitives

* fmt

* fmt
This commit is contained in:
yjh authored and GitHub committed 2022-09-12 21:34:43 +00:00
1 parent 967d790d5f
commit 472b5746e5
11 files changed
+197 -125

No files matched your search

@@ -21,7 +21,7 @@ use std::{convert::TryInto, sync::Arc};
use codec::{Codec, Decode};
use jsonrpsee::{
core::{async_trait, Error as JsonRpseeError, RpcResult},
core::{Error as JsonRpseeError, RpcResult},
proc_macros::rpc,
types::error::{CallError, ErrorCode, ErrorObject},
};
@@ -81,7 +81,6 @@ impl From<Error> for i32 {
}
}
#[async_trait]
impl<C, Block, Balance>
TransactionPaymentApiServer<<Block as BlockT>::Hash, RuntimeDispatchInfo<Balance>>
for TransactionPayment<C, Block>