1. Nov 27, 2019
  2. Nov 26, 2019
  3. Nov 25, 2019
    • Tomasz Drwięga's avatar
      Remove `keystore` when doing calls and producing a proof (#4196) · a9d43cc0
      Tomasz Drwięga authored
      * Remove keystore parameter.
      
      * Fix tests.
      a9d43cc0
    • Pierre Krieger's avatar
      c0f9a21a
    • Alexey's avatar
      Refactor `construct_runtime` to procedural (#3810) · 298b6324
      Alexey authored
      
      
      * interim
      
      * interim
      
      * interim
      
      * first working section
      
      * cleanup
      
      * finished parsing
      
      * cleanup
      
      * added system module search
      
      * added clone and find_entry
      
      * generic find_module_entry
      
      * interim
      
      * working event
      
      * added generic event with no instance error
      
      * cleanup
      
      * added decl origin
      
      * cleanup
      
      * added all modules
      
      * added outer dispatch
      
      * added modules expansion
      
      * refactored transformations
      
      * updated error message
      
      * added resolve mechanics
      
      * added metadata
      
      * finished config
      
      * finished inherents
      
      * added validate_unsigned
      
      * added compares
      
      * cleanup
      
      * cleanup
      
      * cleanup
      
      * fix
      
      * updated modules for last one wins
      
      * cleanup
      
      * made nested modules
      
      * updated impl version
      
      * removed comment
      
      * cleanup
      
      * added ui tests
      
      * added optional comma
      
      * removed unnecessary to string cast
      
      * removed no compile
      
      * cleanup
      
      * fmt
      
      * returned nocompile
      
      * Update srml/support/procedural/src/construct_runtime/parse.rs
      
      Co-Authored-By: default avatarthiolliere <[email protected]>
      
      * added where definition
      
      * updated ui tests
      
      * updated ui test cases
      
      * added test case
      
      * updated tests
      
      * interim
      
      * added parse for module part
      
      * removed totokens
      
      * fixes
      
      * fixed multiple iter
      
      * changed TokenStream
      
      * fmt
      
      * updated trybuild
      
      * added test for arguments
      
      * fmt
      
      * fixes + more tests
      
      * fixes
      
      * fmt
      
      * rolled back runtime
      
      * minor fixes
      
      * empty
      
      * fixes
      
      * fmt
      
      * Update paint/support/procedural/src/lib.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update paint/support/procedural/src/lib.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update paint/support/procedural/src/construct_runtime/parse.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * interim
      
      * refactored seen_keys
      
      * refactored hash_set
      
      * Update paint/support/procedural/src/construct_runtime/mod.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * refactored find
      
      * fix
      
      * fixed all_modules
      
      * added double declaration check
      
      * small fix
      
      * fmt
      
      * fix
      
      * fix default
      
      * format
      298b6324
    • Arkadiy Paronyan's avatar
      Fixed shared cache race on import (#4194) · 6681ee19
      Arkadiy Paronyan authored
      * Fixed is_best race on import
      
      * Take import lock outside of backend
      
      * Actually take the lock
      6681ee19
    • Shawn Tabrizi's avatar
      Remove `frame/` prefix from `im_online` DB_KEY. (#4191) · 2ac4dd8a
      Shawn Tabrizi authored
      * Remove `frame/` prefix from `im_online` DB_KEY.
      
      Caught in the renaming process. It is not obvious to me why `frame/` or `palette/` or `srml/` was included in the DB key.
      
      * Update lib.rs
      2ac4dd8a
    • Ashley's avatar
      Rewrite `elected_edges.sort_unstable_by` in phragmen (#4195) · 6a063c24
      Ashley authored
      * Rewrite phragmen elected_edges.sort_unstable_by
      
      * map -> and_then
      6a063c24
    • Xiliang Chen's avatar
      PaysFee for DispatchInfo (#4165) · 1078691b
      Xiliang Chen authored
      
      
      * Add PaysFee trait
      
      * bump version
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarKian Paimani <[email protected]>
      
      * line width
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarKian Paimani <[email protected]>
      
      * fix test
      
      * fix test
      
      * fix test
      1078691b
  4. Nov 24, 2019
  5. Nov 23, 2019
    • Bastian Köcher's avatar
      Switch to new kvdb-rocksdb (#4186) · eef00ea7
      Bastian Köcher authored
      
      
      * Switch to new rocksdb with some hacks to resolve linking errors
      
      Rocksdb and `wasmtime-environ` both link `zstd`. In the final link step,
      this leads to linking errors because of duplicate symbols. The linked
      Rocksdb fixes this by using `zstd-sys` as well. However, this currently
      also requires modifications in `zstd-sys`. Someone will need to come up
      with a better implementation.
      
      * Switch to new version of kvdb-rocksdb
      
      * Update client/db/src/utils.rs
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      eef00ea7
    • Kian Paimani's avatar
      elections-phragmen: renounce candidacy [+ remove dead code] (#4123) · c9e964f6
      Kian Paimani authored
      * new elections phragmen module.
      
      * Bump
      
      * rename typo
      
      * Few nits
      
      * Fix runner outgoing bond
      
      * remove useused var
      
      * Fix refund logic.
      
      * Update doc.
      
      * Update lock
      c9e964f6
  6. Nov 22, 2019
    • Shawn Tabrizi's avatar
      Rename Palette to FRAME (#4182) · 1f26179a
      Shawn Tabrizi authored
      
      
      * palette -> frame
      
      * PALETTE, Palette -> FRAME
      
      * Move folder pallete -> frame
      
      * Update docs/Structure.adoc
      
      Co-Authored-By: default avatarBenjamin Kampmann <[email protected]>
      
      * Update docs/README.adoc
      
      Co-Authored-By: default avatarBenjamin Kampmann <[email protected]>
      
      * Update README.adoc
      1f26179a
    • Sergey Pepyakin's avatar
      Renaming and documentation for ApplyResult, ApplyOutcome and et al (#4134) · d88fff59
      Sergey Pepyakin authored
      
      
      * Remove superflous errors from the system module
      
      * Rename and document InclusionOutcome
      
      * Rename InclusionError
      
      * Remove unused inclusion errors.
      
      I left the enumeration though since other elements might be used some day.
      
      * Rename and document DispatchOutcome
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * TransactionValidityError instead of InclusionError
      
      * Rename InclusionOutcome to ApplyExtrinsicResult
      
      * Update docs.
      
      * Update lib.rs
      
      should be → is
      
      * Bump the block builder API version.
      
      * Fix the should_return_runtime_version test
      
      * Clean the evidence
      d88fff59
    • Tomasz Drwięga's avatar
      Offchain execution extensions (#4145) · 06f6daab
      Tomasz Drwięga authored
      * Pass Extensions instead of individual objects.
      
      * Move TransactionPool to a separate ExternalitiesExtension.
      
      * Fix compilation.?
      
      * Clean up.
      
      * Refactor testing utilities.
      
      * Add docs, fix tests.
      
      * Fix doctest.
      
      * Fix formatting and add some logs.
      
      * Add some docs.
      
      * Remove unused files.
      06f6daab
    • thiolliere's avatar
      fix storage decode error (#3997) · 1398042d
      thiolliere authored
      1398042d
    • Ashley's avatar
      Grafana integration (#3913) · d9ca9750
      Ashley authored
      
      
      * Very WIP
      
      * record_metrics macro works
      
      * Integrate into service
      
      * Licenses and documentation
      
      * Remove unused Debugs, make respond function clearer
      
      * Conform to line widths, fix service test
      
      * Switch to storing the timestamps as millis instead
      
      * Update core/grafana-data-source/src/lib.rs
      
      Co-Authored-By: default avatarKian Paimani <[email protected]>
      
      * Transform timestamps to i64 in serialization
      
      * Fix license date
      
      * Binary sort to find selection range for metrics
      
      * Obey maxDataPoints
      
      * Run a cleaning future
      
      * Newlines at EOF
      
      * Update core/service/Cargo.toml
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * Update core/grafana-data-source/src/lib.rs
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * Fix indentation
      
      * Improve select_points
      
      * Made test more accurate
      
      * Inprogress
      
      * Use the same futures version as hyper for now
      
      * Error handling
      
      * Remove dependence on hyper's tokio feature
      
      * Added target_os flag
      
      * Update Cargo.toml
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * Simplify example
      
      * Remove compat wildcard
      
      * Updated lock file
      
      * Fix indentation 😉
      d9ca9750
    • Pierre Krieger's avatar
      c86d2137
    • mattrutherford's avatar
      Add instrumentation, with performance profiling capability (#4132) · 3402cc88
      mattrutherford authored
      * Implement instrumentation for performance profiling
      
      * Add profiling to runtime functions declared in `decl_module` inc.
      `on_initialize` and `on_finalize`
      
      * Remove changes
      
      * add docs, tidy up
      
      * fix versions
      
      * fix copyright date
      
      * switch to hashmap and instant
      
      * update example
      
      * update example
      
      * implement receiver for logger and make default
      
      * fix comment
      
      * use `if_std!` macro
      
      * remove whitespace
      
      * fix whitespace
      
      * fix nits
      3402cc88
    • Gavin Wood's avatar
      Publish the dispatch info in extrinsic events (#4148) · 371074cb
      Gavin Wood authored
      * Publish the dispatch info in extrinsic events
      
      Place the DispatchInfo (which contains weight information about the
      extrinsic that is otherwise difficult to determine) in the dispatch
      result value.
      
      * Runtime bump.
      
      * Fix build
      
      * Fix tests
      
      * Fix build?
      371074cb
    • Web3 Philosopher's avatar
      Better docs for TxPool::import_notification_stream (#4157) · 51ee631f
      Web3 Philosopher authored
      
      
      * better docs for import_notification_stream
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      51ee631f
    • asynchronous rob's avatar
      Updating GRANDPA to v0.10.0 (#4174) · aef7815d
      asynchronous rob authored
      * update finality-grandpa to v0.10.0 rev
      
      * add concluded implementation to environment
      
      * also update state when concluding
      
      * switch to the cargo version
      
      * address comment grumbles
      aef7815d
    • Ashley's avatar
      Upgrade from futures-preview to futures 0.3.1, and remove futures 0.1 where... · aee12ee6
      Ashley authored
      Upgrade from futures-preview to futures 0.3.1, and remove futures 0.1 where currently possible (#4083)
      
      * Migrate node and node-template
      
      * Migrate srml
      
      * Simple changes
      
      * Add async-std for interval
      
      * Fix test-runtime warning
      
      * Small changes
      
      * move futures01 in core/rpc to dev-deps
      
      * Change wasm CI builds
      
      * Switch to async-std 1.0.1
      
      * Remove async-std dep of network
      
      * Add modified lockfile
      
      * Fix node cli browser build
      
      * Remove authority-discovery async-std dep
      
      * Add Send + Sync to interval dyn stream
      aee12ee6