mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 10:41:01 +00:00
Fix up polkadot runtime
This commit is contained in:
@@ -8,14 +8,14 @@ error-chain = "0.12"
|
||||
polkadot-executor = { path = "../executor" }
|
||||
polkadot-runtime = { path = "../runtime" }
|
||||
polkadot-primitives = { path = "../primitives" }
|
||||
substrate-codec = { git = "https://github.com/paritytech/substrate" }
|
||||
substrate-runtime-io = { git = "https://github.com/paritytech/substrate" }
|
||||
substrate-runtime-executive = { git = "https://github.com/paritytech/substrate" }
|
||||
substrate-runtime-primitives = { git = "https://github.com/paritytech/substrate" }
|
||||
substrate-client = { git = "https://github.com/paritytech/substrate" }
|
||||
substrate-primitives = { git = "https://github.com/paritytech/substrate" }
|
||||
substrate-executor = { git = "https://github.com/paritytech/substrate" }
|
||||
substrate-state-machine = { git = "https://github.com/paritytech/substrate" }
|
||||
substrate-codec = { git = "https://github.com/paritytech/substrate", branch = "polkadot" }
|
||||
substrate-runtime-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot" }
|
||||
substrate-runtime-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot" }
|
||||
substrate-runtime-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot" }
|
||||
substrate-client = { git = "https://github.com/paritytech/substrate", branch = "polkadot" }
|
||||
substrate-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot" }
|
||||
substrate-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot" }
|
||||
substrate-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot" }
|
||||
|
||||
[dev-dependencies]
|
||||
substrate-keyring = { git = "https://github.com/paritytech/substrate" }
|
||||
substrate-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot" }
|
||||
|
||||
@@ -121,7 +121,7 @@ impl<B: LocalBackend<Block, KeccakHasher, RlpCodec>> PolkadotApi for Client<B, L
|
||||
}
|
||||
|
||||
fn lookup(&self, at: &BlockId, address: Address) -> Result<Option<AccountId>> {
|
||||
with_runtime!(self, at, || <::runtime::Staking as AuxLookup>::lookup(address).ok())
|
||||
with_runtime!(self, at, || <::runtime::Balances as AuxLookup>::lookup(address).ok())
|
||||
}
|
||||
|
||||
fn active_parachains(&self, at: &BlockId) -> Result<Vec<ParaId>> {
|
||||
|
||||
Reference in New Issue
Block a user