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

Substrate Name Service Pallet #7197

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
fb53e61
Initial Design
shawntabrizi Sep 24, 2020
5373c40
Name assignments
shawntabrizi Sep 25, 2020
a94e901
rename expiration -> bid end
shawntabrizi Sep 25, 2020
71c5115
Hashed names
shawntabrizi Sep 25, 2020
7c3e76d
Update name to PaymentDestination
shawntabrizi Sep 25, 2020
a4f085a
attempt at multiaddress
shawntabrizi Sep 25, 2020
d59c8da
`extend_ownership` + `ExtensionConfig`
shawntabrizi Sep 25, 2020
3aa692a
Basic end to end test
shawntabrizi Oct 8, 2020
af5eca2
Merge branch 'master' into shawntabrizi-name-service
shawntabrizi Oct 8, 2020
cdb64fb
Update frame/name-service/src/mock.rs
shawntabrizi Oct 23, 2020
a329e32
More extensible multiaddress format
shawntabrizi Oct 23, 2020
b81b08d
update name
shawntabrizi Oct 23, 2020
7009e91
Don't depend on indices to define multiaddress type
shawntabrizi Oct 23, 2020
36fdb7b
Use MultiAddress in Node Template too!
shawntabrizi Oct 23, 2020
3fc64d1
reduce traits, fix build
shawntabrizi Oct 23, 2020
e450ded
Merge remote-tracking branch 'origin/shawntabrizi-multiaddress' into …
shawntabrizi Oct 23, 2020
08de670
fix merge
shawntabrizi Oct 23, 2020
b7c120d
compiles... kinda a hack
shawntabrizi Oct 23, 2020
20d1a70
Simple implementation of `TwoStaticLookup`
shawntabrizi Oct 23, 2020
64afc14
better impl of multiple lookup sources
shawntabrizi Oct 24, 2020
535a512
support multiple `StaticLookup`
shawntabrizi Oct 24, 2020
98bfef6
bump tx version
shawntabrizi Oct 26, 2020
3a8c1c2
Merge branch 'master' into shawntabrizi-multiaddress
shawntabrizi Oct 26, 2020
41e3c24
Merge branch 'master' into shawntabrizi-multiaddress
shawntabrizi Oct 31, 2020
0e5ffa3
feedback
shawntabrizi Oct 31, 2020
65c701b
Merge branch 'shawntabrizi-multiaddress' into shawntabrizi-name-service
shawntabrizi Oct 31, 2020
04b0e8d
Update lib.rs
shawntabrizi Oct 31, 2020
474c2ea
Pallet-name-service tests (#7676)
stanly-johnson Dec 9, 2020
db31a2d
Merge branch 'master' into shawntabrizi-name-service
shawntabrizi Dec 9, 2020
b159137
update to latest substrate
shawntabrizi Dec 9, 2020
ba33ee6
Merge branch 'master' into shawntabrizi-name-service
shawntabrizi Dec 9, 2020
0526e3d
integrate benchmarks
shawntabrizi Dec 9, 2020
c729951
Benchmarks for name service pallet (#7723)
stanly-johnson Apr 10, 2021
6141b79
Merge branch 'master' into shawntabrizi-name-service
shawntabrizi Feb 23, 2022
d8ad107
migrate to FRAME v2
shawntabrizi Feb 23, 2022
db4a1be
fix static lookup
shawntabrizi Feb 23, 2022
939d2db
fix imports
shawntabrizi Feb 23, 2022
ec3ce2a
Merge branch 'master' into shawntabrizi-name-service
shawntabrizi Feb 27, 2022
da9aad5
fix deps
shawntabrizi Feb 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 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 @@ -85,6 +85,7 @@ members = [
"frame/membership",
"frame/metadata",
"frame/multisig",
"frame/name-service",
"frame/nicks",
"frame/node-authorization",
"frame/offences",
Expand Down
47 changes: 47 additions & 0 deletions frame/name-service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[package]
name = "pallet-name-service"
version = "2.0.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "FRAME name service for Substrate"
readme = "README.md"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
serde = { version = "1.0.101", optional = true }
codec = { package = "parity-scale-codec", version = "1.3.4", default-features = false, features = ["derive"] }
sp-keyring = { version = "2.0.0", optional = true, path = "../../primitives/keyring" }
sp-std = { version = "2.0.0", default-features = false, path = "../../primitives/std" }
sp-io = { version = "2.0.0", default-features = false, path = "../../primitives/io" }
sp-runtime = { version = "2.0.0", default-features = false, path = "../../primitives/runtime" }
sp-core = { version = "2.0.0", default-features = false, path = "../../primitives/core" }
frame-support = { version = "2.0.0", default-features = false, path = "../support" }
frame-system = { version = "2.0.0", default-features = false, path = "../system" }

frame-benchmarking = { version = "2.0.0", default-features = false, path = "../benchmarking", optional = true }

[dev-dependencies]
pallet-balances = { version = "2.0.0", path = "../balances" }

[features]
default = ["std"]
std = [
"serde",
"sp-keyring",
"codec/std",
"sp-core/std",
"sp-std/std",
"sp-io/std",
"frame-support/std",
"sp-runtime/std",
"frame-system/std",
]
runtime-benchmarks = [
"frame-benchmarking",
"frame-support/runtime-benchmarks",
]
3 changes: 3 additions & 0 deletions frame/name-service/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
A simple name service that can be used to give accounts friendly names.

License: Apache-2.0
Loading