Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
More comprehensive identity system (#4326)
Browse files Browse the repository at this point in the history
* 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 authored Dec 9, 2019
1 parent 8fe4b71 commit 9bc29f8
Show file tree
Hide file tree
Showing 5 changed files with 1,111 additions and 1 deletion.
36 changes: 36 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ members = [
"frame/finality-tracker",
"frame/generic-asset",
"frame/grandpa",
"frame/identity",
"frame/im-online",
"frame/indices",
"frame/membership",
Expand Down
31 changes: 31 additions & 0 deletions frame/identity/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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",
]
Loading

0 comments on commit 9bc29f8

Please sign in to comment.