Skip to content
  1. May 05, 2020
  2. May 04, 2020
    • Jon Häggblad's avatar
      Expose GRANDPA round state through RPC (#5375) · 1f7f8abb
      Jon Häggblad authored
      
      
      * grandpa: wire up basic RPC call
      
      * grandpa: make it compile against GRANDPA with expose round state
      
      * grandpa: use shared voter state to expose RPC endpoint
      
      * grandpa: restructure into nested structs
      
      * grandpa: return background rounds too
      
      * grandpa: return error when endpoint not ready
      
      * grandpa: collect grandpa rpc deps
      
      * grandpa: decide to use concrete AuthorityId in finality-grandpa-rpc
      
      * grandpa: remove unncessary type annotation
      
      * grandpa: move error code to const
      
      * grandpa: remove unnecessary WIP comment
      
      * grandpa: remove Id type parameter for SharedVoterState
      
      * grandpa: update tests to add shared_voter_state in parameters
      
      * grandpa: remove old deprecated test
      
      * grandpa: fix getting the correct set_id
      
      * grandpa: make SharedVoterState a struct
      
      * grandpa: wrap shared_voter_state in rpc_setup
      
      * grandpa: replace spaces with tabs
      
      * grandpa: limit RwLock write attempt to 1 sec
      
      * grandpa: add missing doc comments and remove some pub
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      Co-Authored-By: default avatarHernando Castano <[email protected]>
      
      * grandpa: update function name call after change in finality-grandpa
      
      * grandpa: group pub use and only export voter::report
      
      * grandpa: add missing docs
      
      * grandpa: extract out structs used for json serialization
      
      * grandpa: stick to u32 for fields intended for js
      
      * grandpa: move Error type to its own file
      
      * grandpa: group pub use better
      
      * Apply code review suggestion
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * grandpa: use correct version of finality-granpda in rpc crate
      
      * grandpa: add back basic rpc unit test
      
      * grandpa: replace SharedVoterState::new() with empty()
      
      * node: cleanup grandpa::SharedVoterState usage in macro
      
      * grandpa: remove VoterState error variant
      
      * grandpa: enable missing futures compat feature
      
      * grandpa: fix typo in error variant
      
      * grandpa: remove test_utils
      
      * grandpa: allow mocking rpc handler components
      
      * grandpa: rename serialized to report in rpc module
      
      * grandpa: add proper test for RPC
      
      * grandpa: update to finality-grandpa v0.12.1
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      Co-authored-by: default avatarDemi Obenour <[email protected]>
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarHernando Castano <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      1f7f8abb
    • Shawn Tabrizi's avatar
      Refactor weight constants, Update to remove redundant overhead (#5884) · 8df33e50
      Shawn Tabrizi authored
      * Move weight values to `frame_support`
      
      * more accurate comment
      
      * update balances
      
      * vesting
      
      * update util
      
      * Add weight to time constants
      
      * use weight constants in weights
      
      * update tests
      8df33e50
    • Wei Tang's avatar
      Correct BABE randomness by calculating InOut bytes directly in pallet (#5876) · a00a4ca5
      Wei Tang authored
      
      
      * vrf: remove Raw* types
      
      * babe: remove Raw* types
      
      * pallet-babe: switch representation of RawVRFOutput to Randomness
      
      * pallet-babe: calculate inout within the pallet
      
      * Remove make_transcript duplication
      
      * Bump spec version
      
      * Fix frame tests
      
      * and_then -> map
      
      * Always enable u64_backend
      
      * Fix nostd compile
      
      * fix import: should not use std
      
      * Remove unused definition of RawVRFOutput
      
      * Remove unused import of RuntimeDebug
      
      Co-authored-by: default avatarGavin Wood <[email protected]>
      a00a4ca5
    • Bastian Köcher's avatar
      Expose that `BasicQueue` expects blocking spawn (#5860) · 9c5536e0
      Bastian Köcher authored
      * Expose that `BasicQueue` expects blocking spawn
      
      Up to now `BasicQueue` expected a closure that to spawn a `Future`.
      This was expected to be a closure that spawns a blocking future.
      However, this wasn't documented anywhere. This pr introduces a new trait
      `SpawnBlocking` that exposes this requirement to the outside.
      
      * Feedback
      9c5536e0
    • ddorgan's avatar
      Update chain spec for flaming fir 7 (#5882) · 8549cf58
      ddorgan authored
      * Update chain spec for flaming fir 7
      
      * Update sudo key
      
      * Use fir7 for protocol
      
      * Bump spec version
      
      * Revert sudo change
      
      * Rebuilt spec after all the changes. Flaming fir has been reset with this.
      8549cf58
    • Arkadiy Paronyan's avatar
      Use header cache when creating state. (#5868) · 4151dc6b
      Arkadiy Paronyan authored
      
      
      * Use header cache for state_at
      
      * Fixed warnings
      
      * Update client/db/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      4151dc6b
    • Nikolay Volf's avatar
      Update wasmtime (#5822) · e5163380
      Nikolay Volf authored
      
      
      * update wasmtime
      
      * update tests
      
      * Update client/executor/wasmtime/src/host.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * wip
      
      * use master-candidate
      
      * update with patches
      
      * update versions
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      e5163380
    • Pierre Krieger's avatar
      Report tasks panics in metrics (#5878) · ccc3f976
      Pierre Krieger authored
      * Report tasks panics in metrics
      
      * Renames
      
      * Renames
      ccc3f976
    • Bastian Köcher's avatar
      Fix `sync` logging (#5879) · 3d188ef1
      Bastian Köcher authored
      3d188ef1
  3. May 03, 2020
  4. May 01, 2020
  5. Apr 30, 2020
  6. Apr 29, 2020