Skip to content
  1. Oct 28, 2019
    • Max Inden's avatar
      *: Disable authority discovery module (#3914) · e110cd7a
      Max Inden authored
      The authority discovery module enables authorities to be discoverable
      and discover other authorities to improve interconnection among them. In
      order to achieve this the module needs to know when the authority set
      changes, thus when a session changes.
      
      One has to register a module as a *session handler* in order for it to
      be notified of changing sessions. The order and number of these *session
      handlers* **MUST** correspond to the order and number of the *session
      keys*.
      
      Commit 027d8879 added the authority discovery to the `SessionHandlers`.
      Given that the authority discovery module piggybacks on the Babe session
      keys the commit violated the above constraint.
      
      This commit reverts most of 027d8879, leaving `core/authority-discovery`
      and `srml/authority-discovery` untouched.
      e110cd7a
    • Bastian Köcher's avatar
      `decl_storage!` check for duplicate `config()`/`get()` (#3936) · 6beaccda
      Bastian Köcher authored
      * `decl_storage!` check for duplicate `config()`/`get()`
      
      * Fix tests
      6beaccda
  2. Oct 27, 2019
  3. Oct 25, 2019
  4. Oct 24, 2019
    • thiolliere's avatar
      Fix treasury kept and spend when emptied (#3880) · d49c3642
      thiolliere authored
      * Now construct_runtime must include treasury config so account is created at genesis.
      * if it doesn't though it is ok, account will be created when the amount put is more than existential deposit.
      d49c3642
    • Max Inden's avatar
      core/finality-grandpa: Request block sync from network after import timeout (#3800) · 743a34bc
      Max Inden authored
      * core/finality-grandpa: Pass Grandpa msg sender up to UntilImported
      
      * core/finality-grandpa: Track senders to maybe later request blocks
      
      * core/finality-grandpa: Make BlockStatus pub only within crate
      
      * core/finality-grandpa: Abstract NetworkBridge with BlockSyncRequester
      
      * core/finality-grandpa: Pass BlockSyncRequester to UntilImported
      
      * core/finality-grandpa: Track block number of pending within UntilImported
      
      * core/finality-grandpa: Request block sync on long wait
      
      * core/finality-grandpa: Adjust unit tests to previous changes
      
      * core/finality-grandpa: Fix line length
      
      * core/finality-grandpa: Add comment explaining in & out vote combination
      
      * core/finality-grandpa: Log after, not before, timeout expired
      
      The UntilImported component should log whenever waiting for a specific
      block to be imported surpassed a defined constant timeout. Without this
      patch the code would log whenever the current time was below the
      timeout.
      
      * core/finality-grandpa: Collect senders as HashSet for deduplication
      
      * Revert "core/finality-grandpa: Track senders to maybe later request blocks"
      
      This reverts commit 61ac9dd715612d5fdbf7b8f00b84e450f282ade0.
      
      * Revert "core/finality-grandpa: Pass Grandpa msg sender up to UntilImported"
      
      This reverts commit afdc9646a6c314f99a9d19242f1878f85980e70d.
      
      * core/network/sync: Ask for block from all peers if none provided
      
      When requesting an explicit fork sync, try to sync from all known peers,
      when no specific peers were provided.
      
      * core/network/sync: Request specific fork sync from peers ahead or on par
      
      When making an explicit fork sync request without specifying any peers,
      make sure to only request it from the locally known peers that are
      either ahead or on a par compared to the block number we are looking
      for.
      
      * grandpa: fix tests
      
      * grandpa: fix warnings
      
      * grandpa: add test for block sync request on until_imported
      
      * grandpa: rename Environment field inner to client
      
      * grandpa: fix minor nits
      
      * grandpa: minor nits in until_imported
      
      * grandpa: copy docs for set_sync_fork_request
      
      * grandpa: remove stale TODO on UntilImported
      743a34bc
    • Pierre Krieger's avatar
      Service builder clean-up (#3906) · 002057dc
      Pierre Krieger authored
      * Rename NewService to Service
      
      * Move new_impl! macro to builder module
      
      * Inline new_impl!
      
      * Minor cleanup
      
      * Inline the offchain_workers() function
      
      * Fix indentation level
      
      * Inline start_rpc
      
      * Remove RpcBuilder trait
      002057dc
    • Jaco Greeff's avatar
      Bump transaction version (#3904) · c5bf9007
      Jaco Greeff authored
      c5bf9007
    • Kian Paimani's avatar
      Better Parameterisation for Fee system (#3823) · ecd1ed7b
      Kian Paimani authored
      * Better fee parameters
      
      * Fix build
      
      * Better runtime tests
      
      * Price to Weight ratio as type parameter (#3856)
      
      * Price to Weight ration as type parameter
      
      * Kian feedback
      
      * Some renames.
      
      * Fix executor tests
      
      * Getting Closer.
      
      * Phantom Data
      
      * Actually fix executor tests.
      
      * Fix tests.
      
      * Remove todo
      
      * Fix build
      ecd1ed7b
    • André Silva's avatar
    • Gavin Wood's avatar
      Add SECP256k1/ECDSA support for transaction signing (#3861) · d9777554
      Gavin Wood authored
      
      
      * Add SECP256k1/ECDSA support for transaction signing.
      
      * Refactoring and fixes
      
      * Fix for contracts
      
      * Avoid breaking runtime host function
      
      * Build fixes, make subkey work more generaically.
      
      * Fix tests
      
      * Dedpulicate a bit of code, remove unneeded code, docs
      
      * Bump runtime version
      
      * Fix a test and clean up some code.
      
      * Derivation can derive seed.
      
      * Whitespace
      
      * Bump runtime again.
      
      * Update core/primitives/src/crypto.rs
      
      Co-Authored-By: default avatarKian Paimani <[email protected]>
      
      * Update core/primitives/src/ecdsa.rs
      
      Co-Authored-By: default avatarKian Paimani <[email protected]>
      
      * Fix AppVerify
      d9777554
    • André Silva's avatar
      node: spawn grandpa voter as essential task (#3899) · 62a238a8
      André Silva authored
      * node: spawn grandpa voter as essential task
      
      * node: stop babe authoring task on exit
      
      * node: remove unnecessary future boxing
      
      * Apply suggestions from code review
      62a238a8
    • Ryan Bell's avatar
      Update README.adoc (#3900) · 40a1f064
      Ryan Bell authored
      40a1f064
  5. Oct 23, 2019
  6. Oct 22, 2019