Use Polkadot Constants instead of Hardcoding (#868)

* added Polkadot constants

* remove hardcoded constants

* cargo +nightly fmt

* add const existential deposit

* update

* cargo +nightly fmt

* not pulling

* readd constants.rs modules

* update

* Cargo.lock

* update

* add balance constants

* Update polkadot-parachains/statemine/src/constants.rs

Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com>

* cargo fmt

Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com>
This commit is contained in:
Doordashcon
2022-01-13 12:54:59 +01:00
committed by GitHub
parent 9452a64099
commit 2d9123d456
10 changed files with 37 additions and 25 deletions
Generated
+3
View File
@@ -10954,6 +10954,7 @@ dependencies = [
"frame-system-rpc-runtime-api",
"frame-try-runtime",
"hex-literal 0.3.4",
"kusama-runtime-constants",
"log",
"node-primitives",
"pallet-asset-tx-payment",
@@ -11043,6 +11044,7 @@ dependencies = [
"parity-scale-codec",
"polkadot-parachain",
"polkadot-runtime-common",
"polkadot-runtime-constants",
"scale-info",
"serde",
"smallvec",
@@ -12478,6 +12480,7 @@ dependencies = [
"sp-transaction-pool",
"sp-version",
"substrate-wasm-builder",
"westend-runtime-constants",
"xcm",
"xcm-builder",
"xcm-executor",