1. Mar 22, 2019
    • Kian Peymani's avatar
      Self-Vote for Staking (among others.) (#2078) · 3628a932
      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
      3628a932
    • André Silva's avatar
      Fix handling of justifications (#2086) · d1e25d1e
      André Silva authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * 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
      d1e25d1e
    • Pierre Krieger's avatar
      Fix #2073 (#2087) · 6f6fd584
      Pierre Krieger authored
      6f6fd584
    • cheme's avatar
      Switch contract storage to child trie (#2002) · 0c087c7d
      cheme authored
      0c087c7d
    • Arkadiy Paronyan's avatar
      Don't sync on top of pruned blocks (#2079) · b6e5b684
      Arkadiy Paronyan authored
      
      
      * Don't sync to pruned blocks
      
      * Typo
      
      Co-Authored-By: default avatararkpar <[email protected]>
      b6e5b684
    • gabriel klawitter's avatar
      Ci update names and chart (#2076) · a59b745c
      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: default avatargabriel <[email protected]>
      a59b745c
  2. Mar 21, 2019
  3. Mar 20, 2019
  4. Mar 19, 2019
  5. Mar 18, 2019
  6. Mar 16, 2019
  7. Mar 15, 2019
    • thiolliere's avatar
      Implement parameterisable modules (#1800) · 7c95fb0b
      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
      7c95fb0b
    • Michael Müller's avatar
      Add grandpa telemetry (+ other minor improvements) (#1997) · a29f2141
      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
      a29f2141
    • Pierre Krieger's avatar
      7f2ab7b8
    • Gav Wood's avatar
      Crypto fixes/improvements (#2008) · 06ff2397
      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: default avatargavofyork <[email protected]>
      06ff2397
    • Marcio Diaz's avatar
      chore: refactor test (#2007) · cb546348
      Marcio Diaz authored
      cb546348
    • Bastian Köcher's avatar
      Build docs with nightly (#2006) · 9c3ba7f6
      Bastian Köcher authored
      9c3ba7f6
    • Gautam Dhameja's avatar
      Documentation for the timestamp module (#1927) · 5cb53963
      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
      5cb53963
    • Marcio Diaz's avatar
      Add exponential search for ancestor search (#1875) · 2821d009
      Marcio Diaz authored
      * feat: add exponential search
      
      * add tests
      
      * chore: improve code
      2821d009