- Jul 16, 2019
-
-
* srml-contracts: Remove hard-coded code hashes from tests. This makes it easier to update existing and add new test Wasm modules. * Test maximum contract storage write size. * Implement storage value limit for contracts. * Bump node runtime spec version.
-
Svyatoslav Nikolsky authored
* changes tries initial optimizations * line width
-
Gavin Wood authored
* Introduce vesting offsets Closes #3090 * Fix logic * Bump impl verfsion * Initial rewrite of vesting * Test for liquidity with delayed vesting * Bump Spec, Fix line width * More line width fix * Small nit to documentation
-
- Jul 15, 2019
-
-
André Silva authored
* client: add tests for reorging on diverged finality * client: mark finalized block as best if diverged from current best chain * client: update meta on set_head * core: add docs about SelectChain to finalize_block * client: improve finality reorg test * client: LongestChain doesn't return client best block * client: LongestChain searches canonical chain
-
Pierre Krieger authored
* Make mDNS part of DiscoveryBehaviour * Fix tests * Address concern
-
Max Inden authored
Make `NetworkService.{get,put}_value` only take a self reference instead of a mutable self reference. When retrieving `NetworkService` via `NetworkWorker`, one only gets an immutable reference.
-
Denis_P authored
* should decide on publishing * build subkey for linux * small fixes * wrong dir
-
-
Sergey Pepyakin authored
-
Denis_P authored
* Logs will be saved to the job artifacts only in case of failure. * Logs will be partly shown at the end in case of failure. * expiration and parsing
-
- Jul 14, 2019
-
-
Pierre Krieger authored
* Remove block_imported * Move blocks results processing to sync * Remove methods from Link * Better errors * Allow cancelling the import queue * Restore the import trace * Fix network tests * Line widths * Use has_error instead * Minor style
-
- Jul 13, 2019
-
-
Pierre Krieger authored
* Switch the peerset to new futures * Fuse the peerset rx
-
Bastian Köcher authored
* Make parameter types implementation more flexible * Bump `impl_version`
-
- Jul 12, 2019
-
-
Toralf Wittner authored
Instead of passing a context around to each method, thereby introducing side-effecting I/O actions everywhere, with this PR `sync::ChainSync` only contains state which is updated by invoking various callback methods (`on_*`) and actionable items are returned as regular results from method calls, often iterators yielding requests that should be issued to peers. It is up to the caller to handle these in an appropriate way, currently `protocol` will send those as messages.
-
- Jul 11, 2019
-
-
Gavin Wood authored
* Convert unnecessary storage item to static. * Polish * 6 second blocks. * Compile fixes * Bump runtime * Fix * Another fix * Import `srml_support::traits::Get` * Export MinimumPeriod from `decl_module!` * Remove `config` from Timestamp * Clean up warnings
-
Pierre Krieger authored
* Switch the telemetry to new futures * Line widths * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * Fix Cargo.lock
-
Pierre Krieger authored
* Switch the client to new futures * No need for compat in the client * Fix client tests * Address review
-
Bastian Köcher authored
* Cleanup CLI and introduce `execution-all` `--execution-all` sets the execution strategies for all available execution contexts. * Rename parameter
-
Xiliang Chen authored
* added generic asset module * Update srml/generic-asset/Cargo.toml * Update srml/generic-asset/Cargo.toml * revert Cargo.lock changes * cleanup line width * rename srml_support to support * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * update comments * more docs * update Cargo.lock * fix tests * update headers and fix missing events * Update srml/generic-asset/Cargo.toml Co-Authored-By: Bastian Köcher <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * fix issues * avoid duplicated code * fix build issue * cleanup Cargo.toml * update based on reviews * remove not used method * update parity-codec version * fix test build issue * update Cargo.lock * update with latest substrate changes * refactor PermissionVersions encoding
-
André Silva authored
* node: pass stash accounts to session module * node: pass stash accounts to staking invulnerables
-
Pierre Krieger authored
* Remove set_finality_proof_request_builder * Fix Babe * Fix Grandpa * Fix service doctests
-
- Jul 10, 2019
-
-
Kian Peymani authored
* Sensible locking for staking and council. * Bump.
-
Kian Peymani authored
* enforce minimum bond amount. * Bump. * Improve doc. * Update srml/staking/src/lib.rs Co-Authored-By: Shawn Tabrizi <[email protected]> * Update srml/staking/src/lib.rs Co-Authored-By: Gavin Wood <[email protected]> * Doc update.
-
Black3HDF authored
* fix typos * update information about ink * fix typos * fix typo * fix typos
-
Bastian Köcher authored
-
Gavin Wood authored
-
* add block number * add ext_current_block * add ext_current_block test * Update srml/contracts/src/wasm/mod.rs Co-Authored-By: Sergei Pepyakin <[email protected]> * Update srml/contracts/src/wasm/mod.rs Co-Authored-By: Sergei Pepyakin <[email protected]> * change valid comment * use BlockNumberOf<T> * Update srml/contracts/src/exec.rs Co-Authored-By: André Silva <[email protected]> * return types copy, not reference * version up spec_version and impl_version * change method name current_block -> block_number * Update srml/contracts/src/exec.rs Co-Authored-By: Sergei Pepyakin <[email protected]>
-
Bastian Köcher authored
* Check that the returned validator set is not empty * Move assert to session module * Clean up
-
Gavin Wood authored
* Add copy of council seats as elections module. * Split council into collective and elections modules. Make collective instanceable. * Propagate changes to the runtime and fix origin/event * insert_ref and put_ref to avoid copies. * Add tests * Fix up collective's tests * One more test * Fix elections module tests * Missed merge line * Minor fix * Test fixes * Line widths * Line widths * Rntime version * Remove comment * Deduplicate * Bump runtime again * Fix test
-
André Silva authored
-
Max Inden authored
Ensure all nodes in the sentry setup run in release mode. In addition configure sentry-a as a reserved node for validator-a.
-
Max Inden authored
Instead of logging the fact that a generic invalid block announcement is ignored, log that the given block is the genesis block.
-
Pierre Krieger authored
* Some documentation for discovery.rs * Typos * Address concerns * Fix doc after imports
-
- Jul 09, 2019
-
-
thiolliere authored
* impl test using both storage and child_storage * few fixes * remove unused code * impl PartialEq with children keys * fmt * implementation of basic with children + rename new * assert and test * no panic in runtime * address comments * fix
-
Max Inden authored
Given the following situation: A validator 'A' is not supposed to be connected to the public internet to protect it from e.g. a DoS attack. Instead it connects to a sentry node 'sentry-A' which connects to the public internet. Validator 'B' can reach validator 'A' via sentry node 'sentry-A' and vice versa. A sentry node needs to participate in the grandpa gossip without becoming a validator itself in order to forward these message to its validator. This commit adds a new command line flag (`--grandpa-voter`) forcing a node to participate in the grandpa voting process even though no `--key` was specified. Due to the fact that it does not have a key, it does not become a validator in the network. In order to simulate the above situation this commit also adds a Docker Compose file (`scripts/sentry-node/docker-compose.yml`) with further documentation.
-
Gavin Wood authored
* Allow sub accounts to be derived from an TypeId. * Deduplicate * Fix * Rephrase.
-
Pierre Krieger authored
* SharedFinalityProofRequestBuilder -> BoxFinalityProofRequestBuilder * SharedThings -> BoxThings * Fix tests * build_request_data now takes &mut self * The other traits now also take &mut self * More or less fix tests * Fix tests * Fix more tests * Moar tests * Don't call make_block_import multiple time * Fix doctest
-
Tomasz Drwięga authored
* Implement sign & verify. * Use phrases and password. * Sign & verify with authority keys. * Fix tests. * WiP * WiP * Allow the caller to decide on 'CryptoKind'. * Remove TODO. * Make seed private back. * Fix non-std build and bump version. * Use Into<u32> instead of asses. * Add missing typedef.
-
André Silva authored
* srml: system: prune block number to hash mapping * srml: system: add test for block hash mapping pruning * node: bump runtime version * srml: system: wrap long line * srml: system: use parameter type for block hash count * srml: system: prune block hash mapping before storage root calculation * srml: system: keep the genesis hash in block number map
-
- Jul 08, 2019
-
-
Pierre Krieger authored
-