- Jul 02, 2019
-
-
David Craven authored
* balances: Turn storage items into parameters. * contract: Turn storage items into parameters. * council: Turn storage items into parameters. * finality-tracker: Turn storage items into parameters. * treasury: Turn storage items into parameters. * democracy: Fix tests. * example: Fix tests. * executive: Fix tests. * staking: Fix tests. * Update runtime. * Update template-node. * Update runtime version. * Fix executor tests. * Fix node cli tests. * Address grumbles. * Add removed default values to docs. * Make gas price a storage item. * Set associated consts must be callable outside of build. * Fix not enough gas to pay for transfer fee. * Fix build. * Emit metadata. * Fix build. * Add default values for all parameter types. * Fix build. * Fix build. * Fix build. * Fix build.
-
David Craven authored
-
Gavin Wood authored
* Initial mechanics for 80:20 fee split Also: - Introduce extra functions for Imbalance manipulation; - Store treasury pot in an account, letting total issuance account for it. * Fix some tests * Fix some tests * Minor cleanups * Update parity-codec version (#2855) * Update parity-codec version * Update grandpa, rhododendron and trie-bench * Use primitive-types from crates.io * Bump impl version * Fix trie-bench version * Fix lock files * Fix versions * Update codec to 4.1 * merge fix * Revert merge * More reversions * Remove accidental code * Update locks * Bump runtime * Update locks * Tweaks and label TODO * Update srml/treasury/src/lib.rs Co-Authored-By: DemiMarie-parity <[email protected]> * Update issue number * Update core/sr-primitives/src/traits.rs Co-Authored-By: Robert Habermeier <[email protected]> * Fix wasm build * Fix subkey build
-
Bastian Köcher authored
* Adds a `SpawnTaskHandle` to core service * Fixes compilation * Remove `into()`
-
Weiliang Li authored
fix typo
-
- Jul 01, 2019
-
-
kaichao authored
-
Roman Borschel authored
* Fix DiscoveryBehaviour::poll. The previous implementation regularly returned `NotReady` from `poll` despite the inner Kademlia behaviour having events ready, thus letting the `poll`ing be largely driven by the task wakeups from the Delay for the next random Kademlia query, inducing major delays in consuming the ready Kademlia events and thus slowing progress. The discovery test now passes quickly, as expected. * Ensure the Delay is polled right after reset. For task wakeup.
-
Bastian Köcher authored
* Some cleanup * Add module constant metadata declaration * Begin to integrate the constants in `decl_module` * Fixes tests * Fix compilation and add tests * Remove duplicate code * Expose constants in democracy and staking + further fixes * Update srml/metadata/src/lib.rs Co-Authored-By: YJ <[email protected]> * Hide `RawEvent` metadata function * Prevent whitespaces in types * Fix `offchain_worker` and `constants` with instances * Up the `impl_version` * Fix macro * Incrase impl_version
-
Niklas Adolfsson authored
-
- Jun 30, 2019
-
-
Svyatoslav Nikolsky authored
-
- Jun 29, 2019
-
-
Bastian Köcher authored
This macro compiles and executes the given code only when `std` feature is enabled. This can be useful for debugging without needing to worry that your code does not compile on `no_std`.
-
Pierre Krieger authored
-
- Jun 28, 2019
-
-
Kian Peymani authored
* Enable equalise. * Bump. * Line-width * Add benchmarks for equalise. * Line-width * Re-trigger CI. * Fix test. * Some nits. * Rename. * Bump.
-
hammeWang authored
-
- Jun 27, 2019
-
-
* srml-contract: Refactor away unnecessary Option. * srml-contract: Add assertion to gas_left test. * srml-contract: Refactor try_evict_or_and_pay_rent to make tests pass. * srml-contract: Add tests and comments for bugs in rent payment logic. * srml-contract: Minor cleanup using GasMeter constructor. * Bump node runtime impl version.
-
Bastian Köcher authored
* Add failing test case * move storage maps to blake2_128 (#2268) * remove default hash, introduce twox_128 and blake2 * use blake2_128 & create ext_blake2_128 * refactor code * add benchmark * factorize generator * fix * parameterizable hasher * some fix * fix * fix * fix * metadata * fix * remove debug print * map -> blake2_256 * fix test * fix test * Apply suggestions from code review Co-Authored-By: thiolliere <[email protected]> * impl twox 128 concat (#2353) * impl twox_128_concat * comment addressed * fix * impl twox_128->64_concat * fix test * Fix compilation and cleanup some docs * Lol * Remove traits from storage types that are not generic * Get instance test almost working as wanted * Make `srml-support-test` compile again :) * Fixes test of srml-support * Fix compilation * Break some lines * Remove incorrect macro match arm * Integrates review feedback * Update documentation * Fix compilation
-
Bastian Köcher authored
* Remove `Mutex` from `core-service` * Fixes sync test
-
- Jun 26, 2019
-
-
Tomasz Drwięga authored
-
Pierre Krieger authored
* Remove dependencies on tokio * Make service not depend on tokio * Fix service tests * Manually poll the import queue if failed to start * Spawn all tasks at the end * Remove executor from TelemetryOnConnect * Remove TaskExecutor from offchain workers * Remove TaskExecutor from AuthoritySetup * Remove TaskExecutor from service * Remove tokio dependency from RPC * Remove finality-grandpa from WASM checks * Fix offchain tests * Line widths * Fix RPC tests * Fix service tests * Fix bad futures polling * Address some concerns * Better error handling * Is it the connectivity test that's not passing? I don't know, let's try * Revert "Is it the connectivity test that's not passing? I don't know, let's try" This reverts commit 28bbe51f0e2e4885fe1f901e11078604604cb212. * Fix test
-
cheme authored
* check resulting state root on import. * get root from last method. * Fix test runtime (was changing state after root calculation). * Do reset new authorities (just take before root calculation). * bump impl runtime version. * Update core/sr-api-macros/tests/trybuild.rs Co-Authored-By: Bastian Köcher <[email protected]>
-
Stanislav Tkach authored
* Update codec version to the 4.1 version * Bump impl_version * Update lock files * Update codec to 4.1.1 version * Bump impl version
-
Jim Posen authored
* srml-contract: Move gas costs from Config to Schedule. * srml-contract: Define Gas units fixed as u64. This removes Gas as a configurable type on the contracts Trait. * Bump node runtime spec/impl versions.
-
Pierre Krieger authored
-
* Add DHT key-value behaviour * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * Apply suggestions from code review Co-Authored-By: Pierre Krieger <[email protected]> * Return which key failed to be inserted
-
asynchronous rob authored
* generalized uncle processing * add some uncle tests * set author and do event handling * OnePerAuthorPerHeight no longer O(n^2) and test * bump impl_version of node * Documentation and style fixes Co-Authored-By: DemiMarie-parity <[email protected]> * fix #2949: index-based FindAuthor wrapper for srml-session * use for_each_tuple
-
Bastian Köcher authored
-
Pierre Krieger authored
* Expose the telemetry external transport in the config * Fix tests
-
thiolliere authored
* update parity-scale codec minor version * update to 3.5.3 * update locks * increase impl version * Update to 3.5.4 * Update WASM lockfiles
-
- Jun 25, 2019
-
-
Sergey Pepyakin authored
* Allow spending all gas. * Bump node runtime version
-
Pierre Krieger authored
* Update to libp2p 0.10 * Bump zeroize in substrate-network
-
- Jun 24, 2019
-
-
* Test for not dispatching calls if top level execution fails * Add comment to test * Only dispatch calls if contract execution succeeded Note that `calls` should be empty in this case, but this makes things clearer * Add comment to test Co-Authored-By: Sergei Pepyakin <[email protected]> * Revert: Only dispatch calls if contract execution succeeded
-
thiolliere authored
* approximate fraction into perbill * test * fix comment * line width * bump impl version * rename test for better naming * test overflow * Apply suggestions from code review Co-Authored-By: Niklas Adolfsson <[email protected]>
-
Pierre Krieger authored
* Add ProtocolBehaviour * Fix tests * Line widths * Address concerns * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * Remove TODO
-
- Jun 22, 2019
-
-
DemiMarie-parity authored
* Initial work on relative slots for BABE * More work * Update core/consensus/babe/src/lib.rs `Aura` → `Babe` Co-Authored-By: Pierre Krieger <[email protected]> * More work on relative slots * Add missing field in test-runtime * Bump `impl_version` and `authoring_version` * Fix compile errors and warnings * Upgrade dependencies * Update dependencies more * Revert some updates to dependencies Somehow, those broke the build * Fix compilation errors * `Duration` → `u128` in calculations * `slot_duration` is in milleseconds, not seconds * Median algorithm: ignore blocks with slot_num < sl * Fix silly compile error * Store a duration, rather than an instant It is more useful * Fix compilation errors * `INVERSE_NANO` → `NANOS_PER_SEC` Also: `1000_000_000` → `1_000_000_000` Suggested-by: Niklas Adolfsson <[email protected]> * Un-bump `authoring_version` * Disable median algorithm when `median_required_blocks` is 0 Otherwise it would panic. * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * Simplify panic * Fix build error * Create `SignedDuration` struct for signed `Duration` values. Suggested-by: Bastian Köcher * Refactor median algorithm into separate function * Add issues for FIXMEs and respond to code review * Fix minor warnings
-
- Jun 21, 2019
-
-
Pierre Krieger authored
* Move the network status reporting to the service * Fix tests * Fix build
-
Pierre Krieger authored
* Add documentation at the root of substrate-network * Apply suggestions from code review Co-Authored-By: Toralf Wittner <[email protected]> * Grmlblbl * Adjustments * Link to Yamux specs
-
Pierre Krieger authored
* Use a background task instead of a thread for the import queue * Update Cargo.locks * Comment
-
-
- Jun 20, 2019
-
-
Sergey Pepyakin authored
* Pass input data via the scratch buffer. Remove calls to ext_input_*. * Fix tests and docs * Bump the version. * Remove ext_input_* from COMPLEXITY.md * Return back the length check and add more comments * Update the documentation of the scratch buffer. * Fix a silly mistake.
-
Pierre Krieger authored
-