- Jun 26, 2019
-
-
Demi M. Obenour authored
XOR is not a hash function, and must not be used as such. The implementation was also needlessly unsafe.
-
Demi M. Obenour authored
-
Demi M. Obenour authored
-
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 28bbe51f. * Fix test
-
Demi M. Obenour authored
There were merge conflicts that needed fixing.
-
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 <bkchr@users.noreply.github.com>
-
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 <bkchr@users.noreply.github.com> * Apply suggestions from code review Co-Authored-By:
Pierre Krieger <pierre.krieger1708@gmail.com> * 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 <48690212+DemiMarie-parity@users.noreply.github.com> * 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
-
-
Demi M. Obenour authored
-
Demi M. Obenour authored
-
Demi M. Obenour authored
-
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 <s.pepyakin@gmail.com> * Revert: Only dispatch calls if contract execution succeeded
-
Demi M. Obenour authored
Blake2b is used for hashing.
-
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 <niklasadolfsson1@gmail.com>
-
Pierre Krieger authored
* Add ProtocolBehaviour * Fix tests * Line widths * Address concerns * Apply suggestions from code review Co-Authored-By:
Bastian Köcher <bkchr@users.noreply.github.com> * Remove TODO
-
- Jun 23, 2019
-
-
Demi M. Obenour authored
It just XORs the VRF outputs together.
-
Demi M. Obenour authored
for processing VRF outputs.
-
Demi M. Obenour authored
-
Demi M. Obenour authored
-
Demi M. Obenour authored
The schnorrkel crate does not work on `#![no_std]`, but the runtime only needs constants from it. This adds our own definitions of those constants, and checks them for correctness at compile-time.
-
Demi M. Obenour authored
-
Demi M. Obenour authored
Otherwise, it errors out at compile-time.
-
Demi M. Obenour authored
-
Demi M. Obenour authored
This includes both code to expose them from `srml_system`, as well as using it in (currently dead) code in `srml_babe`.
-
- Jun 22, 2019
-
-
Demi M. Obenour authored
This provides the primitive API, as well as exposing it from BABE.
-
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 <pierre.krieger1708@gmail.com> * 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 <niklasadolfsson1@gmail.com> * 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 <bkchr@users.noreply.github.com> * 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 <tw@dtex.org> * 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.
-