1. Aug 09, 2019
    • 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
    • Arkadiy Paronyan's avatar
      Fixed test block conditions (#3332) · 9b3e9f32
      Arkadiy Paronyan authored
      9b3e9f32
    • Arkadiy Paronyan's avatar
      Set uncles inherent (#3317) · d6eb5dd8
      Arkadiy Paronyan authored
      * Include uncles
      
      * Filter missing uncles
      
      * Moved inherent registration to a new crate
      
      * Ignore invalid inherent encoding
      d6eb5dd8
    • Bastian Köcher's avatar
      Make `DefaultByte` implement `Send + Sync` (#3333) · 872173f0
      Bastian Köcher authored
      * Make `DefaultByte` implement `Send + Sync`
      
      * Update runtime version.
      872173f0
    • Bastian Köcher's avatar
      More tests and some cleanup (#3331) · e269dbf0
      Bastian Köcher authored
      e269dbf0
    • thiolliere's avatar
      Staking optimisation (#3300) · f3a74eff
      thiolliere authored and asynchronous rob's avatar asynchronous rob committed
      * staking code api
      
      * doc + test
      
      * version bump
      
      * index fn
      
      * rename function
      
      * doc
      
      * adress comments
      
      * add complexity comment
      f3a74eff
    • Andrew Jones's avatar
      Derive CompactAs for Perbill/mill/U128 (#3327) · 4f92dfaa
      Andrew Jones authored
      * Derive CompactAs for Perbill/mill/U128
      
      * Increment impl_version
      4f92dfaa
    • Pierre Krieger's avatar
      Rename CustomProto to LegacyProto (#3313) · 4499cb69
      Pierre Krieger authored
      4499cb69
    • Pierre Krieger's avatar
      Make Verifier::verify mutable (#3165) · f4346169
      Pierre Krieger authored
      * Make Verifier::verify mutable
      
      * Fix GrandPa tests
      
      * Fix doctest
      
      * Fix more doctests
      f4346169
    • Pierre Krieger's avatar
      Remove support for mplex (#3312) · e9b2113c
      Pierre Krieger authored
      e9b2113c
    • Arkadiy Paronyan's avatar
      Handle telemetry socket errors (#3321) · c3b9d6c7
      Arkadiy Paronyan authored
      * Handle telemetry socket errors
      
      * Line width
      c3b9d6c7
    • Svyatoslav Nikolsky's avatar
    • Gavin Wood's avatar
      Refactor key management (#3296) · ed61b1fd
      Gavin Wood authored
      
      
      * Add Call type to extensible transactions.
      
      Cleanup some naming
      
      * Merge Resource and BlockExhausted into just Exhausted
      
      * Fix
      
      * Another fix
      
      * Call
      
      * Some fixes
      
      * Fix srml tests.
      
      * Fix all tests.
      
      * Refactor crypto so each application of it has its own type.
      
      * Introduce new AuthorityProvider API into Aura
      
      This will eventually allow for dynamic determination of authority
      keys and avoid having to set them directly on CLI.
      
      * Introduce authority determinator for Babe.
      
      Experiment with modular consensus API.
      
      * Work in progress to introduce KeyTypeId and avoid polluting API
      with validator IDs
      
      * Finish up drafting imonline
      
      * Rework offchain workers API.
      
      * Rework API implementation.
      
      * Make it compile for wasm, simplify app_crypto.
      
      * Fix compilation of im-online.
      
      * Fix compilation of im-online.
      
      * Fix more compilation errors.
      
      * Make it compile.
      
      * Fixing tests.
      
      * Rewrite `keystore`
      
      * Fix session tests
      
      * Bring back `TryFrom`'s'
      
      * Fix `srml-grandpa`
      
      * Fix `srml-aura`
      
      * Fix consensus babe
      
      * More fixes
      
      * Make service generate keys from dev_seed
      
      * Build fixes
      
      * Remove offchain tests
      
      * More fixes and cleanups
      
      * Fixes finality grandpa
      
      * Fix `consensus-aura`
      
      * Fix cli
      
      * Fix `node-cli`
      
      * Fix chain_spec builder
      
      * Fix doc tests
      
      * Add authority getter for grandpa.
      
      * Test fix
      
      * Fixes
      
      * Make keystore accessible from the runtime
      
      * Move app crypto to its own crate
      
      * Update `Cargo.lock`
      
      * Make the crypto stuff usable from the runtime
      
      * Adds some runtime crypto tests
      
      * Use last finalized block for grandpa authority
      
      * Fix warning
      
      * Adds `SessionKeys` runtime api
      
      * Remove `FinalityPair` and `ConsensusPair`
      
      * Minor governance tweaks to get it inline with docs.
      
      * Make the governance be up to date with the docs.
      
      * Build fixes.
      
      * Generate the inital session keys
      
      * Failing keystore is a hard error
      
      * Make babe work again
      
      * Fix grandpa
      
      * Fix tests
      
      * Disable `keystore` in consensus critical stuff
      
      * Build fix.
      
      * ImOnline supports multiple authorities at once.
      
      * Update core/application-crypto/src/ed25519.rs
      
      * Merge branch 'master' into gav-in-progress
      
      * Remove unneeded code for now.
      
      * Some `session` testing
      
      * Support querying the public keys
      
      * Cleanup offchain
      
      * Remove warnings
      
      * More cleanup
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarBenjamin Kampmann <[email protected]>
      
      * More cleanups
      
      * JSONRPC API for setting keys.
      
      Also, rename traits::KeyStore* -> traits::BareCryptoStore*
      
      * Bad merge
      
      * Fix integration tests
      
      * Fix test build
      
      * Test fix
      
      * Fixes
      
      * Warnings
      
      * Another warning
      
      * Bump version.
      ed61b1fd
    • Bastian Köcher's avatar
    • Arkadiy Paronyan's avatar
      e348b5b3
    • Bastian Köcher's avatar
      Update to schnorrkel `0.8.0` (#3267) · e2d9619d
      Bastian Köcher authored
      
      
      * Update to schnorrkel `0.8.0`
      
      * Increase `spec_version`
      
      * Bump schnorrkel to 0.8.3 (#3283)
      
      * Schnorrkel 0.8.1 (builds on bkchr upgrade branch)
      
      * Add tests for known hard/soft derivation values
      
      * Bump all schnorrkel versions
      
      * Flatten for easier inspection
      
      * 0.8.2
      
      * 0.8.3
      
      * Update subkey/Cargo.toml
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update `Cargo.lock`
      
      * 0.8.4
      
      * Fix cargo lock file.
      
      * Adding an error message for `NotMarkedSchnorrkel` as that was missing.
      Also fixing a typo, strage -> stage.
      e2d9619d
    • Pierre Krieger's avatar
      Rename on_demand to light_dispatch and various minor changes (#3315) · 25f68b35
      Pierre Krieger authored
      * Rename on_demand to light_server
      
      * Small docs improvement
      
      * Rename on_block_announce to update_best_number
      
      * More minor documentation
      
      * Light server -> light dispatch
      
      * is_light_rq_response -> is_light_response
      25f68b35
    • thiolliere's avatar
      Fix decl_storage map and linked_map for insert_ref (#3316) · e560b2ad
      thiolliere authored
      
      
      * test
      
      * fix
      
      * bumpd version
      
      * Update srml/support/procedural/src/storage/impls.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      e560b2ad
  4. Aug 06, 2019
  5. Aug 05, 2019