Skip to content
  1. May 22, 2019
  2. May 21, 2019
  3. May 20, 2019
  4. May 19, 2019
    • Tomasz Drwięga's avatar
      Access child storage over RPC. (#2586) · c8c7cfd2
      Tomasz Drwięga authored
      * Access child storage over RPC.
      
      * Address review grumbles.
      
      * Test happy case in child_storage rpc.
      
      * Remove stray printlns
      
      * Fix line widths.
      
      * Bump runtime again.
      
      * Fix genesis storage root calculation for light clients.
      
      * Don't pass values to full_storage_root child_delta.
      c8c7cfd2
  5. May 18, 2019
    • Niklas Adolfsson's avatar
      feat(light client): fetch block body from remote (#2527) · 8ac5cad1
      Niklas Adolfsson authored
      * feat(on_demand): block body request
      
      * fix(light block req): no justific + one block
      
      * fix(bad rebase)
      
      * feat(protocol): add messages for `remote_body`
      
      * fix(on demand body): remove needless `take()`
      
      * fix(network): remove messages for `on_demand_body`
      
      * fix(grumbles): use `hash` in `remote_body_requests`
      
      As long as we can't compute `ordered_trie_root(body)` just compare that request.header.hash() == response.header.hash()
      
      * fix(grumbles): `hdr.ext_root == trie_root(body)`
      
      * fix(grumbles): propogate `Err` in `fn body()`
      
      * fix(grumbles): Vec<Block::Extrinsic>
      
      * fix(grumbles): util_fn for `not_impl` in tests
      
      * fix(on remote body): tests `fetch` and `on_demand`
      
      * docs(resolve todos)
      8ac5cad1
  6. May 17, 2019
  7. May 16, 2019
    • Andrew Jones's avatar
      Replace compile_fail doc tests with trybuild (#2588) · bac2a023
      Andrew Jones authored
      * WIP: use trybuild for compile tests
      
      * declaring_old_block
      
      * declaring_own_block_with_different_name
      
      * adding_self_parameter
      
      * adding_at_parameter
      
      * invalid_api_version
      
      * invalid_api_version2 & invalid_api_version3
      
      * missing_block_generic_parameter
      
      * Restore main functions
      
      * missing_path_for_trait
      
      * empty_impl_runtime_apis_call
      
      * empty_impl_runtime_apis_call
      
      * type_reference_in_impl_runtime_apis_call
      
      * impl_incorrect_method_signature
      
      * impl_two_traits_with_same_name
      
      * changed_at_unknown_version
      
      * changed_at > changed_in
      
      * fix test
      bac2a023
  8. May 15, 2019
  9. May 14, 2019
  10. May 13, 2019
    • Pierre Krieger's avatar
      e1039f3c
    • Pierre Krieger's avatar
      Make the behaviour in libp2p generic (#2525) · a0931f38
      Pierre Krieger authored
      * Make the behaviour in libp2p generic
      
      * Fix indentation
      
      * Fix bad merge
      a0931f38
    • Pierre Krieger's avatar
    • Svyatoslav Nikolsky's avatar
      Light GRANDPA import handler (#1669) · 2b241014
      Svyatoslav Nikolsky authored
      * GrandpaLightBlockImport
      
      * extract authorities in AuraVerifier
      
      * post-merge fix
      
      * restore authorities cache
      
      * license
      
      * new finality proof draft
      
      * generalized PendingJustifications
      
      * finality proof messages
      
      * fixed compilation
      
      * pass verifier to import_finality_proof
      
      * do not fetch remote proof from light import directly
      
      * FinalityProofProvider
      
      * fixed authorities cache test
      
      * restored finality proof tests
      
      * finality_proof docs
      
      * use DB backend in test client
      
      * justification_is_fetched_by_light_client_when_consensus_data_changes
      
      * restore justification_is_fetched_by_light_client_when_consensus_data_changes
      
      * some more tests
      
      * added authorities-related TODO
      
      * removed unneeded clear_finality_proof_requests field
      
      * truncated some long lines
      
      * more granular light import tests
      
      * only provide finality proof if it is generated by the requested set
      
      * post-merge fix
      
      * finality_proof_is_none_if_first_justification_is_generated_by_unknown_set
      
      * make light+grandpa test rely on finality proofs (instead of simple justifications)
      
      * empty_finality_proof_is_returned_to_light_client_when_authority_set_is_different
      
      * missing trait method impl
      
      * fixed proof-of-finality docs
      
      * one more doc fix
      
      * fix docs
      
      * initialize authorities cache (post-merge fix)
      
      * fixed cache initialization (post-merge fix)
      
      * post-fix merge: fix light + GRANDPA tests (bad way)
      
      * proper fix of empty_finality_proof_is_returned_to_light_client_when_authority_set_is_different
      
      * fixed easy grumbles
      
      * import finality proofs in BlockImportWorker thread
      
      * allow import of finality proofs for non-requested blocks
      
      * limit number of fragments in finality proof
      
      * GRANDPA post-merge fix
      
      * BABE: pos-merge fix
      2b241014
    • Pierre Krieger's avatar
      Reserved peers don't occupy slots (#2546) · f05cd69a
      Pierre Krieger authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      f05cd69a
    • Svyatoslav Nikolsky's avatar
  11. May 12, 2019
  12. May 11, 2019
  13. May 10, 2019
    • André Silva's avatar
      Bump master to v2.0.0 (#2514) · 6e67eff0
      André Silva authored
      * bump crates to v2.0.0
      
      * fix crate authors
      
      * bump node runtime spec_version
      
      * remove unused import for no-std
      6e67eff0
    • cheme's avatar
      Child trie storage proof (#2433) · f87a4939
      cheme authored
      * proof on child trie
      
      * higher level api for child storage proof
      
      * boilerplate for proof from light fetch
      
      * actually check proof on light fetch
      
      * Do not break former encoding
      
      * tabify
      
      * tabify2
      
      * Add child trie root tx to full_storage_root transaction.
      
      * Shorten long lines.
      
      * Temp rename for audit
      
      * Make full_storage a trait method
      
      * Name back and replace some code with full_storage where it looks fine.
      
      * fix indentations, remove unused import
      
      * flush child root to top when calculated
      
      * impl +1
      f87a4939
    • Svyatoslav Nikolsky's avatar
      Create AuthoritiesChange digest item in correct block (#2512) · 0f24ba91
      Svyatoslav Nikolsky authored
      * finalize srml modules in reverse order
      
      * update runtime versions
      0f24ba91
    • Gregory Terzian's avatar
    • Svyatoslav Nikolsky's avatar
      Fix deadlock in tests that are using with_gossip (#2533) · 81aafece
      Svyatoslav Nikolsky authored
      * fixed gossip related tests deadlock
      
      * cleaning sync tests log
      
      * fixed typo in logs
      
      * send GRANDPA messages without holding validator lock
      
      * Revert "fixed gossip related tests deadlock"
      
      This reverts commit d3fe55e4.
      81aafece
    • thiolliere's avatar
      Allow modules to validate transaction, second attempt (#2463) · 6f01d646
      thiolliere authored
      
      
      * first impl
      
      * rename origin::inherent to none
      
      * fix
      
      * fix
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarthiolliere <[email protected]>
      
      * comment
      
      * better error
      
      * doc
      
      * (add unsigned module 🤦)
      
      * doc
      
      * fix
      
      * implement for node-template as well
      
      * add validated unsigned to executor
      
      * fix
      
      * fix
      
      * bump version
      
      * testing xt
      
      * remove extraneous logic
      
      * licence
      
      * impl test
      6f01d646
    • Pierre Krieger's avatar
      Rewrite the PSM (#2440) · 94489652
      Pierre Krieger authored
      * Rewrite the PSM
      
      * Fix disconnecting from reserved peers
      
      * Minor adjustements
      
      * Address review
      
      * Reputation changes adjustements
      
      * More adjustements
      
      * Adjust all reputations
      
      * More fixes and adjustments
      
      * Improve proof
      
      * Remove the possible panic
      
      * Make sure reputation reaches 0
      94489652
    • Benjamin Kampmann's avatar
      Allow for customisation of chain selection systems (#2240) · 77c10cd4
      Benjamin Kampmann authored
      
      
      * move SelectChain trait out of client
      
      * Extend SelectChain, move longest chain implementation into it
      
      * Bring SelectChain into service
      
      * implement LongestChain SelectChain
      
      * implement longest chain for node
      
      * update Cargo.lock's
      
      * in between erroring tests
      
      * deprecate ::backend and ::import_lock
      
      * Remove unneded space
      
      Co-Authored-By: default avatargnunicorn <[email protected]>
      
      * Remove unneded space
      
      Co-Authored-By: default avatargnunicorn <[email protected]>
      
      * Fixes test compilation
      
      * remove todo
      
      * re-enable client test
      
      * add doc
      
      * fixing tests
      
      * Clarify SelectChain Interface, intended implementation and usage
      
      * minor components cleanups
      
      * minor cleanups
      
      * Update lock files
      
      * Implement cleaner interface for SelectChain
      
      * addressing comments
      
      * Updating tests
      
      * bump node runtime impl version
      
      * address grumbles
      77c10cd4