Add Transaction Fee RPC to Statemint/Statemine (#559)

* add payment rpc to parachains

* connect payment rpc to parachains clients

* fix the rumtime_api bound/ add separate start node implementation for shell

* use cumulus/parachain specific primitives

* Update polkadot-parachains/src/rpc.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* rename txpool dependency

* fix the package name

* move parachain primitives to separate module

* Refactor Shared Primitves for Payment Info (#577)

* rename to parachains-common

* refactor shared opaque

* remove primitives

* Update service.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
hamidra
2021-08-17 09:55:56 -07:00
committed by GitHub
parent 2a519e01cb
commit 0436b76f93
18 changed files with 560 additions and 261 deletions
+32 -27
View File
@@ -6133,6 +6133,29 @@ dependencies = [
"serde",
]
[[package]]
name = "parachains-common"
version = "1.0.0"
dependencies = [
"frame-executive",
"frame-support",
"frame-system",
"node-primitives",
"pallet-authorship",
"pallet-balances",
"pallet-collator-selection",
"parity-scale-codec",
"polkadot-primitives",
"polkadot-runtime-common",
"serde",
"sp-consensus-aura",
"sp-core",
"sp-io",
"sp-runtime",
"sp-std",
"substrate-wasm-builder",
]
[[package]]
name = "parity-db"
version = "0.3.1"
@@ -6696,6 +6719,8 @@ dependencies = [
"jsonrpc-core",
"log",
"nix",
"pallet-transaction-payment-rpc",
"parachains-common",
"parity-scale-codec",
"parking_lot 0.10.2",
"polkadot-cli",
@@ -6717,6 +6742,7 @@ dependencies = [
"sc-telemetry",
"sc-tracing",
"sc-transaction-pool",
"sc-transaction-pool-api",
"serde",
"shell-runtime",
"sp-api",
@@ -6734,10 +6760,10 @@ dependencies = [
"sp-timestamp",
"sp-transaction-pool",
"statemine-runtime",
"statemint-common",
"statemint-runtime",
"structopt",
"substrate-build-script-utils",
"substrate-frame-rpc-system",
"substrate-prometheus-endpoint",
"tempfile",
"tokio 0.2.24",
@@ -8649,6 +8675,7 @@ dependencies = [
"frame-executive",
"frame-support",
"frame-system",
"frame-system-rpc-runtime-api",
"hex",
"hex-literal 0.3.3",
"log",
@@ -8659,6 +8686,7 @@ dependencies = [
"pallet-sudo",
"pallet-timestamp",
"pallet-transaction-payment",
"pallet-transaction-payment-rpc-runtime-api",
"pallet-xcm",
"parachain-info",
"parity-scale-codec",
@@ -11136,6 +11164,7 @@ dependencies = [
"pallet-utility",
"pallet-xcm",
"parachain-info",
"parachains-common",
"parity-scale-codec",
"polkadot-parachain",
"polkadot-runtime-common",
@@ -11153,36 +11182,12 @@ dependencies = [
"sp-std",
"sp-transaction-pool",
"sp-version",
"statemint-common",
"substrate-wasm-builder",
"xcm",
"xcm-builder",
"xcm-executor",
]
[[package]]
name = "statemint-common"
version = "1.0.0"
dependencies = [
"frame-executive",
"frame-support",
"frame-system",
"node-primitives",
"pallet-authorship",
"pallet-balances",
"pallet-collator-selection",
"parity-scale-codec",
"polkadot-primitives",
"polkadot-runtime-common",
"serde",
"sp-consensus-aura",
"sp-core",
"sp-io",
"sp-runtime",
"sp-std",
"substrate-wasm-builder",
]
[[package]]
name = "statemint-runtime"
version = "1.0.0"
@@ -11224,6 +11229,7 @@ dependencies = [
"pallet-utility",
"pallet-xcm",
"parachain-info",
"parachains-common",
"parity-scale-codec",
"polkadot-parachain",
"polkadot-runtime-common",
@@ -11241,7 +11247,6 @@ dependencies = [
"sp-std",
"sp-transaction-pool",
"sp-version",
"statemint-common",
"substrate-wasm-builder",
"xcm",
"xcm-builder",
@@ -12931,6 +12936,7 @@ dependencies = [
"pallet-utility",
"pallet-xcm",
"parachain-info",
"parachains-common",
"parity-scale-codec",
"polkadot-parachain",
"polkadot-runtime-common",
@@ -12948,7 +12954,6 @@ dependencies = [
"sp-std",
"sp-transaction-pool",
"sp-version",
"statemint-common",
"substrate-wasm-builder",
"xcm",
"xcm-builder",