Migrate to docs.substrate.io throughout (#10007)

* all reverences of substrate.dev replaced with *correct* docs.substrate.io links

* fix links in non-cargo files, errors in replace

* homepage https://substrate.io

* cargo +nightly fmt

* FMT

Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
Dan Shields
2021-10-13 12:56:56 -06:00
committed by GitHub
parent aad0682c45
commit 8db7ec9cc9
222 changed files with 231 additions and 230 deletions
+3 -3
View File
@@ -8,9 +8,9 @@ Substrate is a next-generation framework for blockchain innovation 🚀.
## Trying it out ## Trying it out
Simply go to [substrate.dev](https://substrate.dev) and follow the Simply go to [docs.substrate.io](https://docs.substrate.io) and follow the
[installation](https://substrate.dev/docs/en/knowledgebase/getting-started/) instructions. You can [installation](https://docs.substrate.io/v3/getting-started/overview) instructions. You can
also try out one of the [tutorials](https://substrate.dev/en/tutorials). also try out one of the [tutorials](https://docs.substrate.io/tutorials/).
## Contributions & Code of Conduct ## Contributions & Code of Conduct
+1 -1
View File
@@ -7,7 +7,7 @@ build = "build.rs"
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
default-run = "substrate" default-run = "substrate"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
[package.metadata.wasm-pack.profile.release] [package.metadata.wasm-pack.profile.release]
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "Substrate node implementation in Rust." description = "Substrate node implementation in Rust."
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs] [package.metadata.docs.rs]
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.9.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs] [package.metadata.docs.rs]
+1 -1
View File
@@ -4,7 +4,7 @@ version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs] [package.metadata.docs.rs]
+1 -1
View File
@@ -4,7 +4,7 @@ version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs] [package.metadata.docs.rs]
+1 -1
View File
@@ -4,7 +4,7 @@ version = "3.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs] [package.metadata.docs.rs]
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs] [package.metadata.docs.rs]
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "Test utilities for Substrate node." description = "Test utilities for Substrate node."
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
publish = true publish = true
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
publish = false publish = false
+1 -1
View File
@@ -4,7 +4,7 @@ version = "2.0.1"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
publish = false publish = false
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Collection of allocator implementations." description = "Collection of allocator implementations."
documentation = "https://docs.rs/sc-allocator" documentation = "https://docs.rs/sc-allocator"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Substrate client interfaces." description = "Substrate client interfaces."
documentation = "https://docs.rs/sc-client-api" documentation = "https://docs.rs/sc-client-api"
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Substrate authority discovery." description = "Substrate authority discovery."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Basic implementation of block-authoring logic." description = "Basic implementation of block-authoring logic."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Substrate block builder" description = "Substrate block builder"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Substrate chain configurations." description = "Substrate chain configurations."
readme = "README.md" readme = "README.md"
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Macros to derive chain spec extension traits implementation." description = "Macros to derive chain spec extension traits implementation."
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "Substrate CLI interface." description = "Substrate CLI interface."
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "Aura consensus algorithm for substrate" description = "Aura consensus algorithm for substrate"
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "BABE consensus algorithm for substrate" description = "BABE consensus algorithm for substrate"
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
documentation = "https://docs.rs/sc-consensus-babe" documentation = "https://docs.rs/sc-consensus-babe"
readme = "README.md" readme = "README.md"
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "RPC extensions for the BABE consensus algorithm" description = "RPC extensions for the BABE consensus algorithm"
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Collection of common consensus specific imlementations for Substrate (client)" description = "Collection of common consensus specific imlementations for Substrate (client)"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "Generic epochs-based utilities for consensus" description = "Generic epochs-based utilities for consensus"
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "Manual sealing engine for Substrate" description = "Manual sealing engine for Substrate"
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "PoW consensus algorithm for substrate" description = "PoW consensus algorithm for substrate"
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -6,7 +6,7 @@ description = "Generic slots-based utilities for consensus"
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "Generic uncle inclusion utilities for consensus" description = "Generic uncle inclusion utilities for consensus"
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Client backend that uses RocksDB database as storage." description = "Client backend that uses RocksDB database as storage."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "A crate that provides means of executing/dispatching calls into the runtime." description = "A crate that provides means of executing/dispatching calls into the runtime."
documentation = "https://docs.rs/sc-executor" documentation = "https://docs.rs/sc-executor"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "A set of common definitions that are needed for defining execution engines." description = "A set of common definitions that are needed for defining execution engines."
documentation = "https://docs.rs/sc-executor-common/" documentation = "https://docs.rs/sc-executor-common/"
@@ -6,7 +6,7 @@ edition = "2018"
build = "build.rs" build = "build.rs"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
publish = false publish = false
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs] [package.metadata.docs.rs]
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "This crate provides an implementation of `WasmRuntime` that is baked by wasmi." description = "This crate provides an implementation of `WasmRuntime` that is baked by wasmi."
documentation = "https://docs.rs/sc-executor-wasmi" documentation = "https://docs.rs/sc-executor-wasmi"
@@ -4,7 +4,7 @@ version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Defines a `WasmRuntime` that uses the Wasmtime JIT to execute." description = "Defines a `WasmRuntime` that uses the Wasmtime JIT to execute."
readme = "README.md" readme = "README.md"
@@ -5,7 +5,7 @@ version = "0.10.0-dev"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs] [package.metadata.docs.rs]
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Integration of the GRANDPA finality gadget into substrate." description = "Integration of the GRANDPA finality gadget into substrate."
documentation = "https://docs.rs/sc-finality-grandpa" documentation = "https://docs.rs/sc-finality-grandpa"
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "Substrate informant." description = "Substrate informant."
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Keystore (and session key management) for ed25519 based chains like Polkadot." description = "Keystore (and session key management) for ed25519 based chains like Polkadot."
documentation = "https://docs.rs/sc-keystore" documentation = "https://docs.rs/sc-keystore"
+1 -1
View File
@@ -5,7 +5,7 @@ version = "4.0.0-dev"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
documentation = "https://docs.rs/sc-light" documentation = "https://docs.rs/sc-light"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -5,7 +5,7 @@ version = "0.10.0-dev"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
documentation = "https://docs.rs/sc-network-gossip" documentation = "https://docs.rs/sc-network-gossip"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -5,7 +5,7 @@ version = "0.10.0-dev"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
documentation = "https://docs.rs/sc-network" documentation = "https://docs.rs/sc-network"
readme = "README.md" readme = "README.md"
+3 -2
View File
@@ -2023,8 +2023,9 @@ impl<B: BlockT + 'static, H: ExHashT> Future for NetworkWorker<B, H> {
.inc(); .inc();
} }
}, },
Poll::Ready(SwarmEvent::UnknownPeerUnreachableAddr { address, error }) => Poll::Ready(SwarmEvent::UnknownPeerUnreachableAddr { address, error }) => {
trace!(target: "sub-libp2p", "Libp2p => UnknownPeerUnreachableAddr({}): {}", address, error), trace!(target: "sub-libp2p", "Libp2p => UnknownPeerUnreachableAddr({}): {}", address, error)
},
Poll::Ready(SwarmEvent::ListenerClosed { reason, addresses, .. }) => { Poll::Ready(SwarmEvent::ListenerClosed { reason, addresses, .. }) => {
if let Some(metrics) = this.metrics.as_ref() { if let Some(metrics) = this.metrics.as_ref() {
metrics.listeners_local_addresses.sub(addresses.len() as u64); metrics.listeners_local_addresses.sub(addresses.len() as u64);
+1 -1
View File
@@ -6,7 +6,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
publish = false publish = false
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs] [package.metadata.docs.rs]
+1 -1
View File
@@ -5,7 +5,7 @@ version = "4.0.0-dev"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Basic metrics for block production." description = "Basic metrics for block production."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Substrate RPC interfaces." description = "Substrate RPC interfaces."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -301,7 +301,7 @@ pub trait StateApi<Hash> {
/// [substrate storage][1], [transparent keys in substrate][2], /// [substrate storage][1], [transparent keys in substrate][2],
/// [querying substrate storage via rpc][3]. /// [querying substrate storage via rpc][3].
/// ///
/// [1]: https://substrate.dev/docs/en/knowledgebase/advanced/storage#storage-map-key /// [1]: https://docs.substrate.io/v3/advanced/storage#storage-map-keys
/// [2]: https://www.shawntabrizi.com/substrate/transparent-keys-in-substrate/ /// [2]: https://www.shawntabrizi.com/substrate/transparent-keys-in-substrate/
/// [3]: https://www.shawntabrizi.com/substrate/querying-substrate-storage-via-rpc/ /// [3]: https://www.shawntabrizi.com/substrate/querying-substrate-storage-via-rpc/
/// ///
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Substrate RPC servers." description = "Substrate RPC servers."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Substrate Client RPC" description = "Substrate Client RPC"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Substrate service. Starts a thread that spins up the network, client, and extrinsic pool. Manages communication between them." description = "Substrate service. Starts a thread that spins up the network, client, and extrinsic pool. Manages communication between them."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
publish = false publish = false
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs] [package.metadata.docs.rs]
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "State database maintenance. Handles canonicalization and pruning in the database." description = "State database maintenance. Handles canonicalization and pruning in the database."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "A RPC handler to create sync states for light clients." description = "A RPC handler to create sync states for light clients."
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "Telemetry utils" description = "Telemetry utils"
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
documentation = "https://docs.rs/sc-telemetry" documentation = "https://docs.rs/sc-telemetry"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Instrumentation implementation for substrate." description = "Instrumentation implementation for substrate."
readme = "README.md" readme = "README.md"
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Helper macros for Substrate's client CLI" description = "Helper macros for Substrate's client CLI"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Substrate transaction pool implementation." description = "Substrate transaction pool implementation."
readme = "README.md" readme = "README.md"
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Transaction pool client facing API." description = "Transaction pool client facing API."
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "I/O for Substrate runtimes" description = "I/O for Substrate runtimes"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME asset management pallet" description = "FRAME asset management pallet"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME atomic swap pallet" description = "FRAME atomic swap pallet"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME AURA consensus pallet" description = "FRAME AURA consensus pallet"
readme = "README.md" readme = "README.md"
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet for authority discovery" description = "FRAME pallet for authority discovery"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -5,7 +5,7 @@ description = "Block and Uncle Author tracking for the FRAME"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Consensus extension module for BABE consensus. Collects on-chain randomness from VRF outputs and manages epoch transitions." description = "Consensus extension module for BABE consensus. Collects on-chain randomness from VRF outputs and manages epoch transitions."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet bags list" description = "FRAME pallet bags list"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet to manage balances" description = "FRAME pallet to manage balances"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Macro for benchmarking a FRAME runtime." description = "Macro for benchmarking a FRAME runtime."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet to manage bounties" description = "FRAME pallet to manage bounties"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Collective system: Members of a set of account IDs can make their collective feelings known through dispatched calls from one of two specialized origins." description = "Collective system: Members of a set of account IDs can make their collective feelings known through dispatched calls from one of two specialized origins."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet for WASM contracts" description = "FRAME pallet for WASM contracts"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -34,7 +34,7 @@ reverted at the current call's contract level. For example, if contract A calls
then all of B's calls are reverted. Assuming correct error handling by contract A, A's other calls and state then all of B's calls are reverted. Assuming correct error handling by contract A, A's other calls and state
changes still persist. changes still persist.
One gas is equivalent to one [weight](https://substrate.dev/docs/en/knowledgebase/learn-substrate/weight) One gas is equivalent to one [weight](https://docs.substrate.io/v3/runtime/weights-and-fees)
which is defined as one picosecond of execution time on the runtime's reference machine. which is defined as one picosecond of execution time on the runtime's reference machine.
### Notable Scenarios ### Notable Scenarios
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "A crate that hosts a common definitions that are relevant for the pallet-contracts." description = "A crate that hosts a common definitions that are relevant for the pallet-contracts."
readme = "README.md" readme = "README.md"
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Procedural macros used in pallet_contracts" description = "Procedural macros used in pallet_contracts"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Node-specific RPC methods for interaction with contracts." description = "Node-specific RPC methods for interaction with contracts."
readme = "README.md" readme = "README.md"
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Runtime API definition required by Contracts RPC extensions." description = "Runtime API definition required by Contracts RPC extensions."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet for democracy" description = "FRAME pallet for democracy"
readme = "README.md" readme = "README.md"
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "PALLET two phase election providers" description = "PALLET two phase election providers"
readme = "README.md" readme = "README.md"
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "election provider supporting traits" description = "election provider supporting traits"
readme = "README.md" readme = "README.md"
@@ -4,7 +4,7 @@ version = "5.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet based on seq-Phragmén election method." description = "FRAME pallet based on seq-Phragmén election method."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet for elections" description = "FRAME pallet for elections"
readme = "README.md" readme = "README.md"
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Unlicense" license = "Unlicense"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME example pallet for offchain worker" description = "FRAME example pallet for offchain worker"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "3.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Unlicense" license = "Unlicense"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME example pallet using runtime worker threads" description = "FRAME example pallet using runtime worker threads"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Unlicense" license = "Unlicense"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME example pallet" description = "FRAME example pallet"
readme = "README.md" readme = "README.md"
+2 -2
View File
@@ -26,13 +26,13 @@ use frame_system::RawOrigin;
// To actually run this benchmark on pallet-example, we need to put this pallet into the // To actually run this benchmark on pallet-example, we need to put this pallet into the
// runtime and compile it with `runtime-benchmarks` feature. The detail procedures are // runtime and compile it with `runtime-benchmarks` feature. The detail procedures are
// documented at: // documented at:
// https://substrate.dev/docs/en/knowledgebase/runtime/benchmarking#how-to-benchmark // https://docs.substrate.io/v3/runtime/benchmarking#how-to-benchmark
// //
// The auto-generated weight estimate of this pallet is copied over to the `weights.rs` file. // The auto-generated weight estimate of this pallet is copied over to the `weights.rs` file.
// The exact command of how the estimate generated is printed at the top of the file. // The exact command of how the estimate generated is printed at the top of the file.
// Details on using the benchmarks macro can be seen at: // Details on using the benchmarks macro can be seen at:
// https://substrate.dev/rustdocs/v3.0.0/frame_benchmarking/macro.benchmarks.html // https://paritytech.github.io/substrate/master/frame_benchmarking/trait.Benchmarking.html#tymethod.benchmarks
benchmarks! { benchmarks! {
// This will measure the execution time of `set_dummy` for b in [1..1000] range. // This will measure the execution time of `set_dummy` for b in [1..1000] range.
set_dummy_benchmark { set_dummy_benchmark {
+3 -3
View File
@@ -316,8 +316,7 @@ const MILLICENTS: u32 = 1_000_000_000;
// - assigns a dispatch class `operational` if the argument of the call is more than 1000. // - assigns a dispatch class `operational` if the argument of the call is more than 1000.
// //
// More information can be read at: // More information can be read at:
// - https://substrate.dev/docs/en/knowledgebase/learn-substrate/weight // - https://docs.substrate.io/v3/runtime/weights-and-fees
// - https://substrate.dev/docs/en/knowledgebase/runtime/fees#default-weight-annotations
// //
// Manually configuring weight is an advanced operation and what you really need may well be // Manually configuring weight is an advanced operation and what you really need may well be
// fulfilled by running the benchmarking toolchain. Refer to `benchmarking.rs` file. // fulfilled by running the benchmarking toolchain. Refer to `benchmarking.rs` file.
@@ -548,7 +547,8 @@ pub mod pallet {
// Print out log or debug message in the console via log::{error, warn, info, debug, // Print out log or debug message in the console via log::{error, warn, info, debug,
// trace}, accepting format strings similar to `println!`. // trace}, accepting format strings similar to `println!`.
// https://substrate.dev/rustdocs/v3.0.0/log/index.html // https://paritytech.github.io/substrate/master/sp_io/logging/fn.log.html
// https://paritytech.github.io/substrate/master/frame_support/constant.LOG_TARGET.html
info!("New value is now: {:?}", new_value); info!("New value is now: {:?}", new_value);
// Put the new value into storage. // Put the new value into storage.
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME executives engine" description = "FRAME executives engine"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet for rewarding account freezing." description = "FRAME pallet for rewarding account freezing."
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet for GRANDPA finality gadget" description = "FRAME pallet for GRANDPA finality gadget"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME identity management pallet" description = "FRAME identity management pallet"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME's I'm online pallet" description = "FRAME's I'm online pallet"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME indices management pallet" description = "FRAME indices management pallet"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME Participation Lottery Pallet" description = "FRAME Participation Lottery Pallet"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME membership management pallet" description = "FRAME membership management pallet"
readme = "README.md" readme = "README.md"
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME Merkle Mountain Range pallet." description = "FRAME Merkle Mountain Range pallet."
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME Merkle Mountain Range primitives." description = "FRAME Merkle Mountain Range primitives."
@@ -4,7 +4,7 @@ version = "3.0.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "Node-specific RPC methods for interaction with Merkle Mountain Range pallet." description = "Node-specific RPC methods for interaction with Merkle Mountain Range pallet."
publish = false publish = false
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME multi-signature dispatch pallet" description = "FRAME multi-signature dispatch pallet"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet for nick management" description = "FRAME pallet for nick management"
readme = "README.md" readme = "README.md"
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://substrate.dev" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/" repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet for node authorization" description = "FRAME pallet for node authorization"

Some files were not shown because too many files have changed in this diff Show More