Skip to content
Snippets Groups Projects
  1. Nov 29, 2024
    • Rodrigo Quelhas's avatar
      Expose types from `sc-service` (#5855) · 72fb8bd3
      Rodrigo Quelhas authored
      # Description
      
      At moonbeam we have worked on a `lazy-loading` feature which is a client
      mode that forks a live parachain and fetches its state on-demand, we
      have been able to do this by duplicating some code from
      `sc_service::client`. The objective of this PR is to simplify the
      implementation by making public some types in polkadot-sdk.
      
      - Modules:
      - `sc_service::client` **I do not see a point to only expose this type
      when `test-helpers` feature is enabled**
      
      ## Integration
      
      Not applicable, the PR just makes some types public.
      
      ## Review Notes
      
      The changes included in this PR give more flexibility for client
      developers by exposing important types.
      72fb8bd3
  2. May 02, 2024
  3. Apr 12, 2024
    • Squirrel's avatar
      Remove redundent logging code (#4059) · b28ba4ae
      Squirrel authored
      
      1. The `CustomFmtContext::ContextWithFormatFields` enum arm isn't
      actually used and thus we don't need the enum anymore.
      
      2. We don't do anything with most of the normalized metadata that's
      created by calling `event.normalized_metadata();` - the `target` we can
      get from `event.metadata.target()` and level we can get from
      `event.metadata.level()` - let's just call them direct to simplify
      things. (`event.metadata()` is just a field call under the hood)
      
      Changelog: No functional changes, might run a tad faster with lots of
      logging turned on.
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      b28ba4ae
  4. Mar 21, 2024
  5. Feb 29, 2024
  6. Feb 26, 2024
  7. Dec 04, 2023
    • Chevdor's avatar
      PRDoc new schema (#1946) · 756a12d5
      Chevdor authored
      
      ## Overview
      
      This PR brings in the new version of prdoc v0.0.6 and allows:
      - local schema
      - local config
      - local template
      
      It also fixes the existing prdoc files to match the new schema.
      
      ## todo
      
      - [x] add a brief doc/tldr to help contributors get started
      - [x] test CI
      - [x] finalize schema
      - [x] publish the next `prdoc` cli version (v0.0.7 or above)
      
      ---------
      
      Co-authored-by: default avatarEgor_P <egor@parity.io>
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      756a12d5