From b3bdc3f6f64e2a98edd81a116c1281b4db5979b6 Mon Sep 17 00:00:00 2001 From: devwckd Date: Mon, 9 Dec 2024 14:58:36 -0300 Subject: [PATCH] refac: rename pallet --- Cargo.lock | 2 +- pallets/{governance0 => governance}/Cargo.toml | 2 +- pallets/{governance0 => governance}/src/application.rs | 0 pallets/{governance0 => governance}/src/config.rs | 0 pallets/{governance0 => governance}/src/curator.rs | 0 pallets/{governance0 => governance}/src/lib.rs | 0 pallets/{governance0 => governance}/src/proposal.rs | 0 pallets/{governance0 => governance}/src/voting.rs | 0 pallets/{governance0 => governance}/src/whitelist.rs | 0 9 files changed, 2 insertions(+), 2 deletions(-) rename pallets/{governance0 => governance}/Cargo.toml (94%) rename pallets/{governance0 => governance}/src/application.rs (100%) rename pallets/{governance0 => governance}/src/config.rs (100%) rename pallets/{governance0 => governance}/src/curator.rs (100%) rename pallets/{governance0 => governance}/src/lib.rs (100%) rename pallets/{governance0 => governance}/src/proposal.rs (100%) rename pallets/{governance0 => governance}/src/voting.rs (100%) rename pallets/{governance0 => governance}/src/whitelist.rs (100%) diff --git a/Cargo.lock b/Cargo.lock index acbd41f..0c954f5 100755 --- a/Cargo.lock +++ b/Cargo.lock @@ -6896,7 +6896,7 @@ dependencies = [ ] [[package]] -name = "pallet-governance0" +name = "pallet-governance" version = "0.1.0" dependencies = [ "pallet-torus0", diff --git a/pallets/governance0/Cargo.toml b/pallets/governance/Cargo.toml similarity index 94% rename from pallets/governance0/Cargo.toml rename to pallets/governance/Cargo.toml index 3d36791..01908d7 100644 --- a/pallets/governance0/Cargo.toml +++ b/pallets/governance/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "pallet-governance0" +name = "pallet-governance" description = "The chain's governance pallet." version = "0.1.0" license = "MIT-0" diff --git a/pallets/governance0/src/application.rs b/pallets/governance/src/application.rs similarity index 100% rename from pallets/governance0/src/application.rs rename to pallets/governance/src/application.rs diff --git a/pallets/governance0/src/config.rs b/pallets/governance/src/config.rs similarity index 100% rename from pallets/governance0/src/config.rs rename to pallets/governance/src/config.rs diff --git a/pallets/governance0/src/curator.rs b/pallets/governance/src/curator.rs similarity index 100% rename from pallets/governance0/src/curator.rs rename to pallets/governance/src/curator.rs diff --git a/pallets/governance0/src/lib.rs b/pallets/governance/src/lib.rs similarity index 100% rename from pallets/governance0/src/lib.rs rename to pallets/governance/src/lib.rs diff --git a/pallets/governance0/src/proposal.rs b/pallets/governance/src/proposal.rs similarity index 100% rename from pallets/governance0/src/proposal.rs rename to pallets/governance/src/proposal.rs diff --git a/pallets/governance0/src/voting.rs b/pallets/governance/src/voting.rs similarity index 100% rename from pallets/governance0/src/voting.rs rename to pallets/governance/src/voting.rs diff --git a/pallets/governance0/src/whitelist.rs b/pallets/governance/src/whitelist.rs similarity index 100% rename from pallets/governance0/src/whitelist.rs rename to pallets/governance/src/whitelist.rs