mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 19:07:57 +00:00
11fe84a742
* add beginnings of SRML grandpa library * get srml-grandpa compiling * tests for srml-grandpa * add optional session integration to grandpa SRML * start integration into node runtime * Allow extracting pending change from header digest * Make it compile on wasm * make tests compile again * Move Authority Key fetching into service, simplify service factory construction * Generalize Authority Consensus Setup system * Add Authority Setup Docs * Allow CLI params to be extensible - move params to structopts - split parsing and default command execution - add custom config to node - extended parsing of custom config - extending params via structop's flatten * Minor fixes on cli extension params: - added docs - re-add actual app name, rather than node-name - make strategy and subcommand optional * better cli params * synchronize GRANDPA and normal node authorities * Implement grandpa::network for gossip consensus * run_grandpa in Node * Fix missed merge error * Integrate grandpa import queue * more specific type def * link up linkhalf and import block * make grandpa future send * get compiling * Fix new params convention and license header * get it running * rebuild node runtime WASM * change logging level * Update node/cli/src/params.rs Co-Authored-By: rphmeier <rphmeier@gmail.com> * Update node/cli/src/params.rs Co-Authored-By: rphmeier <rphmeier@gmail.com> * Update node/cli/src/lib.rs Co-Authored-By: rphmeier <rphmeier@gmail.com> * Update node/runtime/src/lib.rs Co-Authored-By: rphmeier <rphmeier@gmail.com> * Update node/cli/src/lib.rs Co-Authored-By: rphmeier <rphmeier@gmail.com> * Clean up and Fixme for mutable config * Move GrandpaService Integration into grandpa, feature gated but on per default * Fixing grandpa runtime module test * Update wasm runtime hashes for tests * GRANDPA: use post-header hash when logging scheduled changes * add an extra bit of logging to authorities * fixing missing constrain * remove old code * move `NewAuthorities` to an event in srml-grandpa * fix node-executor tests to use grandpa log * Remove GossipConsensus from tests, use newly provided sync-feature, fixes tests * Update to latest wasm runtimes * address grumbles * address grumbles * only derive deserialize when using std * Clean up use of Deserialize
68 lines
2.4 KiB
TOML
68 lines
2.4 KiB
TOML
[package]
|
|
name = "node-runtime"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
integer-sqrt = { version = "0.1.2" }
|
|
safe-mix = { version = "1.0", default-features = false }
|
|
parity-codec-derive = { version = "2.1" }
|
|
parity-codec = { version = "2.1", default-features = false }
|
|
substrate-primitives = { path = "../../../core/primitives", default-features = false }
|
|
substrate-client = { path = "../../../core/client", default-features = false }
|
|
sr-std = { path = "../../../core/sr-std", default-features = false }
|
|
srml-support = { path = "../../../srml/support", default-features = false }
|
|
srml-balances = { path = "../../../srml/balances", default-features = false }
|
|
srml-consensus = { path = "../../../srml/consensus", default-features = false }
|
|
srml-contract = { path = "../../../srml/contract", default-features = false }
|
|
srml-council = { path = "../../../srml/council", default-features = false }
|
|
srml-democracy = { path = "../../../srml/democracy", default-features = false }
|
|
srml-executive = { path = "../../../srml/executive", default-features = false }
|
|
sr-primitives = { path = "../../../core/sr-primitives", default-features = false }
|
|
srml-session = { path = "../../../srml/session", default-features = false }
|
|
srml-staking = { path = "../../../srml/staking", default-features = false }
|
|
srml-system = { path = "../../../srml/system", default-features = false }
|
|
srml-timestamp = { path = "../../../srml/timestamp", default-features = false }
|
|
srml-treasury = { path = "../../../srml/treasury", default-features = false }
|
|
srml-upgrade-key = { path = "../../../srml/upgrade-key", default-features = false }
|
|
srml-grandpa = { path = "../../../srml/grandpa", default-features = false }
|
|
sr-version = { path = "../../../core/sr-version", default-features = false }
|
|
node-primitives = { path = "../../primitives", default-features = false }
|
|
|
|
[features]
|
|
default = []
|
|
std = [
|
|
"safe-mix/std",
|
|
"parity-codec/std",
|
|
"substrate-primitives/std",
|
|
"substrate-client/std",
|
|
"sr-std/std",
|
|
"sr-primitives/std",
|
|
"srml-support/std",
|
|
"srml-balances/std",
|
|
"srml-consensus/std",
|
|
"srml-contract/std",
|
|
"srml-council/std",
|
|
"srml-democracy/std",
|
|
"srml-executive/std",
|
|
"srml-session/std",
|
|
"srml-staking/std",
|
|
"srml-system/std",
|
|
"srml-timestamp/std",
|
|
"srml-treasury/std",
|
|
"srml-upgrade-key/std",
|
|
"srml-grandpa/std",
|
|
"sr-version/std",
|
|
"node-primitives/std",
|
|
]
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
lto = true
|
|
|
|
[workspace]
|
|
members = []
|