- Oct 28, 2019
-
-
Kian Paimani authored
* minor changes * Refactors for phragmen-election * Bump. * Fix genesis stuff * Fix rest of the errors
-
Pierre Krieger authored
* Too many addresses for a node is now a debug! rather than warn! * I managed to fail this change
-
Gavin Wood authored
* Tip payment is a different withdraw reason. * Bump runtime version. * Test fix. * Fix lock type
-
Max Inden authored
The authority discovery module enables authorities to be discoverable and discover other authorities to improve interconnection among them. In order to achieve this the module needs to know when the authority set changes, thus when a session changes. One has to register a module as a *session handler* in order for it to be notified of changing sessions. The order and number of these *session handlers* **MUST** correspond to the order and number of the *session keys*. Commit 7fc21cea added the authority discovery to the `SessionHandlers`. Given that the authority discovery module piggybacks on the Babe session keys the commit violated the above constraint. This commit reverts most of 7fc21cea, leaving `core/authority-discovery` and `srml/authority-discovery` untouched.
-
Bastian Köcher authored
* `decl_storage!` check for duplicate `config()`/`get()` * Fix tests
-
- Oct 27, 2019
-
-
kaichao authored
-
Gavin Wood authored
* Add ability to force a name change * Fix tests * Bump runtime.
-
Gavin Wood authored
* Expose const params for nicks module * Bump runtime
-
Gavin Wood authored
This reverts commit a57c72be.
-
Nikolay Volf authored
* Transaction pool watch intristics. * Track extrinsic rpc methods. * Test for pool watcher. * Track extrinsic rpc test. * Fix rpc naming. * review fixes * Update jsonrpc and use une subcription. * Naming and dependencies.
-
Xiliang Chen authored
* fix node-template Use MultiSignature to maintain compatibility with substrate-node Reset version to 1 Remove unused const * fix chain_spec * line width
-
André Silva authored
* grandpa: always try to import justifications in blocks * grandpa: export useful types * grandpa: add test for justification import on regular blocks * grandpa: expand comment in test
-
Nikolay Volf authored
-
Gavin Wood authored
* Add Nicknames module for accounts. * Integrate into node. * Fix build * Update srml/nicks/src/lib.rs Co-Authored-By: Kian Paimani <[email protected]> * Bump runtime * Improve weight docs * Docs. * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]>
-
- Oct 25, 2019
-
-
Gavin Wood authored
-
Gav Wood authored
-
Gav Wood authored
-
Bastian Köcher authored
* Adds function `to_substrate_wasm_fn_return_value` Instead of replicating this piece of code over and over again, just move it to a function that does it. * Feedback * Comment
-
Pierre Krieger authored
* telemetry worker: add connection timeout * restructure * only add timeout when writing data * don't overwrite an existing delay * set timeout only around writing data * address comments * dedicated error enum * remove whitespace * move timeout to inside struct * fix timeout * remove prints * move polling * address comment * Implement * More work
-
Gavin Wood authored
* Add force_unstake to staking as root operation. * Bump runtime * Tests * Update srml/staking/src/lib.rs Co-Authored-By: Kian Paimani <[email protected]>
-
Gavin Wood authored
-
Tomasz Drwięga authored
* Bring back SubmitSignedTransaction. * Fix long lines. * Add missing docs. * Update core/primitives/src/crypto.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update node/runtime/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update core/primitives/src/crypto.rs Co-Authored-By: Bastian Köcher <[email protected]>
-
Jim Posen authored
* support: BuildStorage methods to take self reference. There is no reason to consume the GenesisConfig when using it to initialize a new storage backend. Instead, build_storage and assimilate_storage now operator on self references. * Bump node runtime impl_version.
-
Joshy Orndorff authored
-
- Oct 24, 2019
-
-
thiolliere authored
* Now construct_runtime must include treasury config so account is created at genesis. * if it doesn't though it is ok, account will be created when the amount put is more than existential deposit.
-
Max Inden authored
* core/finality-grandpa: Pass Grandpa msg sender up to UntilImported * core/finality-grandpa: Track senders to maybe later request blocks * core/finality-grandpa: Make BlockStatus pub only within crate * core/finality-grandpa: Abstract NetworkBridge with BlockSyncRequester * core/finality-grandpa: Pass BlockSyncRequester to UntilImported * core/finality-grandpa: Track block number of pending within UntilImported * core/finality-grandpa: Request block sync on long wait * core/finality-grandpa: Adjust unit tests to previous changes * core/finality-grandpa: Fix line length * core/finality-grandpa: Add comment explaining in & out vote combination * core/finality-grandpa: Log after, not before, timeout expired The UntilImported component should log whenever waiting for a specific block to be imported surpassed a defined constant timeout. Without this patch the code would log whenever the current time was below the timeout. * core/finality-grandpa: Collect senders as HashSet for deduplication * Revert "core/finality-grandpa: Track senders to maybe later request blocks" This reverts commit 61ac9dd7. * Revert "core/finality-grandpa: Pass Grandpa msg sender up to UntilImported" This reverts commit afdc9646. * core/network/sync: Ask for block from all peers if none provided When requesting an explicit fork sync, try to sync from all known peers, when no specific peers were provided. * core/network/sync: Request specific fork sync from peers ahead or on par When making an explicit fork sync request without specifying any peers, make sure to only request it from the locally known peers that are either ahead or on a par compared to the block number we are looking for. * grandpa: fix tests * grandpa: fix warnings * grandpa: add test for block sync request on until_imported * grandpa: rename Environment field inner to client * grandpa: fix minor nits * grandpa: minor nits in until_imported * grandpa: copy docs for set_sync_fork_request * grandpa: remove stale TODO on UntilImported
-
Pierre Krieger authored
* Rename NewService to Service * Move new_impl! macro to builder module * Inline new_impl! * Minor cleanup * Inline the offchain_workers() function * Fix indentation level * Inline start_rpc * Remove RpcBuilder trait
-
Jaco Greeff authored
-
Kian Paimani authored
* Better fee parameters * Fix build * Better runtime tests * Price to Weight ratio as type parameter (#3856) * Price to Weight ration as type parameter * Kian feedback * Some renames. * Fix executor tests * Getting Closer. * Phantom Data * Actually fix executor tests. * Fix tests. * Remove todo * Fix build
-
André Silva authored
-
Gavin Wood authored
* Add SECP256k1/ECDSA support for transaction signing. * Refactoring and fixes * Fix for contracts * Avoid breaking runtime host function * Build fixes, make subkey work more generaically. * Fix tests * Dedpulicate a bit of code, remove unneeded code, docs * Bump runtime version * Fix a test and clean up some code. * Derivation can derive seed. * Whitespace * Bump runtime again. * Update core/primitives/src/crypto.rs Co-Authored-By: Kian Paimani <[email protected]> * Update core/primitives/src/ecdsa.rs Co-Authored-By: Kian Paimani <[email protected]> * Fix AppVerify
-
André Silva authored
* node: spawn grandpa voter as essential task * node: stop babe authoring task on exit * node: remove unnecessary future boxing * Apply suggestions from code review
-
Ryan Bell authored
-
- Oct 23, 2019
-
-
Pierre Krieger authored
* Split the telemetry net status report in two * Update core/service/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Remove clone() * Move code to status_sinks.rs instead * Add basic usage for status_sinks * Update core/service/src/status_sinks.rs Co-Authored-By: Bastian Köcher <[email protected]>
-
Pierre Krieger authored
-
Kian Paimani authored
* Fix phragmen-election compile to wasm * Fix chain_spec stuff * Fix panic with no term duration
-
Bastian Köcher authored
* Throw an error if a bootnode is registered with two different peer ids * Rename error * Fix compilation :( * Review feedback
-
Ashley authored
* Add RentPayment trait to runtime * clarify check * improve proof * Clarify further * Simplify RentPayment::on_unbalance calling and get rid of NonZeroRentHook
-
Bastian Köcher authored
* Wasm-builder-runner unset `CARGO_TARGET_DIR` and release 1.0.4 `CARGO_TARGET_DIR` needs to be unset or otherwise cargo deadlocks, because cargo always holds an exclusive lock on target dir. * Commit missing version up * Lock file
-
Bastian Köcher authored
-