diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 6a4606dc70..17cdc18bb9 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -1353,7 +1353,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", ] @@ -1361,7 +1361,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -1378,7 +1378,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "parity-scale-codec", @@ -1396,7 +1396,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -1411,7 +1411,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "11.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "serde", @@ -1422,7 +1422,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "bitmask", "frame-metadata", @@ -1447,7 +1447,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support-procedural-tools", "proc-macro2 1.0.18", @@ -1458,7 +1458,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1470,7 +1470,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -1480,7 +1480,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1496,7 +1496,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -1510,7 +1510,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "sp-api", @@ -3483,7 +3483,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3499,7 +3499,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3514,7 +3514,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3539,7 +3539,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3553,7 +3553,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3569,7 +3569,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3584,7 +3584,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3599,7 +3599,7 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3615,7 +3615,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3637,7 +3637,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "enumflags2", "frame-benchmarking", @@ -3653,7 +3653,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3673,7 +3673,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3689,7 +3689,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3703,7 +3703,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3718,7 +3718,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3732,7 +3732,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3747,7 +3747,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3768,7 +3768,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3783,7 +3783,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3796,7 +3796,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "enumflags2", "frame-support", @@ -3811,7 +3811,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3826,7 +3826,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3846,7 +3846,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3862,7 +3862,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3876,7 +3876,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3898,7 +3898,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -3909,7 +3909,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3923,7 +3923,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3941,7 +3941,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "frame-system", @@ -3958,7 +3958,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -3976,7 +3976,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-support", "parity-scale-codec", @@ -3989,7 +3989,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4004,7 +4004,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4020,7 +4020,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4837,6 +4837,7 @@ name = "polkadot-rpc" version = "0.8.22" dependencies = [ "jsonrpc-core", + "jsonrpc-pubsub", "pallet-transaction-payment-rpc", "parity-scale-codec", "polkadot-primitives", @@ -6211,7 +6212,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "bytes 0.5.5", "derive_more 0.99.9", @@ -6238,7 +6239,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6262,7 +6263,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -6279,7 +6280,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "impl-trait-for-tuples", "sc-chain-spec-derive", @@ -6295,7 +6296,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -6306,7 +6307,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "ansi_term 0.12.1", "atty", @@ -6347,7 +6348,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "fnv", @@ -6383,7 +6384,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "blake2-rfc", "hash-db", @@ -6413,7 +6414,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "sc-client-api", "sp-blockchain", @@ -6424,7 +6425,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "fork-tree", @@ -6468,7 +6469,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -6492,7 +6493,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "fork-tree", "parity-scale-codec", @@ -6505,7 +6506,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6528,7 +6529,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "log 0.4.8", "sc-client-api", @@ -6542,7 +6543,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "lazy_static", @@ -6570,7 +6571,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "log 0.4.8", @@ -6587,7 +6588,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -6602,7 +6603,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "cranelift-codegen", "cranelift-wasm", @@ -6623,7 +6624,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "finality-grandpa", @@ -6660,7 +6661,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "finality-grandpa", @@ -6668,16 +6669,20 @@ dependencies = [ "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", + "jsonrpc-pubsub", "log 0.4.8", + "parity-scale-codec", "sc-finality-grandpa", + "sc-rpc", "serde", "serde_json", + "sp-runtime", ] [[package]] name = "sc-informant" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "ansi_term 0.12.1", "futures 0.3.5", @@ -6695,7 +6700,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "hex", @@ -6711,7 +6716,7 @@ dependencies = [ [[package]] name = "sc-light" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "hash-db", "lazy_static", @@ -6730,7 +6735,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "bitflags", "bs58", @@ -6782,7 +6787,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6797,7 +6802,7 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "env_logger", "futures 0.3.5", @@ -6824,7 +6829,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "bytes 0.5.5", "fnv", @@ -6851,7 +6856,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "futures 0.3.5", "libp2p", @@ -6864,7 +6869,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "log 0.4.8", "substrate-prometheus-endpoint", @@ -6873,7 +6878,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "futures 0.3.5", "hash-db", @@ -6905,7 +6910,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -6929,7 +6934,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -6945,7 +6950,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "directories", @@ -7005,7 +7010,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -7019,7 +7024,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -7040,7 +7045,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "erased-serde", "log 0.4.8", @@ -7057,7 +7062,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7078,7 +7083,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7533,7 +7538,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "log 0.4.8", @@ -7545,7 +7550,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "hash-db", "parity-scale-codec", @@ -7560,7 +7565,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -7572,7 +7577,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "serde", @@ -7584,7 +7589,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "integer-sqrt", "num-traits 0.2.12", @@ -7597,7 +7602,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "sp-api", @@ -7609,7 +7614,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -7620,7 +7625,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "sp-api", @@ -7632,7 +7637,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "log 0.4.8", @@ -7649,7 +7654,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "serde", "serde_json", @@ -7658,7 +7663,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7684,7 +7689,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "sp-api", @@ -7698,7 +7703,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "merlin", "parity-scale-codec", @@ -7717,7 +7722,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -7726,7 +7731,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -7738,7 +7743,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "base58", "blake2-rfc", @@ -7782,7 +7787,7 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -7791,7 +7796,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -7801,7 +7806,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "environmental", "parity-scale-codec", @@ -7812,7 +7817,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "finality-grandpa", "log 0.4.8", @@ -7828,7 +7833,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -7838,7 +7843,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "parity-scale-codec", @@ -7850,7 +7855,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "futures 0.3.5", "hash-db", @@ -7871,7 +7876,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "lazy_static", "sp-core", @@ -7882,7 +7887,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "serde", @@ -7894,7 +7899,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -7905,7 +7910,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "sp-api", "sp-core", @@ -7915,7 +7920,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "backtrace", "log 0.4.8", @@ -7924,7 +7929,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "serde", "sp-core", @@ -7933,7 +7938,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "either", "hash256-std-hasher", @@ -7955,7 +7960,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "primitive-types", @@ -7970,7 +7975,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "Inflector", "proc-macro-crate", @@ -7982,7 +7987,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "serde", "serde_json", @@ -7991,7 +7996,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "sp-api", @@ -8004,7 +8009,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -8014,7 +8019,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "hash-db", "itertools 0.9.0", @@ -8035,12 +8040,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" [[package]] name = "sp-storage" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "impl-serde 0.2.3", "ref-cast", @@ -8052,7 +8057,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8066,7 +8071,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "log 0.4.8", "rental", @@ -8076,7 +8081,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -8091,7 +8096,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "hash-db", "memory-db", @@ -8105,7 +8110,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "futures 0.3.5", "futures-core", @@ -8117,7 +8122,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "impl-serde 0.2.3", "parity-scale-codec", @@ -8129,7 +8134,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8260,7 +8265,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "chrono", "console_error_panic_hook", @@ -8286,7 +8291,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "platforms", ] @@ -8294,7 +8299,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.5", @@ -8317,7 +8322,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "async-std", "derive_more 0.99.9", @@ -8331,7 +8336,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "futures 0.1.29", "futures 0.3.5", @@ -8357,7 +8362,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "cfg-if", "frame-executive", @@ -8397,7 +8402,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" dependencies = [ "futures 0.3.5", "parity-scale-codec", @@ -8418,7 +8423,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder-runner" version = "1.0.6" -source = "git+https://github.com/paritytech/substrate#52494a465ab68904343c0525e86261ebcb166808" +source = "git+https://github.com/paritytech/substrate#eb0e05e126a027499d0993c0df8833c55bc359e0" [[package]] name = "substrate-wasm-builder-runner" diff --git a/polkadot/node/service/src/lib.rs b/polkadot/node/service/src/lib.rs index bb60eed9c6..df4bd64b8a 100644 --- a/polkadot/node/service/src/lib.rs +++ b/polkadot/node/service/src/lib.rs @@ -157,7 +157,7 @@ fn new_partial(config: &mut Configuration) -> Result< consensus_common::DefaultImportQueue>, sc_transaction_pool::FullPool>, ( - impl Fn(polkadot_rpc::DenyUnsafe) -> polkadot_rpc::RpcExtension, + impl Fn(polkadot_rpc::DenyUnsafe, polkadot_rpc::SubscriptionManager) -> polkadot_rpc::RpcExtension, ( babe::BabeBlockImport< Block, FullClient, FullGrandpaBlockImport @@ -227,6 +227,7 @@ fn new_partial(config: &mut Configuration) -> Result< config.prometheus_registry(), )?; + let justification_stream = grandpa_link.justification_stream(); let shared_authority_set = grandpa_link.shared_authority_set().clone(); let shared_voter_state = grandpa::SharedVoterState::empty(); @@ -242,7 +243,7 @@ fn new_partial(config: &mut Configuration) -> Result< let transaction_pool = transaction_pool.clone(); let select_chain = select_chain.clone(); - move |deny_unsafe| -> polkadot_rpc::RpcExtension { + move |deny_unsafe, subscriptions| -> polkadot_rpc::RpcExtension { let deps = polkadot_rpc::FullDeps { client: client.clone(), pool: transaction_pool.clone(), @@ -256,6 +257,8 @@ fn new_partial(config: &mut Configuration) -> Result< grandpa: polkadot_rpc::GrandpaDeps { shared_voter_state: shared_voter_state.clone(), shared_authority_set: shared_authority_set.clone(), + justification_stream: justification_stream.clone(), + subscriptions, }, }; diff --git a/polkadot/rpc/Cargo.toml b/polkadot/rpc/Cargo.toml index 04034f45ed..35ff0f9e91 100644 --- a/polkadot/rpc/Cargo.toml +++ b/polkadot/rpc/Cargo.toml @@ -6,6 +6,7 @@ edition = "2018" [dependencies] jsonrpc-core = "14.0.3" +jsonrpc-pubsub = "14.0.3" polkadot-primitives = { path = "../primitives" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/polkadot/rpc/src/lib.rs b/polkadot/rpc/src/lib.rs index b09c1b5d42..4867e14f15 100644 --- a/polkadot/rpc/src/lib.rs +++ b/polkadot/rpc/src/lib.rs @@ -30,6 +30,7 @@ use sc_client_api::light::{Fetcher, RemoteBlockchain}; use sc_consensus_babe::Epoch; use sp_block_builder::BlockBuilder; pub use sc_rpc::DenyUnsafe; +pub use jsonrpc_pubsub::manager::SubscriptionManager; /// A type representing all RPC extensions. pub type RpcExtension = jsonrpc_core::IoHandler; @@ -62,6 +63,10 @@ pub struct GrandpaDeps { pub shared_voter_state: sc_finality_grandpa::SharedVoterState, /// Authority set info. pub shared_authority_set: sc_finality_grandpa::SharedAuthoritySet, + /// Receives notifications about justification events from Grandpa. + pub justification_stream: sc_finality_grandpa::GrandpaJustificationStream, + /// Subscription manager to keep track of pubsub subscribers. + pub subscriptions: jsonrpc_pubsub::manager::SubscriptionManager, } /// Full client dependencies @@ -114,6 +119,8 @@ pub fn create_full(deps: FullDeps) -> RpcExtension where let GrandpaDeps { shared_voter_state, shared_authority_set, + justification_stream, + subscriptions, } = grandpa; io.extend_with( @@ -138,6 +145,8 @@ pub fn create_full(deps: FullDeps) -> RpcExtension where GrandpaApi::to_delegate(GrandpaRpcHandler::new( shared_authority_set, shared_voter_state, + justification_stream, + subscriptions, )) ); io diff --git a/polkadot/service/src/lib.rs b/polkadot/service/src/lib.rs index 24796d0f50..a8b8d39899 100644 --- a/polkadot/service/src/lib.rs +++ b/polkadot/service/src/lib.rs @@ -127,7 +127,7 @@ pub fn new_partial(config: &mut Configuration, test: bool) consensus_common::DefaultImportQueue>, sc_transaction_pool::FullPool>, ( - impl Fn(polkadot_rpc::DenyUnsafe) -> polkadot_rpc::RpcExtension, + impl Fn(polkadot_rpc::DenyUnsafe, polkadot_rpc::SubscriptionManager) -> polkadot_rpc::RpcExtension, ( babe::BabeBlockImport< Block, FullClient, FullGrandpaBlockImport @@ -202,6 +202,7 @@ pub fn new_partial(config: &mut Configuration, test: bool) config.prometheus_registry(), )?; + let justification_stream = grandpa_link.justification_stream(); let shared_authority_set = grandpa_link.shared_authority_set().clone(); let shared_voter_state = grandpa::SharedVoterState::empty(); @@ -217,7 +218,7 @@ pub fn new_partial(config: &mut Configuration, test: bool) let transaction_pool = transaction_pool.clone(); let select_chain = select_chain.clone(); - move |deny_unsafe| -> polkadot_rpc::RpcExtension { + move |deny_unsafe, subscriptions| -> polkadot_rpc::RpcExtension { let deps = polkadot_rpc::FullDeps { client: client.clone(), pool: transaction_pool.clone(), @@ -231,6 +232,8 @@ pub fn new_partial(config: &mut Configuration, test: bool) grandpa: polkadot_rpc::GrandpaDeps { shared_voter_state: shared_voter_state.clone(), shared_authority_set: shared_authority_set.clone(), + justification_stream: justification_stream.clone(), + subscriptions, }, };