Skip to content
  1. Aug 09, 2019
    • Bastian Köcher's avatar
      Adds `--no-validator` CLI flag (#3348) · 14a70910
      Bastian Köcher authored
      * Implement `is_validator` for offchain-workers
      
      * Introduce `--no-validator` flag
      
      * Don't run babe/grandpa/im-online when `--no-validator` is given
      
      * Fixes compilation
      
      * Bump spec version
      
      * Improve error handling in executor
      
      * Add missing extern function
      
      * Revert making error public
      
      * Remove `--no-validator` CLI
      14a70910
    • Denis_P's avatar
      Check for warnings (#2850) · bc08fe0b
      Denis_P authored
      * check for warnings
      
      * test run
      
      * prebuild wasm binaries, pre-test is not needed for now
      
      * will run everywhere but PRs
      
      * lost warnings
      
      * lost warnings
      
      * try warnings with tests
      
      * Update expected stderr in UI tests
      
      * added to RUSTFLAGS
      
      * another way of collecting warnings
      
      * bump impl_version
      
      * fix int tests parser
      
      * revert demis changes and impl version bump
      
      * no need to collect warnings in int test
      bc08fe0b
    • André Silva's avatar
      grandpa: fix catch up test (#3347) · 1c260fbe
      André Silva authored
      1c260fbe
    • Gavin Wood's avatar
      Introduce AppVerify (#3343) · 85ee19a8
      Gavin Wood authored
      This trait, which works just like `Verify`, except on AppKey types.
      I'd like for it all just to be `Verify`, but Rust's trait rules
      concerning upstream changes mean it can't happen. This is a simple
      workaround needed for some stuff in Polkadot.
      85ee19a8
  2. Aug 08, 2019
    • André Silva's avatar
    • asynchronous rob's avatar
      remove unneeded as_ref call (#3349) · 76d47365
      asynchronous rob authored
      76d47365
    • Arkadiy Paronyan's avatar
      Fixed warnings (#3345) · 360c0ff7
      Arkadiy Paronyan authored and asynchronous rob's avatar asynchronous rob committed
      360c0ff7
    • David Craven's avatar
      Remove Decode trait bound. (#3342) · c72789cc
      David Craven authored
      c72789cc
    • Pierre Krieger's avatar
      Service various cleanups (#3238) · a8449beb
      Pierre Krieger authored
      * Remove generic from sign()
      
      * Remove mandatory RuntimeGenesis trait req
      
      * Remove requirement from Configuration
      
      * Relax trait bounds of core/cli
      
      * Move method
      
      * The config field is no longer public
      
      * Remove Components from bounds of functions
      
      * Implement DerefMut for LightComponents
      
      * Implement Executor for Full/LightComponents
      
      * Fix bad merge
      
      * Fix forgotten config()
      
      * Fix build
      a8449beb
    • Logan Saether's avatar
      Fix documentation set_controller (#3340) · 35128f74
      Logan Saether authored
      The documentation for the `set_controller` function was copied from the function above it, however it does not do the same thing. Fixed the documentation to fit the correct description of what `set_controller` does.
      35128f74
    • cheme's avatar
      Child storage tests and genesis fix. (#3185) · c36d2477
      cheme authored
      * Using child storage, (srml-support only), test failing .
      
      * fix simple tests.
      
      * Enumerable by requiring owned struct (previous form only allow
      &'static).
      Broken tests are from genesis init.
      
      * implement for_child_keys_with_prefix
      
      * indent
      
      * clear_child_prefix fix.
      
      * clear_child_prefix fix 2.
      
      * fix for storage_impl, if/when allowing child and not child this could be
      reverted.
      
      * Fix lot of urlinked child genesis, still need to look upon actual
      genesis srml module code.
      Probably still a lot of broken code needing debugging.
      
      * switch well_known_key to their associated module child trie.
      Fix a genesis init (balance).
      Complete some testing.
      Comment some tests before using.
      
      * fixing test runtime child keys
      
      * latest commit fix broken genesis init
      
      * fix system balances child name.
      
      * Important fix: storage_root from test externalities need children (it is
      already the case for ext).
      
      * executive root with child calculation
      
      * Avoid empty trie on test ext.
      
      * Symetric removal of key for system.
      
      * commenting changes related tests.
      
      * Remove child module specifics.
      
      * fix issues.
      
      * fix some formatting
      
      * fix bench and bump runtime
      
      * Remove extend_storage_overlays, assimilate_storage do the same as is
      proper considering srml macro.
      
      * Fix warning for assimilate.
      
      * Removing kill as they do not impact any test cases.
      
      * Use tuple of storage map instead of two parameters. This changes the
      behavior of decl_storage genesis build closure (breaking api).
      
      * Do not use build storage before assimilate.
      
      * fix error
      
      * Update core/state-machine/src/backend.rs
      c36d2477
    • Jim Posen's avatar
      srml-contracts: Refactor away some duplication in runtime functions. (#3257) · 225c1b52
      Jim Posen authored
      * srml-contracts: Storage access micro-optimization.
      
      * srml-contracts: Refactor runtime functions to reduce duplication.
      
      * Bump node runtime impl version.
      225c1b52
    • Bastian Köcher's avatar
      Make `--dev` to `--alice` again (#3338) · c0f977cc
      Bastian Köcher authored
      c0f977cc
    • Bastian Köcher's avatar
      Adds `author_rotateKeys` RPC (#3337) · 8155ea35
      Bastian Köcher authored
      * Adds `author_rotateKeys` RPC
      
      `author_rotateKeys` will rotate all session keys, store them into the
      keystore and returns their encoded public keys as result. These encoded
      public keys can be used directly to send the transaction to the chain.
      
      * Review comments
      8155ea35
    • André Silva's avatar
      grandpa: track multiple live rounds in voter set state (#3298) · ab490568
      André Silva authored
      * grandpa: track multiple live rounds in voter set state
      
      * grandpa: don't assume rounds are completed in-order
      
      * grandpa: fix tests
      
      * grandpa: don't assume round is being tracked on Environment::completed
      
      * grandpa: fix missing import in test
      ab490568
    • Xiliang Chen's avatar
      add post_dispatch (#3229) · e4a92a91
      Xiliang Chen authored
      * add post_dispatch
      
      * Update traits.rs
      
      * Update checked_extrinsic.rs
      
      * Update traits.rs
      
      * Update traits.rs
      
      * fix build issue
      
      * update runtime version
      
      * fix test build issue
      e4a92a91
    • Pierre Krieger's avatar
      Switch offchain workers to new futures (#3285) · 27cb884a
      Pierre Krieger authored
      * Switch offchain workers to new futures
      
      * Fix tests
      27cb884a
    • Arkadiy Paronyan's avatar
      Improve console output (#3326) · d5560b6f
      Arkadiy Paronyan authored
      * Cache idle state
      
      * Display import error by default
      d5560b6f
    • Bastian Köcher's avatar
      Clean up CLI interface (#3334) · 983cdeb9
      Bastian Köcher authored
      * Clean up CLI interface
      
      - Removes `--validator` and `--grandpa-voter`
      - Make `--alice` etc work without `--dev`
      
      * Style fixes
      983cdeb9
    • Pierre Krieger's avatar
      Reintroduce mplex (reverts #3312) (#3328) · 2fca4d27
      Pierre Krieger authored
      This reverts commit e9b2113c.
      2fca4d27
  3. Aug 07, 2019
  4. Aug 06, 2019