diff --git a/Cargo.lock b/Cargo.lock index 10b016a8dce4..e0d38beae0d9 100644 --- a/Cargo.lock +++ b/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", @@ -4782,6 +4782,7 @@ name = "polkadot-rpc" version = "0.8.22" dependencies = [ "jsonrpc-core", + "jsonrpc-pubsub", "pallet-transaction-payment-rpc", "parity-scale-codec", "polkadot-primitives", @@ -6155,7 +6156,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", @@ -6182,7 +6183,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", @@ -6206,7 +6207,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", @@ -6223,7 +6224,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", @@ -6239,7 +6240,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", @@ -6250,7 +6251,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", @@ -6291,7 +6292,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", @@ -6327,7 +6328,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", @@ -6357,7 +6358,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", @@ -6368,7 +6369,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", @@ -6412,7 +6413,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", @@ -6436,7 +6437,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", @@ -6449,7 +6450,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", @@ -6472,7 +6473,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", @@ -6486,7 +6487,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", @@ -6514,7 +6515,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", @@ -6531,7 +6532,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", @@ -6546,7 +6547,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", @@ -6567,7 +6568,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", @@ -6604,7 +6605,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", @@ -6612,16 +6613,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", @@ -6639,7 +6644,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", @@ -6655,7 +6660,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", @@ -6674,7 +6679,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", @@ -6726,7 +6731,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", @@ -6741,7 +6746,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", @@ -6768,7 +6773,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", @@ -6795,7 +6800,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", @@ -6808,7 +6813,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", @@ -6817,7 +6822,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", @@ -6849,7 +6854,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", @@ -6873,7 +6878,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", @@ -6889,7 +6894,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", @@ -6949,7 +6954,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", @@ -6963,7 +6968,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", @@ -6984,7 +6989,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", @@ -7001,7 +7006,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", @@ -7022,7 +7027,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", @@ -7477,7 +7482,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", @@ -7489,7 +7494,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", @@ -7504,7 +7509,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", @@ -7516,7 +7521,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", @@ -7528,7 +7533,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", @@ -7541,7 +7546,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", @@ -7553,7 +7558,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", @@ -7564,7 +7569,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", @@ -7576,7 +7581,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", @@ -7593,7 +7598,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", @@ -7602,7 +7607,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", @@ -7628,7 +7633,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", @@ -7642,7 +7647,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", @@ -7661,7 +7666,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", @@ -7670,7 +7675,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", @@ -7682,7 +7687,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", @@ -7726,7 +7731,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", @@ -7735,7 +7740,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", @@ -7745,7 +7750,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", @@ -7756,7 +7761,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", @@ -7772,7 +7777,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", @@ -7782,7 +7787,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", @@ -7794,7 +7799,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", @@ -7815,7 +7820,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", @@ -7826,7 +7831,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", @@ -7838,7 +7843,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", @@ -7849,7 +7854,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", @@ -7859,7 +7864,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", @@ -7868,7 +7873,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", @@ -7877,7 +7882,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", @@ -7899,7 +7904,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", @@ -7914,7 +7919,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", @@ -7926,7 +7931,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", @@ -7935,7 +7940,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", @@ -7948,7 +7953,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", @@ -7958,7 +7963,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", @@ -7979,12 +7984,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", @@ -7996,7 +8001,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", @@ -8010,7 +8015,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", @@ -8020,7 +8025,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", @@ -8035,7 +8040,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", @@ -8049,7 +8054,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", @@ -8061,7 +8066,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", @@ -8073,7 +8078,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", @@ -8204,7 +8209,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", @@ -8230,7 +8235,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", ] @@ -8238,7 +8243,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", @@ -8261,7 +8266,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", @@ -8275,7 +8280,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", @@ -8301,7 +8306,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", @@ -8341,7 +8346,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", @@ -8362,7 +8367,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/node/service/src/lib.rs b/node/service/src/lib.rs index bb60eed9c65f..df4bd64b8aa8 100644 --- a/node/service/src/lib.rs +++ b/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/rpc/Cargo.toml b/rpc/Cargo.toml index 04034f45eda7..35ff0f9e9142 100644 --- a/rpc/Cargo.toml +++ b/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/rpc/src/lib.rs b/rpc/src/lib.rs index b09c1b5d4201..4867e14f15d5 100644 --- a/rpc/src/lib.rs +++ b/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/service/src/lib.rs b/service/src/lib.rs index 24796d0f5056..a8b8d398999b 100644 --- a/service/src/lib.rs +++ b/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, }, };