1. Apr 03, 2024
  2. Apr 02, 2024
  3. Apr 01, 2024
  4. Mar 31, 2024
  5. Mar 29, 2024
  6. Mar 28, 2024
    • Alexander Samusev's avatar
      [ci] fix subsystem-benchmarks gha (#3876) · eb6f5abe
      Alexander Samusev authored
      PR adds variables validation and app credentials for pushing into
      gh-pages
      
      cc https://github.com/paritytech/ci_cd/issues/934
      eb6f5abe
    • tugy's avatar
      add missing syscalls for workers (#2212) · c106dbd0
      tugy authored
      
      
      # Description
      
      Since the binary split additional syscalls are getting blocked in
      relation to the workers.
      
      With the hardened systemd file it shows the following warning:
      
      ```
      Cannot fully enable landlock, a Linux kernel security feature. Running validation of malicious PVF code has a higher risk of compromising this machine. Consider upgrading the kernel version for maximum security. status=Ok(NotEnforced) abi=1
      ```
      
      For it to work we need to allow additionally:
      - mount
      - umount2
      - pivot_root
      
      and set `RestrictNamespaces=false`
      
      Added new line `SystemCallFilter=pivot_root` because otherwise it would
      get blocked by ~\@\privileged
      
      Co-authored-by: default avatars0me0ne-unkn0wn <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      c106dbd0
    • Alin Dima's avatar
    • dharjeezy's avatar
      Try State Hook for Beefy (#3246) · 79b08d88
      dharjeezy authored
      Part of: https://github.com/paritytech/polkadot-sdk/issues/239
      
      Polkadot address: 12GyGD3QhT4i2JJpNzvMf96sxxBLWymz4RdGCxRH5Rj5agKW
      79b08d88
    • Sebastian Kunert's avatar
      Export unified ParachainHostFunctions (#3854) · 2e4e6571
      Sebastian Kunert authored
      
      
      This PR exports unified hostfunctions needed for parachains. Basicaly
      `SubstrateHostFunctions` + `storage_proof_size::HostFunctions`.
      
      Also removes the native executor from the parachain template.
      
      ---------
      
      Co-authored-by: default avatarMichal Kucharczyk <[email protected]>
      2e4e6571
    • Rodrigo Quelhas's avatar
      Update benchmarking README.md (#3862) · 987f1c24
      Rodrigo Quelhas authored
      
      
      Fix reference links
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      987f1c24
    • PG Herveou's avatar
      Contracts: add test builders (#3796) · 78b1cab9
      PG Herveou authored
      Cleanup tests (-2.7k lines !) using some builder patterns to build
      pallet_contracts api calls
      78b1cab9
    • Alessandro Siniscalchi's avatar
      [parachain-template] runtime API Implementations into `mod apis` (#3817) · 60846a08
      Alessandro Siniscalchi authored
      This PR significantly refactors the runtime API implementations to
      improve project structure, maintainability, and readability. Key changes
      include:
      
      1. **Enhancing Visibility**: Adjusts the visibility of
      `RUNTIME_API_VERSIONS` in `impl_runtime_apis.rs` to `pub`, making it
      accessible throughout the runtime module.
      2. **Centralizing API Implementations**: Introduces a new file,
      `apis.rs`, within the parachain template's runtime directory.
      3. **Streamlining `lib.rs`**: Updates the main runtime library file to
      reflect these structural changes. It removes redundant API
      implementations and points `VERSION` to the newly exposed
      `RUNTIME_API_VERSIONS` from `apis.rs`, simplifying the overall runtime
      configuration.
      
      ### Motivations Behind the Refactoring:
      - **Improved Project Structure**: Centralizing API implementations in
      `apis.rs` offers a clearer, more navigable project structure.
      - **Better Readability**: Streamlining `lib.rs` and reducing clutter
      enhance readability, making it easier for new contributors to understand
      the project layout and logic.
      
      ### Summary of Changes:
      - Made `RUNTIME_API_VERSIONS` public in `impl_runtime_apis.rs`.
      - Added `apis.rs` to centralize runtime API implementations.
      - Streamlined `lib.rs` to adjust to the refactored project structure.
      60846a08
    • Liam Aharon's avatar
      [prdoc] Require SemVer bump level (#3816) · 1ed44af3
      Liam Aharon authored
      A prerequisite for adding a stable branch and respecting SemVer on new
      stable releases is including SemVer bump levels in our PRDocs.
      
      Next release is scheduled for April 3rd, so it would be great to get
      this merged before then.
      
      Also added "None" as a valid bump option, to support test/benchmark
      changes and CI to ensure changed crates have an entry.
      1ed44af3