Browse Source

runtime: working-team: Rename pallet_team to the pallet_working_team

Shamil Gadelshin 4 years ago
parent
commit
9df3926835

+ 19 - 19
Cargo.lock

@@ -3721,25 +3721,6 @@ dependencies = [
  "sp-std",
 ]
 
-[[package]]
-name = "pallet-team"
-version = "1.0.0"
-dependencies = [
- "frame-support",
- "frame-system",
- "pallet-balances",
- "pallet-common",
- "pallet-membership",
- "pallet-timestamp",
- "parity-scale-codec",
- "serde",
- "sp-arithmetic",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-std",
-]
-
 [[package]]
 name = "pallet-timestamp"
 version = "2.0.0-rc4"
@@ -3872,6 +3853,25 @@ dependencies = [
  "sp-std",
 ]
 
+[[package]]
+name = "pallet-working-team"
+version = "1.0.0"
+dependencies = [
+ "frame-support",
+ "frame-system",
+ "pallet-balances",
+ "pallet-common",
+ "pallet-membership",
+ "pallet-timestamp",
+ "parity-scale-codec",
+ "serde",
+ "sp-arithmetic",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+]
+
 [[package]]
 name = "parity-db"
 version = "0.1.2"

+ 1 - 1
Cargo.toml

@@ -19,7 +19,7 @@ members = [
 	"runtime-modules/versioned-store",
 	"runtime-modules/versioned-store-permissions",
 	"runtime-modules/working-group",
-	"runtime-modules/team",
+	"runtime-modules/working-team",
 	"node",
 	"utils/chain-spec-builder/"
 ]

+ 1 - 1
runtime-modules/team/Cargo.toml → runtime-modules/working-team/Cargo.toml

@@ -1,5 +1,5 @@
 [package]
-name = "pallet-team"
+name = "pallet-working-team"
 version = "1.0.0"
 authors = ['Joystream contributors']
 edition = '2018'

+ 0 - 0
runtime-modules/team/src/checks.rs → runtime-modules/working-team/src/checks.rs


+ 0 - 0
runtime-modules/team/src/errors.rs → runtime-modules/working-team/src/errors.rs


+ 1 - 1
runtime-modules/team/src/lib.rs → runtime-modules/working-team/src/lib.rs

@@ -98,7 +98,7 @@ decl_event!(
 );
 
 decl_storage! {
-    trait Store for Module<T: Trait<I>, I: Instance> as Team {
+    trait Store for Module<T: Trait<I>, I: Instance> as WorkingTeam {
         /// Next identifier value for new job opening.
         pub NextOpeningId get(fn next_opening_id): T::OpeningId;
 

+ 0 - 0
runtime-modules/team/src/tests/fixtures.rs → runtime-modules/working-team/src/tests/fixtures.rs


+ 0 - 0
runtime-modules/team/src/tests/mock.rs → runtime-modules/working-team/src/tests/mock.rs


+ 0 - 0
runtime-modules/team/src/tests/mod.rs → runtime-modules/working-team/src/tests/mod.rs


+ 0 - 0
runtime-modules/team/src/types.rs → runtime-modules/working-team/src/types.rs