Skip to content
  1. Feb 28, 2019
    • Michael Müller's avatar
      Telemetry improvements (#1886) · f429a0cb
      Michael Müller authored
      * Fix typo
      
      * Support multiple telemetry endpoints and verbosity levels
      
      * Bump substrate-telemetry version
      
      * Telemetrify Aura consensus
      
      * Telemetrify Grandpa
      
      * Fix CI version conflicts
      
      * Implement style remarks
      
      * Fix fixture
      
      * Implement style remarks
      
      * Clone only when necessary
      
      * Get rid of Arc for URL
      
      * Handle connection issues better
      f429a0cb
    • Gregory Terzian's avatar
      Remove blocking sync -> import-queue operations (#1818) · 6f4c9955
      Gregory Terzian authored
      * remove blocking sync -> import-queue operations
      
      add specialization to testnet
      
      remove add peer default impl on TestNetFactory
      
      * remove empty brackets from dummy specialization
      
      * nits
      
      * make mut_peers take an fn once
      
      * add SpecializationFactory trait in test
      
      * remove add_peer imple in grandpa, fix typo
      
      * use cmp::max for best importing number comparison
      
      * remove import of non-existent create_peer
      
      * add sender to start message
      6f4c9955
    • thiolliere's avatar
      fix construct_runtime! macro error when no event (#1887) · 02501f71
      thiolliere authored
      * fix macro error when no event
      
      * update impl version
      02501f71
    • gabriel klawitter's avatar
      f6f4e45d
  2. Feb 27, 2019
  3. Feb 26, 2019
  4. Feb 25, 2019
  5. Feb 22, 2019
  6. Feb 21, 2019
  7. Feb 20, 2019
  8. 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
  9. 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
  10. 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
  11. Feb 15, 2019
    • Stanislav Tkach's avatar
      Migrate finality-grandpa to the 2018 edition (#1797) · 50bfe375
      Stanislav Tkach authored and asynchronous rob's avatar asynchronous rob committed
      50bfe375
    • Michael Müller's avatar
      Fix --import-blocks (#1807) · 1752b28c
      Michael Müller authored
      * Encode count of exported blocks correctly
      
      There was a type mismatch: import used u32, export
      used Number.
      
      * Wait for import to finish
      
      The issue was that even though the import thread
      was still running, the main thread exited.
      
      * Remove superfluous parentheses
      
      * Improve structure, add proofs for expects
      
      * Unify types for export/import length
      1752b28c
    • gabriel klawitter's avatar
      gitlab-ci: merge-test stage (#1752) · 082ab84f
      gabriel klawitter authored
      082ab84f
    • Xiliang Chen's avatar
      Transaction Fee Module (#1648) · 14ee64c3
      Xiliang Chen authored
      * wip
      
      * Split bytes fee charging and charging by amount into different traits.
      
      * Move to edition 2018.
      
      * Implemented charge fee traits for fees module.
      
      * Implemented 'on_finalise' for fee module.
      
      * Updated fees finalize impl.
      
      * Renaming and documentation update.
      
      * Added overflow & underflow check for fee calculation.
      
      * Added mock and unit tests for fee module.
      
      * More unit tests for fees module.
      
      * Fixed srml-executive unit tests.
      
      * Remove transaction base/bytes fee from balances module, fix unit tests.
      
      * fix compile error
      
      * Fixed unit test.
      
      * Minor fixes.
      
      * Bump spec version.
      
      * Bump spec version.
      
      * Updated fees module and runtime wasm.
      
      * Fees module code style improvement; updated runtime wasm.
      
      * Bump spec and impl version.
      14ee64c3
    • Svyatoslav Nikolsky's avatar
      Use DB backend in test client (#1779) · 3a9b1e47
      Svyatoslav Nikolsky authored
      
      
      * use DB backend in test client
      
      * Update core/client/db/src/lib.rs
      
      Co-Authored-By: default avatarsvyatonik <[email protected]>
      3a9b1e47