Skip to content
  1. Apr 18, 2023
    • André Silva's avatar
      babe: replace usage of SharedEpochChanges with internal RPC (#13883) · e8e22b83
      André Silva authored
      
      
      * babe: replace usage of SharedEpochChanges with internal RPC
      
      * babe-rpc: fix tests
      
      * babe: use SinkExt::send instead of Sender::try_send
      
      SinkExt::send provides backpressure in case the channel is full
      
      * Update client/consensus/babe/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * babe: fix spawn
      
      * babe: send handles backpressure
      
      * babe: use testing::TaskExecutor
      
      * babe-rpc: better error handling
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      e8e22b83
    • Aaro Altonen's avatar
      Poll the substream validation before polling `Notifications` (#13934) · 818976d9
      Aaro Altonen authored
      * Poll the substream validation before polling `Notifications`
      
      In tests, it can happen that `Notifications` doesn't produce any events
      which causes `poll()` to return `Poll::Pending` and the substream
      validation futures won't get polled.
      
      Poll the futures before calling `Notifications` so results for substream
      validations are received even if `Notifications` is not producing any
      events.
      
      * Remove `pending_messages`
      
      * Remove unused import
      818976d9
  2. Apr 17, 2023
  3. Apr 15, 2023
  4. Apr 14, 2023
  5. Apr 13, 2023
  6. Apr 12, 2023
  7. Apr 11, 2023
  8. Apr 10, 2023
  9. Apr 09, 2023
    • yjh's avatar
      refactor(sc-executor): use wasm executor builder instead of old apis (#13740) · d5e460b3
      yjh authored
      * refactor: use builder api for all executors
      
      * improve a lot
      
      * remove unused args
      
      * cleanup deps
      
      * fix inconsistency about heap alloc
      
      * add `heap_pages` back to try-runtime
      
      * fix
      
      * chore: reduce duplicated code for sc-service-test
      
      * cleanup code
      
      * fmt
      
      * improve test executor
      
      * improve
      
      * use #[deprecated]
      
      * set runtime_cache_size: 4
      
      * fix and improve
      
      * refactor builder
      
      * fix
      
      * fix bench
      
      * fix tests
      
      * fix warnings
      
      * fix warnings
      
      * fix
      
      * fix
      
      * update by suggestions
      
      * update name
      d5e460b3
  10. Apr 08, 2023
  11. Apr 07, 2023