Fix naming of utility crate (it's a legit pallet) (#4408)

* Fix naming of utility crate (it's a legit pallet)

* Additional bits
This commit is contained in:
Gavin Wood
2019-12-17 14:25:52 +08:00
committed by GitHub
parent f20bb8b196
commit 48860a768b
4 changed files with 21 additions and 21 deletions
+16 -16
View File
@@ -1397,21 +1397,6 @@ dependencies = [
"sp-api 2.0.0",
]
[[package]]
name = "frame-utility"
version = "2.0.0"
dependencies = [
"frame-support 2.0.0",
"frame-system 2.0.0",
"pallet-balances 2.0.0",
"parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
"sp-core 2.0.0",
"sp-io 2.0.0",
"sp-runtime 2.0.0",
"sp-std 2.0.0",
]
[[package]]
name = "fs-swap"
version = "0.2.4"
@@ -3151,7 +3136,6 @@ dependencies = [
"frame-support 2.0.0",
"frame-system 2.0.0",
"frame-system-rpc-runtime-api 2.0.0",
"frame-utility 2.0.0",
"integer-sqrt 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"node-primitives 2.0.0",
"pallet-authority-discovery 0.1.0",
@@ -3179,6 +3163,7 @@ dependencies = [
"pallet-transaction-payment 2.0.0",
"pallet-transaction-payment-rpc-runtime-api 2.0.0",
"pallet-treasury 2.0.0",
"pallet-utility 2.0.0",
"parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4044,6 +4029,21 @@ dependencies = [
"sp-std 2.0.0",
]
[[package]]
name = "pallet-utility"
version = "2.0.0"
dependencies = [
"frame-support 2.0.0",
"frame-system 2.0.0",
"pallet-balances 2.0.0",
"parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
"sp-core 2.0.0",
"sp-io 2.0.0",
"sp-runtime 2.0.0",
"sp-std 2.0.0",
]
[[package]]
name = "parity-bytes"
version = "0.1.1"
+2 -2
View File
@@ -58,7 +58,7 @@ frame-system = { path = "../../../frame/system", default-features = false }
frame-system-rpc-runtime-api = { path = "../../../frame/system/rpc/runtime-api/", default-features = false }
pallet-timestamp = { path = "../../../frame/timestamp", default-features = false }
pallet-treasury = { path = "../../../frame/treasury", default-features = false }
frame-utility = { path = "../../../frame/utility", default-features = false }
pallet-utility = { path = "../../../frame/utility", default-features = false }
pallet-transaction-payment = { path = "../../../frame/transaction-payment", default-features = false }
pallet-transaction-payment-rpc-runtime-api = { path = "../../../frame/transaction-payment/rpc/runtime-api/", default-features = false }
@@ -117,6 +117,6 @@ std = [
"pallet-transaction-payment/std",
"pallet-treasury/std",
"sp-transaction-pool/std",
"frame-utility/std",
"pallet-utility/std",
"sp-version/std",
]
+2 -2
View File
@@ -127,7 +127,7 @@ impl frame_system::Trait for Runtime {
type Version = Version;
}
impl frame_utility::Trait for Runtime {
impl pallet_utility::Trait for Runtime {
type Event = Event;
type Call = Call;
}
@@ -515,7 +515,7 @@ construct_runtime!(
UncheckedExtrinsic = UncheckedExtrinsic
{
System: system::{Module, Call, Storage, Config, Event},
Utility: frame_utility::{Module, Call, Event},
Utility: pallet_utility::{Module, Call, Event},
Babe: pallet_babe::{Module, Call, Storage, Config, Inherent(Timestamp)},
Timestamp: pallet_timestamp::{Module, Call, Storage, Inherent},
Authorship: pallet_authorship::{Module, Call, Storage, Inherent},
+1 -1
View File
@@ -1,5 +1,5 @@
[package]
name = "frame-utility"
name = "pallet-utility"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"