1. Aug 08, 2019
    • cheme's avatar
      Child storage tests and genesis fix. (#3185) · b0e1212d
      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
      b0e1212d
    • Jim Posen's avatar
      srml-contracts: Refactor away some duplication in runtime functions. (#3257) · 0067b2d9
      Jim Posen authored
      * srml-contracts: Storage access micro-optimization.
      
      * srml-contracts: Refactor runtime functions to reduce duplication.
      
      * Bump node runtime impl version.
      0067b2d9
    • Bastian Köcher's avatar
      Make `--dev` to `--alice` again (#3338) · 7c1fc4cc
      Bastian Köcher authored
      7c1fc4cc
    • Bastian Köcher's avatar
      Adds `author_rotateKeys` RPC (#3337) · 0de7d9bb
      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
      0de7d9bb
    • André Silva's avatar
      grandpa: track multiple live rounds in voter set state (#3298) · 6565e1f8
      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
      6565e1f8
    • Xiliang Chen's avatar
      add post_dispatch (#3229) · 0f0df985
      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
      0f0df985
    • Pierre Krieger's avatar
      Switch offchain workers to new futures (#3285) · 3d65753d
      Pierre Krieger authored
      * Switch offchain workers to new futures
      
      * Fix tests
      3d65753d
    • Arkadiy Paronyan's avatar
      Improve console output (#3326) · b2927723
      Arkadiy Paronyan authored
      * Cache idle state
      
      * Display import error by default
      b2927723
    • Bastian Köcher's avatar
      Clean up CLI interface (#3334) · 60269d65
      Bastian Köcher authored
      * Clean up CLI interface
      
      - Removes `--validator` and `--grandpa-voter`
      - Make `--alice` etc work without `--dev`
      
      * Style fixes
      60269d65
    • Pierre Krieger's avatar
      Reintroduce mplex (reverts #3312) (#3328) · 63969014
      Pierre Krieger authored
      This reverts commit f11291cd.
      63969014
  2. Aug 07, 2019
    • Arkadiy Paronyan's avatar
      Fixed test block conditions (#3332) · c0fd256c
      Arkadiy Paronyan authored
      c0fd256c
    • Arkadiy Paronyan's avatar
      Set uncles inherent (#3317) · 58bd0d4c
      Arkadiy Paronyan authored
      * Include uncles
      
      * Filter missing uncles
      
      * Moved inherent registration to a new crate
      
      * Ignore invalid inherent encoding
      58bd0d4c
    • Bastian Köcher's avatar
      Make `DefaultByte` implement `Send + Sync` (#3333) · ea58b7c9
      Bastian Köcher authored
      * Make `DefaultByte` implement `Send + Sync`
      
      * Update runtime version.
      ea58b7c9
    • Bastian Köcher's avatar
      More tests and some cleanup (#3331) · 46709e83
      Bastian Köcher authored
      46709e83
    • thiolliere's avatar
      Staking optimisation (#3300) · 556a9416
      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
      556a9416
    • Andrew Jones's avatar
      Derive CompactAs for Perbill/mill/U128 (#3327) · 65a76293
      Andrew Jones authored
      * Derive CompactAs for Perbill/mill/U128
      
      * Increment impl_version
      65a76293
    • Pierre Krieger's avatar
      Rename CustomProto to LegacyProto (#3313) · c32d9a17
      Pierre Krieger authored
      c32d9a17
    • Pierre Krieger's avatar
      Make Verifier::verify mutable (#3165) · 97febf4c
      Pierre Krieger authored
      * Make Verifier::verify mutable
      
      * Fix GrandPa tests
      
      * Fix doctest
      
      * Fix more doctests
      97febf4c
    • Pierre Krieger's avatar
      Remove support for mplex (#3312) · f11291cd
      Pierre Krieger authored
      f11291cd
    • Arkadiy Paronyan's avatar
      Handle telemetry socket errors (#3321) · b5cd3628
      Arkadiy Paronyan authored
      * Handle telemetry socket errors
      
      * Line width
      b5cd3628
    • Svyatoslav Nikolsky's avatar
    • Gavin Wood's avatar
      Refactor key management (#3296) · 1a524b82
      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.
      1a524b82
    • Bastian Köcher's avatar
    • Arkadiy Paronyan's avatar
      4242a4e5
    • Bastian Köcher's avatar
      Update to schnorrkel `0.8.0` (#3267) · 394eff6c
      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.
      394eff6c
    • Pierre Krieger's avatar
      Rename on_demand to light_dispatch and various minor changes (#3315) · b5b1c2a4
      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
      b5b1c2a4
    • thiolliere's avatar
      Fix decl_storage map and linked_map for insert_ref (#3316) · 87e72d93
      thiolliere authored
      
      
      * test
      
      * fix
      
      * bumpd version
      
      * Update srml/support/procedural/src/storage/impls.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      87e72d93
  3. Aug 06, 2019
  4. Aug 05, 2019
  5. Aug 03, 2019
  6. Aug 02, 2019
    • Sergey Pepyakin's avatar
      srml-contracts: Minor fixes to docs. (#3262) · f0856db1
      Sergey Pepyakin authored
      
      
      * Adjust documentation.
      
      * Bump impl_version.
      
      * Update srml/contracts/src/wasm/runtime.rs
      
      Co-Authored-By: default avatarHero Bird <[email protected]>
      
      * Remove incorrect doc.
      f0856db1
    • Pierre Krieger's avatar
      Switch RPCs to stable futures (#3287) · c792dd35
      Pierre Krieger authored
      c792dd35
    • André Silva's avatar
      node: use BABE predigest data to find authorship (#3293) · aa861856
      André Silva authored
      * node: use BABE predigest data to find authorship
      
      * node: bump spec_version
      
      * babe: use u32 for authority index
      aa861856
    • cheme's avatar
      Trie simplification. (#2815) · da8b91ae
      cheme authored
      * switch to simple codec, trie broken for now
      
      * Actualy use trie_root_noext
      
      * align some hash, failing test on EMCH comment
      
      * Fix trie code over layout instead of hash, revert legacy code for legacy
      mainnet ??
      
      * stub behind LayOut
      
      * fix no_std
      
      * temp solution for legacy trie behind feature legacy-key in various crate
      
      * use remote project
      
      * rc client db need prefix
      
      * update trie deps
      
      * bum spec runtime version
      
      * Removing legacy as default.
      
      * Switch mode to non legacy.
      
      * bump runtime version
      
      * Remove legacy trie compatibility features.
      
      * fix warning
      
      * bump version
      
      * change hash on new test.
      
      * Move dependency (#11 trie PR) patched to a parity repo.
      Bench reverted to correct hasher.
      Some renaming and doc improvments.
      
      * ChildBitmap renaming to BitMap.
      
      * Renaming of LayOut to Layout.
      
      * formatting.
      
      * Removing abreviation such as _ix nb_ or bm.
      
      * Update deps and apply renaming 'Buff' -> 'Buffer'.
      
      * Align to latest trie crates naming changes.
      
      * Update trie dependency.
      
      * Update trie dependency.
      
      * change block_import test hash
      
      * update trie deps (trie use new scale codec but it does not seems to be
      an issue).
      
      * update to use latest trie version (no mgmt of multiple radix).
      
      * tabify
      
      * Restoring test to 10 000.
      
      * Use published crate, trie bench is currently down until publishing
      (require another pr to update version).
      
      * Update trie-bench.
      da8b91ae
    • Gavin Wood's avatar
      Check the genesis hash in transactions regardless of era. (#3286) · 7927e80b
      Gavin Wood authored
      * Check the genesis hash in transactions regardless of era.
      
      * Fix check-fees, too.
      
      * Undo.
      
      * Subkey supports new signing.
      
      * Remove unneeded type param.
      
      * Bump tx version
      
      * Build.
      
      * Another build fix
      
      * Build again
      
      * Cleanup
      
      * Another fix.
      
      * Fix
      
      * Fixes
      
      * 6 second blocks.
      
      * Fixes
      
      * Build fix
      
      * Fix
      
      * Fix.
      7927e80b
  7. Aug 01, 2019