Migrate pallet-transaction-payment to new pallet attribute macro (#9087)

* Migrate pallet-transaciont-payment to new pallet attribute macro

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* remove generic from genesis config

* fix test

* fix tests

* fix deprecated

* fix tests

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
Qinxuan Chen
2021-06-25 11:23:36 +08:00
committed by GitHub
parent 20347c2edb
commit bc0520913d
16 changed files with 187 additions and 130 deletions
+10 -8
View File
@@ -15,29 +15,31 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.101", optional = true }
sp-std = { version = "3.0.0", default-features = false, path = "../../primitives/std" }
smallvec = "1.4.1"
sp-core = { version = "3.0.0", path = "../../primitives/core", default-features = false }
sp-io = { version = "3.0.0", path = "../../primitives/io", default-features = false }
sp-runtime = { version = "3.0.0", default-features = false, path = "../../primitives/runtime" }
sp-std = { version = "3.0.0", default-features = false, path = "../../primitives/std" }
frame-support = { version = "3.0.0", default-features = false, path = "../support" }
frame-system = { version = "3.0.0", default-features = false, path = "../system" }
smallvec = "1.4.1"
sp-io = { version = "3.0.0", path = "../../primitives/io", default-features = false }
sp-core = { version = "3.0.0", path = "../../primitives/core", default-features = false }
[dev-dependencies]
serde_json = "1.0.41"
pallet-balances = { version = "3.0.0", path = "../balances" }
sp-storage = { version = "3.0.0", path = "../../primitives/storage" }
pallet-balances = { version = "3.0.0", path = "../balances" }
[features]
default = ["std"]
std = [
"serde",
"codec/std",
"sp-std/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"frame-support/std",
"frame-system/std",
"sp-io/std",
"sp-core/std",
]
try-runtime = ["frame-support/try-runtime"]