Skip to content
  1. Feb 21, 2019
  2. Feb 20, 2019
  3. Feb 19, 2019
    • André Silva's avatar
      Import multiple authority set change blocks (#1808) · 18bbe130
      André Silva authored
      * core: implement logic for tracking dag of possible pending changes
      
      * core: move pending justifications dag to its own crate
      
      * core: remove unnecessary clone bounds on dag
      
      * core: request justifications in-order from the dag
      
      * core: dag: rename changes variables to node
      
      * core: dag: allow finalizing blocks not part of dag
      
      * core: dag: track best finalized number
      
      * core: dag: add more tests
      
      * core: sync: clean up pending justifications dag
      
      * core: dag: derive codec decode encode
      
      * core: dag: better error support
      
      * core: dag: add finalization guarded by predicate
      
      * core: grandpa: track multiple authority set changes in dag
      
      * core: dag: add pre-order iterator
      
      * core: grandpa: request justifications on startup
      
      * core: dag: rearrange order of definitions
      
      * core: rename util/dag to util/fork_tree
      
      * core: fork_tree: add docs
      
      * core: fork_tree: add more tests
      
      * core: fork_tree: fix issues found in tests
      
      * core: grandpa: fix authorities tests
      
      * core: grandpa: add docs for is_descendent_of
      
      * core: sync: add docs for PendingJustifications
      
      * core: sync: add test for justification requests across forks
      
      * core: sync: don't resend import or finality notifications in tests
      
      * core: grandpa: add test for importing multiple change blocks
      
      * core: grandpa: fix logic for checking if a block enacts a change
      
      * core: grandpa: fix authorities tests
      18bbe130
    • Toralf Wittner's avatar
      Small refactoring. (#1826) · b7bb3600
      Toralf Wittner authored and asynchronous rob's avatar asynchronous rob committed
      b7bb3600
    • thiolliere's avatar
      Improve fees module (#1821) · efd5224b
      thiolliere authored
      * remove amount associated
      * make a new trait to bound some arithmetics to balances or assets:
        It also remove arithmetic bounds of srml-support::traits::Currency.
      
        To update your code then use srml_support::traits::ArithmeticType like:
        `type Currency: ArithmeticType + Currency<Self::AccountId, Balance=BalanceOf<Self>>; ` 
        with `type BalanceOf<T> = <<T as Trait>::Currency as ArithmeticType>::Type; `
      
      * improve decl_storage when it explicit serde bound: basically don't try to be smarter than rust and just use where clause.
      efd5224b
  4. Feb 18, 2019
    • Tomasz Drwięga's avatar
      Fix linked map for trait types and Option (#1809) · edf2a8fc
      Tomasz Drwięga authored
      * Fix linked map for traits.
      
      * Fix Option<_> variant.
      
      *  Improve naming a tad
      
      * Rebuild runtime
      
      * Encapsulate private data in the inner module.
      
      * Bump impl version.
      
      * Fix deriving codec in srml-example.
      
      * Fix derivation without importing parity-codec-derive.
      
      * Fix config() for map.
      edf2a8fc
  5. Feb 17, 2019
    • Gregory Terzian's avatar
      Rewrite the BasiQueue using channels (#1327) · ed2faf44
      Gregory Terzian authored
      * use channels to implement basic import queue
      
      * async justification import
      
      * better conditional for is_done in tests
      
      * reword the test for presence of link
      
      * fix conditional
      
      * trace instead of panic when no link present
      
      * reword expectations when sending to importers
      
      * fix
      
      * debug justification import error
      
      * update expectations
      
      * use NumberFor
      
      * nits
      
      * add general description
      
      * move error handling into closure
      ed2faf44
    • gabriel klawitter's avatar
      28d97265
  6. Feb 15, 2019
  7. Feb 14, 2019
  8. Feb 13, 2019
    • Shawn Tabrizi's avatar
      Adding vesting tests to Balances module (#1786) · 6a4b5806
      Shawn Tabrizi authored
      * Adding vesting tests to Balances module
      
      * Fix gitlab message, bump impl
      6a4b5806
    • Gautam Dhameja's avatar
      Added demo module to show explicit imports of macros (#1770) · 2d77ae07
      Gautam Dhameja authored
      * added demo module to node template
      
      * updated comments
      
      * replaced demo with updated template module
      
      * Personal preferences here
      
      * fixed comment inside macro
      2d77ae07
    • André Silva's avatar
    • André Silva's avatar
      core: grandpa: collect garbage for topic (#1780) · 0355a1c1
      André Silva authored
      * core: grandpa: collect garbage for topic
      
      * core: grandpa: use collect_garbage_for_topic in tests
      0355a1c1
    • Gav Wood's avatar
      Add more naunce to the runtime CI agent (#1764) · 010764d3
      Gav Wood authored
      * Add more naunce to the runtime CI agent
      
      - If there are no changes to runtime code, exit ok; otherwise:
      - If spec_version has changed, then:
        - Exit ok if the runtime is rebuilt, fail otherwise.
      - If impl_version has changed, then exit ok.
      - If neither version has changed, fail.
      
      * Update check_runtime.sh
      010764d3
    • Stanislav Tkach's avatar
      ac9d30a8
    • Gav Wood's avatar
      Introduce Ristretto signing (#1730) · 71fb4448
      Gav Wood authored
      
      
      * first draft of ristretto crypto module #1685
      
      * adds better comments and code-style
      
      * remove the last evil unwrap
      
      * remove a mistakenly committed lockfile
      
      * add a fresh new lockfile --will probably need a manual merge later
      
      * fix an invalid old test vector
      
      * Wire in ristretto
      
      * Update comment
      
      * Fix use.
      
      * new Signature type api alias to be compatible with substrate
      
      * Add new keyring, fix node executor tests
      
      * Bump version.
      
      * Remove all hashes.
      
      * Update core/primitives/src/sr25519.rs
      
      Co-Authored-By: default avatargavofyork <[email protected]>
      
      * Revert back to Ed25519 (until JS UI is ready)
      
      * Fix test
      71fb4448
    • Tomasz Drwięga's avatar
      EnumerableStorageMap (#1763) · 21f58001
      Tomasz Drwięga authored
      * Refactor decl_storage a bit to allow easier impl of linked map.
      
      * A bunch of refactorings for storage generation.
      
      - Rename StorageMap and ChildrenStorageMap to avoid confusion with generator::StorageMap.
      - Separate implementation from the procedural macro code to clean it up.
      - Make sure that genesis is initialised using the `StorageValue/StorageMap`
        generated implementations instead of going RAW.
      
      * WiP: Writing test.
      
      * Basic implementation.
      
      * Implement enumeration.
      
      * Fix non-std issues.
      
      * fix warning
      
      * Fix test-client.
      
      * Address review grumbles - part 1
      
      * Avoid cloning the key, relax Storage requirements.
      
      * Rebuild runtime.
      
      * Remove dangling todo.
      21f58001
  9. Feb 12, 2019