Skip to content
Permalink
Browse files

More comprehensive identity system (#4326)

* Initial prototype

* Work on test harness.

* Minor removal

* Add some tests

* Fix tests

* More tests

* Final tests

* General documentation

* Function-level docs.

* Function-level docs.

* Identity fields.

* Fix dependency

* Docs

* Spelling nits

* Address grumbles.
  • Loading branch information
gavofyork committed Dec 9, 2019
1 parent 8fe4b71 commit 9bc29f8cc762444d15041a9a2f3b9169dd2c345b
Showing with 1,111 additions and 1 deletion.
  1. +36 −0 Cargo.lock
  2. +1 −0 Cargo.toml
  3. +31 −0 frame/identity/Cargo.toml
  4. +1,042 −0 frame/identity/src/lib.rs
  5. +1 −1 frame/nicks/Cargo.toml

Some generated files are not rendered by default. Learn more.

@@ -63,6 +63,7 @@ members = [
"frame/finality-tracker",
"frame/generic-asset",
"frame/grandpa",
"frame/identity",
"frame/im-online",
"frame/indices",
"frame/membership",
@@ -0,0 +1,31 @@
[package]
name = "pallet-identity"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
serde = { version = "1.0.101", optional = true }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
enumflags2 = { version = "0.6.2" }
rstd = { package = "sp-std", path = "../../primitives/sr-std", default-features = false }
runtime-io = { package = "sp-io", path = "../../primitives/sr-io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
support = { package = "frame-support", path = "../support", default-features = false }
system = { package = "frame-system", path = "../system", default-features = false }

[dev-dependencies]
primitives = { package = "sp-core", path = "../../primitives/core" }
balances = { package = "pallet-balances", path = "../balances" }

[features]
default = ["std"]
std = [
"serde",
"codec/std",
"rstd/std",
"runtime-io/std",
"sp-runtime/std",
"support/std",
"system/std",
]

0 comments on commit 9bc29f8

Please sign in to comment.
You can’t perform that action at this time.