mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
Rename PAINT to PALETTE (#4161)
* /paint to /palette * rename paint to palette * rename the modules in palette to be pallets * update Structure.adoc * bump impl * fix CI directory * Update docs/Structure.adoc Co-Authored-By: Benjamin Kampmann <ben@gnunicorn.org>
This commit is contained in:
committed by
Benjamin Kampmann
parent
512c86a72f
commit
2783b44207
@@ -5,18 +5,18 @@ authors = ["Anonymous"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
aura = { package = "paint-aura", path = "../../../paint/aura", default-features = false }
|
||||
aura = { package = "pallet-aura", path = "../../../palette/aura", default-features = false }
|
||||
aura-primitives = { package = "substrate-consensus-aura-primitives", path = "../../../primitives/consensus/aura", default-features = false }
|
||||
balances = { package = "paint-balances", path = "../../../paint/balances", default-features = false }
|
||||
balances = { package = "pallet-balances", path = "../../../palette/balances", default-features = false }
|
||||
block-builder-api = { package = "substrate-block-builder-runtime-api", path = "../../../primitives/block-builder/runtime-api", default-features = false}
|
||||
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
||||
executive = { package = "paint-executive", path = "../../../paint/executive", default-features = false }
|
||||
grandpa = { package = "paint-grandpa", path = "../../../paint/grandpa", default-features = false }
|
||||
indices = { package = "paint-indices", path = "../../../paint/indices", default-features = false }
|
||||
executive = { package = "palette-executive", path = "../../../palette/executive", default-features = false }
|
||||
grandpa = { package = "pallet-grandpa", path = "../../../palette/grandpa", default-features = false }
|
||||
indices = { package = "pallet-indices", path = "../../../palette/indices", default-features = false }
|
||||
inherents = { package = "substrate-inherents", path = "../../../primitives/inherents", default-features = false}
|
||||
offchain-primitives = { package = "substrate-offchain-primitives", path = "../../../primitives/offchain", default-features = false }
|
||||
primitives = { package = "substrate-primitives", path = "../../../primitives/core", default-features = false }
|
||||
randomness-collective-flip = { package = "paint-randomness-collective-flip", path = "../../../paint/randomness-collective-flip", default-features = false }
|
||||
randomness-collective-flip = { package = "pallet-randomness-collective-flip", path = "../../../palette/randomness-collective-flip", default-features = false }
|
||||
rstd = { package = "sr-std", path = "../../../primitives/sr-std", default-features = false }
|
||||
runtime-io = { package = "sr-io", path = "../../../primitives/sr-io", default-features = false }
|
||||
safe-mix = { version = "1.0.0", default-features = false }
|
||||
@@ -24,11 +24,11 @@ serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
||||
sr-api = { path = "../../../primitives/sr-api", default-features = false }
|
||||
sr-primitives = { path = "../../../primitives/sr-primitives", default-features = false }
|
||||
substrate-session = { path = "../../../primitives/session", default-features = false }
|
||||
sudo = { package = "paint-sudo", path = "../../../paint/sudo", default-features = false }
|
||||
support = { package = "paint-support", path = "../../../paint/support", default-features = false }
|
||||
system = { package = "paint-system", path = "../../../paint/system", default-features = false }
|
||||
timestamp = { package = "paint-timestamp", path = "../../../paint/timestamp", default-features = false }
|
||||
transaction-payment = { package = "paint-transaction-payment", path = "../../../paint/transaction-payment", default-features = false }
|
||||
sudo = { package = "pallet-sudo", path = "../../../palette/sudo", default-features = false }
|
||||
support = { package = "palette-support", path = "../../../palette/support", default-features = false }
|
||||
system = { package = "palette-system", path = "../../../palette/system", default-features = false }
|
||||
timestamp = { package = "pallet-timestamp", path = "../../../palette/timestamp", default-features = false }
|
||||
transaction-payment = { package = "pallet-transaction-payment", path = "../../../palette/transaction-payment", default-features = false }
|
||||
tx-pool-api = { package = "substrate-transaction-pool-runtime-api", path = "../../../primitives/transaction-pool/runtime-api", default-features = false }
|
||||
version = { package = "sr-version", path = "../../../primitives/sr-version", default-features = false }
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
/// For more guidance on Substrate modules, see the example module
|
||||
/// https://github.com/paritytech/substrate/blob/master/paint/example/src/lib.rs
|
||||
/// https://github.com/paritytech/substrate/blob/master/palette/example/src/lib.rs
|
||||
|
||||
use support::{decl_module, decl_storage, decl_event, dispatch::Result};
|
||||
use system::ensure_signed;
|
||||
|
||||
Reference in New Issue
Block a user