mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-17 08:06:07 +00:00
Add missing RPC required for relay (#57)
* add missing RPC required for relay * cargo fmt --all
This commit is contained in:
1 parent
1da78b8ab4
commit
b055027161
4 files changed
+34
No files matched your search
@@ -330,6 +330,12 @@ impl_runtime_apis! {
|
||||
}
|
||||
}
|
||||
|
||||
impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Index> for Runtime {
|
||||
fn account_nonce(account: AccountId) -> Index {
|
||||
System::account_nonce(account)
|
||||
}
|
||||
}
|
||||
|
||||
impl sp_bridge_eth_poa::EthereumHeadersApi<Block> for Runtime {
|
||||
fn best_block() -> (u64, sp_bridge_eth_poa::H256) {
|
||||
BridgeEthPoA::best_block()
|
||||
|
||||
Reference in new issue
Block a user