Sfoglia il codice sorgente

runtime: blog: change pallet name

conectado 4 anni fa
parent
commit
f95543b472

+ 15 - 15
Cargo.lock

@@ -559,21 +559,6 @@ dependencies = [
  "once_cell 1.5.2",
 ]
 
-[[package]]
-name = "blog-module"
-version = "3.0.0"
-dependencies = [
- "frame-support",
- "frame-system",
- "pallet-balances",
- "parity-scale-codec",
- "sp-arithmetic",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-std",
-]
-
 [[package]]
 name = "bs58"
 version = "0.3.1"
@@ -3749,6 +3734,21 @@ dependencies = [
  "sp-std",
 ]
 
+[[package]]
+name = "pallet-blog"
+version = "3.0.0"
+dependencies = [
+ "frame-support",
+ "frame-system",
+ "pallet-balances",
+ "parity-scale-codec",
+ "sp-arithmetic",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+]
+
 [[package]]
 name = "pallet-common"
 version = "4.0.0"

+ 1 - 1
Cargo.toml

@@ -16,7 +16,7 @@ members = [
 	"runtime-modules/content-directory",
 	"runtime-modules/constitution",
 	"runtime-modules/staking-handler",
-    "runtime-modules/blog-module",
+    "runtime-modules/blog",
 	"node",
 	"utils/chain-spec-builder/"
 ]

+ 0 - 0
runtime-modules/blog-module/.gitattributes → runtime-modules/blog/.gitattributes


+ 0 - 0
runtime-modules/blog-module/.gitignore → runtime-modules/blog/.gitignore


+ 1 - 1
runtime-modules/blog-module/Cargo.toml → runtime-modules/blog/Cargo.toml

@@ -1,5 +1,5 @@
 [package]
-name = "blog-module"
+name = "pallet-blog"
 version = "3.0.0"
 authors = ["iorveth"]
 edition = "2018"

+ 0 - 0
runtime-modules/blog-module/README.md → runtime-modules/blog/README.md


+ 0 - 0
runtime-modules/blog-module/src/errors.rs → runtime-modules/blog/src/errors.rs


+ 0 - 0
runtime-modules/blog-module/src/lib.rs → runtime-modules/blog/src/lib.rs


+ 0 - 0
runtime-modules/blog-module/src/mock.rs → runtime-modules/blog/src/mock.rs


+ 0 - 0
runtime-modules/blog-module/src/tests.rs → runtime-modules/blog/src/tests.rs