- Mar 22, 2019
-
-
Kian Peymani authored
* initial doc for the staking module * Remove md style links. * Remove todos. * Add rust code types * Rename and fix review notes. * Add new md file * Final touches. * Migrate compleatly to rustdoc * Update link * Fix heading * Final touches wrt the new template. * Remove empty prereq. * Fix more reviews * Some final nits. * Fix some side issues. * Fix another set of reviews * Fix + stabilize leftover reivews. * Remove unused test parameters * Fix typo. * Merge redundant loops * Adds phantom self-vote * Fix broken tests. * Refactor some names to match the reference. * Remove redundant inner loops from election round. * Introduce phragmen post-processing. * Some fixes and todos. * Fix some tests with new phragmen params * Fix test * Bump spec * Fix wasm build * Fix tests and phragmen fallback. Avoid double-controlling * Fix and rebuild wasm * Whitespaces, whitespaces everywhere. * Rebuild * Disable post-processing. * Identify by stash, not controller account. * Couple of fixes * Fix first test * Fix invulnerability_should_work * Fix a couple more tests * Fix more tests * Fix more tests * Fix more tests * Fix some tests * Fix update-ledger. * Fix update-ledger. * Fix another test * Fix another test * Fix rest of staking tests * Remove printlns * Rebuild wasm * Fix & tests for auth/val syncing * Fix up threading for tests * Remove superfluous asserts
-
* util: fork-tree: check predicate first while traversing tree * core: sync: keep track of justifications sent to the import queue * core: grandpa: verify authority set changes dependencies * core: fork-tree: add more tests * core: grandpa: extend enacts_standard_change tests
-
Pierre Krieger authored
-
cheme authored
-
Arkadiy Paronyan authored
* Don't sync to pruned blocks * Typo Co-Authored-By: arkpar <[email protected]>
-
gabriel klawitter authored
* add option to specifiy substrate node name via environment variable file * gitlab-ci: change job names and adopt to polkadot pipeline * upgrade helm chart Signed-off-by: gabriel <[email protected]>
-
- Mar 21, 2019
-
-
DemiMarie-parity authored
As is so often the case in Rust, most of the work was fixing compiler errors and removing spurious type annotations.
-
-
* Add a substrate-peerset crate * Some adjustements * More adjustements * Use a temporary libp2p branch * Add back-off mechanism * Fix RPC tests * Some adjustements * Another libp2p bugfix * Do a round-robin in the peerset * Use a real dependency instead of a patch for libp2p * Initialize reserved nodes correctly * Better diagnostic for no address * Don't allocate slots if in reserved only * Ban node on dial failure * Fix indentation
-
kaiyu authored
-
Gav Wood authored
* Rebuild, add a couple of tests and fix theoretical issue * Update lib.rs
-
Arkadiy Paronyan authored
* Keep peer info up to date * Docs Co-Authored-By: arkpar <[email protected]>
-
Logan Saether authored
-
- Mar 20, 2019
-
-
Pierre Krieger authored
-
* Be a little safer with total issuance. * PairT instead of _Pair * Remove rev causing upset * Remove fees stuff. * Fix build (including tests) * Update runtime, bump version * Fix * Handle gas refunds properly. * Rename identifier ala #2025 * Address grumbles * New not-quite-linear-typing API * Slimmer API * More linear-type test fixes * Fix tests * Tidy * Fix some grumbles * Keep unchecked functions private * Remove another less-than-safe currency function and ensure that contracts module can never create cash. * Address a few grumbles and fix tests
-
Arkadiy Paronyan authored
* Account for pending insertions when pruning * Comments
-
-
- Mar 19, 2019
-
-
Stanislav Tkach authored
-
asynchronous rob authored
-
thiolliere authored
remove lazy and compute prefix at compile time
-
* core: grandpa: fix aux schema migration * core: grandpa: test aux schema migration
-
* core: gossip: don't expire messages based on time * core: gossip: allow forcing resend of gossip messages * core: grandpa: fix tests
-
Pierre Krieger authored
* Remove support multiple network protocols * Address concerns * Add back debug_asserts
-
Roman Borschel authored
* Update libp2p. Add support for ed25519 node (network) keys. * Update networking to the changes from https://github.com/libp2p/rust-libp2p/pull/972. * Add support for using ed25519 keys for libp2p networking. * Add support for reading libp2p secret keys from (external) files. * Adapt to changes from https://github.com/libp2p/rust-libp2p/pull/992 * More tests. * Cosmetics * Deduplicate tests. * Remove quickcheck from tests that don't use extra random inputs. * Remove quickcheck. * Swap new/default impls for NetworkConfiguration. * Use libp2p-0.5.0 from crates.io. * Post-rebase update. * Remove unnecessary wildcard pattern. * Combine two overlapping tests.
-
- Mar 18, 2019
-
-
Marcio Diaz authored
* feat: add on-chain delegation voting * fix: add recursion limit to delegated_votes * fix: tests * fix: count votes before limit exceeded
-
Bastian Köcher authored
* Expose keyring accounts in CLI So, `--alice` will give you a node with `--key //Alice --name Alice`. * Update readme
-
Shawn Tabrizi authored
* Remove upgrade-key from SRML. Update chain spec builder text * bump spec_version, rebuild wasm * Remove upgrade-key from SRML. Update chain spec builder text * bump spec_version, rebuild wasm * Rebase, Rebuild * Rebuild wasm
-
thiolliere authored
* fix instance event indexing breakage * fix infinite loop * update runtime impl version, and builds * Revert "Remove unnecessary restrictions in executive module (#2024)" This reverts commit e9f17771.
-
郭光华 authored
-
Gautam Dhameja authored
-
Stanislav Tkach authored
-
- Mar 16, 2019
-
-
Gav Wood authored
* Fixes for new Schnorrkel API * Include specific commit hash for schnorrkel
-
- Mar 15, 2019
-
-
thiolliere authored
* first implementation * remove done comment * origin done * impl log for instance * impl inherent for instance * Fix wasm build + full example build this requires parity codec implements codec for core::marker::PhantomData * patch parity-codec link to github branch * improve internal names and fix instance prefix * Fix in macros * add test modules for support this allow to test for construct_runtime as well. The reason to have put that in another crate is: * if we put test in `tests/` dir of srml/support then decl_storage fails to get srml-support access because it believes it is inside srml-support crate and so derive access to `quote!{ crate }` but this is wrong (and I don't see any way to prevent that, and it only bother us so I don't think that matters that much) * if we put test inside lib.rs then contruct_runtime cannot be used because it call some macros that are defined with macros (decl_outer_event and decl_outer_origin) and thus rustc complains. * defaultinstance to its own struct to avoid errors * enforce <T, I> for Event and Config, impl test * add origin, log, inherent to test * test more code generation * basic storage test * fix typo * rename a few imports and field * delete wip test in example and runtime * change default prefix to make it backward compatible with test * rename Instance to I and Instantiable to Instance note: the name of generic parameter I is only enforce by decl_module! and this could be rewritten * doc * clean old TODOs * update parity-codec to 3.2 * update node impl version + builds * fix warning * fix unrelated grandpa test * refactor code
-
Michael Müller authored
* Support skipping the interactive purge prompt Skip it via `cargo run -- purge-chain -y`. * Fix typos * Add Grandpa telemetry * Address comments * Revert unnecessary version bump * Version bump to make CI run * Remove unnecessary cast * Do not bump version
-
Pierre Krieger authored
-
Gav Wood authored
* Crypto fixes: - Use schnorrkel's HDKD derive - Assume all key URIs beginning with `/` are prefixed with public root phrase. * Remove commented code. * Update README * Update core/primitives/src/ed25519.rs Co-Authored-By: gavofyork <[email protected]>
-
Marcio Diaz authored
-
Bastian Köcher authored
-
Gautam Dhameja authored
* docs for timestamp module * addressed review comments in timestamp module docs * fixed typos * uppercase readme file name * merge with master * fixed build failure * removed md file * updated as per the latest template * updated docs * updated docs * addressed review comments * addressed review comments
-
Marcio Diaz authored
* feat: add exponential search * add tests * chore: improve code
-