1. Jul 19, 2019
    • Amar Singh's avatar
      Transaction Fee Multiplier (#2854) · a757dfb2
      Amar Singh authored
      
      
      * added fee calculations; need some type conversions
      
      * cleaned up make_payment and other stuff
      
      * rename vars to compile
      
      * add WeightToFee type
      
      * clean test files after new type added to balances
      
      * fmting
      
      * fix balance configs in tests
      
      * more fixing mocks and tests
      
      * more comprehensive block weight limit test
      
      * fix compilation errors
      
      * more srml/executive tests && started fixing node/executor tests
      
      * new fee multiplier; still overflows :(
      
      * perbill at the end attempt; needs to be changed
      
      * clean fmting, rename some vars
      
      * new PoC implementation.
      
      * test weight_to_fee range and verify functionality
      
      * 12 of 15 tests in node executor are passing
      
      * 1 test failing; big_block imports are failing for wrong reasons
      
      * Update srml/executive/src/lib.rs
      
      Co-Authored-By: default avatarKian Peymani <[email protected]>
      
      * Some cleanup.
      
      * consolidate tests in runtime impls
      
      * clean and condition executive for stateful fee range test
      
      * remove comments to self
      
      * Major cleanup.
      
      * More cleanup.
      
      * Fix lock files.
      
      * Fix build.
      
      * Update node-template/runtime/Cargo.toml
      
      Co-Authored-By: default avatarGavin Wood <[email protected]>
      
      * Update node/executor/src/lib.rs
      
      Co-Authored-By: default avatarGavin Wood <[email protected]>
      
      * Update node/executor/src/lib.rs
      
      Co-Authored-By: default avatarGavin Wood <[email protected]>
      
      * Update node/executor/src/lib.rs
      
      Co-Authored-By: default avatarGavin Wood <[email protected]>
      
      * Update node/executor/src/lib.rs
      
      Co-Authored-By: default avatarGavin Wood <[email protected]>
      
      * Update node/executor/src/lib.rs
      
      Co-Authored-By: default avatarGavin Wood <[email protected]>
      
      * Update node/executor/src/lib.rs
      
      Co-Authored-By: default avatarGavin Wood <[email protected]>
      
      * Per-block update.
      
      * nit.
      
      * Update docs.
      
      * Fix contracts test.
      
      * Stateful fee update.
      
      * Update lock files.
      
      * Update node/runtime/src/impls.rs
      
      * Revamped again with fixed64.
      
      * fix cargo file.
      
      * nits.
      
      * Some cleanup.
      
      * Some nits.
      
      * Fix build.
      
      * Bump.
      
      * Rename to WeightMultiplier
      
      * Update node/executor/src/lib.rs
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * Add weight to election module mock.
      
      * Fix build.
      
      * finalize merge
      
      * Update srml/system/src/lib.rs
      
      * Bring back fees.
      
      * Some nits.
      
      * Code shifting for simplicity.
      
      * Fix build + more tests.
      
      * Update weights.rs
      
      * Update core/sr-primitives/src/weights.rs
      
      * Update lib.rs
      
      * Fix test build
      a757dfb2
    • André Silva's avatar
      srml: grandpa: Pause/resume current authority set (#3068) · a3139359
      André Silva authored
      * grandpa: add pause/resume signals to runtime module
      
      * grandpa: add tests for srml pause/resume transitions
      
      * node: bump spec_version
      
      * Apply suggestions from code review
      
      * Update core/finality-grandpa/primitives/src/lib.rs
      
      * Update core/finality-grandpa/primitives/src/lib.rs
      a3139359
  2. Jul 18, 2019
  3. Jul 17, 2019
  4. Jul 16, 2019
  5. Jul 15, 2019
  6. Jul 14, 2019
    • Pierre Krieger's avatar
      Improvements to the import queue (#3101) · 5bd806bd
      Pierre Krieger authored
      * Remove block_imported
      
      * Move blocks results processing to sync
      
      * Remove methods from Link
      
      * Better errors
      
      * Allow cancelling the import queue
      
      * Restore the import trace
      
      * Fix network tests
      
      * Line widths
      
      * Use has_error instead
      
      * Minor style
      5bd806bd
  7. Jul 13, 2019
  8. Jul 12, 2019
    • Toralf Wittner's avatar
      Remove `sync::Context` trait. (#3105) · 9ee79d5c
      Toralf Wittner authored
      Instead of passing a context around to each method, thereby introducing
      side-effecting I/O actions everywhere, with this PR `sync::ChainSync`
      only contains state which is updated by invoking various callback
      methods (`on_*`) and actionable items are returned as regular results
      from method calls, often iterators yielding requests that should be
      issued to peers. It is up to the caller to handle these in an
      appropriate way, currently `protocol` will send those as messages.
      9ee79d5c
  9. Jul 11, 2019
  10. Jul 10, 2019