- Sep 30, 2019
-
-
Bastian Köcher authored
-
- Sep 27, 2019
-
-
Bastian Köcher authored
-
Bastian Köcher authored
-
Bastian Köcher authored
-
- Sep 26, 2019
-
-
Bastian Köcher authored
-
Bastian Köcher authored
-
Bastian Köcher authored
-
Bastian Köcher authored
-
Bastian Köcher authored
-
- Sep 25, 2019
-
-
Bastian Köcher authored
-
Bastian Köcher authored
-
Bastian Köcher authored
-
Bastian Köcher authored
-
Bastian Köcher authored
-
- Sep 24, 2019
-
-
Bastian Köcher authored
-
Bastian Köcher authored
-
- Sep 20, 2019
-
-
Bastian Köcher authored
-
- Sep 19, 2019
-
-
Bastian Köcher authored
-
Bastian Köcher authored
-
- Sep 17, 2019
-
-
Bastian Köcher authored
-
- Sep 13, 2019
-
-
Tomasz Drwięga authored
* Add meta rpc_methods call. * Sort methods. * Bump runtime. * Change format a bit to support versioning.
-
Bastian Köcher authored
* Move trait `Printable` into `sr-primitives` * Cleanup runtime io trie_root interfaces * Remove last generic bits from sr-io interface * Fix srml-sudo after master merge * Fix benchmarks * Runtime bump
-
Michael Müller authored
* Clear up import/export misunderstandings * Fetch minimum period from runtime * Remove unnecessary comment This variable is already fetched from the runtime in the line below. * Fix bug in factory The `best_block_id` stayed the same, it was always the genesis hash. This resulted in the factory failing after 4096 blocks, since `client/db` discards hashes (in this case the genesis hash) after 4096 blocks from the database. * Fix tense in error message * Improve allocator documentation * Fix bug in allocator Under certain circumstances an invalid pointer was returned: when the `ptr` was calculated as equal to the `max_heap_size`. This is an invalid pointer since there is no access allowed after the heap limit. The way to provoke this was to repeatedly allocate with sizes which were previously not allocated and immediately deallocate right afterwards. What this did was to increment the `bumper` with each allocation, whilst keeping the `total_size` of the heap `0`. If this repeated allocation/deallocation scheme resulted in `max_heap_size == ptr` the `ptr` was still returned. The allocator only checked if the `total_size` was still within the `max_heap_size` limits, and not if the resulting `ptr` was still within the valid heap region. This commit introduces a check to validate if the calculated `ptr` is within the heap. * Add test for zero byte allocation and document behavior * Improve code readability by introducing a const * Fix error message in test * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * Fix code review suggestions * Replace early return with assertion * Remove test for zero size allocations * Shorten test code * Shorten comment * Make bump() return Result * Add comment for bump() * Remove ambiguous comment * Replace value with const * Use proof for panic message * Fix merge * Add comment regarding minimum allocation size
-
Tomasz Drwięga authored
* Use session::validators instead of staking::current_elected * Basic test framework. * Initialize validators, attempt to heartbeat. * Use dummy crypto for im-online testing. * Remove printlns. * Finish test, make it invalid. * Add reporting test. * Finalize the test. * Remove dumbness. * Updates. * Update AuRa * Update srml/im-online/src/tests.rs Co-Authored-By: Bastian Köcher <[email protected]> * Derive Ord * Add some more tests. * Remove stray todo. * Bump runtime version. * Bump impl-trait-for-tuples. * Enforce new version of trait-for-tuples.
-
Kian Paimani authored
* Fix locking. * Some reformattings. * Fix build. * Fix doc comment. * Bump.
-
Kian Paimani authored
* Move phragmen benches to.. phragmen. * Move some basic phragmen tests to.. phragmen. * Line-width * Add phragmen equ implementation as flot * Add phragmen equ implementation as flot * Add mock and test file.
-
- Sep 12, 2019
-
-
Bastian Köcher authored
* Implement support for `patch` section in wasm-builder * Update core/utils/wasm-builder/src/wasm_project.rs * Support patch by path * Go down to the actual data
-
Sergey Pepyakin authored
* Print version when panic * Fix tests.
-
Svyatoslav Nikolsky authored
* removing fetcher dependency from light backend * fix compilation
-
André Silva authored
* grandpa: reannounce latest voted blocks periodically * grandpa: add test for background block announcement * grandpa: configurable delay for background block announcer * grandpa: nits
-
Gavin Wood authored
* Sudo can dispatch from an account. * Fix * Bump runtime. * Update srml/sudo/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]>
-
Marcio Diaz authored
* Decode hex * Remove log * Some refactoring to help with testing * Add own functions for sign and verify. * Add sign test * Sign-verify test * Generate-sign-verify test for both cryptos * Add aliases * Print signature * More refactoring * Update sign-transaction as transfer * Simplify transfer and sign-transaction * main to top file * rename read_input_message to read_message_from_stdin * More refactoring * Add read_required_parameter * Add format seed * More refactoring * format code * add print_extrinsic * Remove 0x from print * fix naming * Fix readme * Remove rustfmt * Remove commented test * Fix import nits
-
Sergey Pepyakin authored
* Sketch * Some work on docs. * Doc improvements. * More docs. * Some more docs. * Yet another comment. * Bump impl_version. * Accept the block hash * Use NumberOrHex * Update node/rpc/src/contracts.rs Co-Authored-By: Tomasz Drwięga <[email protected]> * Move rpc/primitives
-
-
- Sep 11, 2019
-
-
André Silva authored
* grandpa: ignore result of voter command send * grandpa: avoid race condition on environment::finalize_block
-
Sergey Pepyakin authored
* Add a failing test case * Actual fix * read_child_storage, fix wasm side * Bump the impl version. * Alternative (#3597) * Update with_std.rs * Update with_std.rs * Update wasm_executor.rs * Update wasm_executor.rs * Update with_std.rs * Update wasm_executor.rs
-
Bastian Köcher authored
* Switch to new proc-macro crate for implementing traits for tuples * Switch back to stable `Cargo.lock` format * Reduce tuple number to match rusts default implementation
-
André Silva authored
-
Gavin Wood authored
* Minor cleanups and tests * Add another test * fix * Fix tests * Fix tests * Update srml/staking/src/tests.rs Co-Authored-By: thiolliere <[email protected]>
-
Shawn Tabrizi authored
* Use `--release` for running a Substrate dev node Otherwise users may run into block production time problems. * Update README.adoc
-