Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy pallet-parameters to rococo and fix dynamic_params name expand #4006

Merged
merged 11 commits into from
Apr 13, 2024

Commits on Apr 5, 2024

  1. Use pascal case instead of class case for runtime param names

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    a88932f View commit details
    Browse the repository at this point in the history
  2. Deploy pallet parameters to rococo

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    ec1c99d View commit details
    Browse the repository at this point in the history
  3. Add prdoc

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    9d8ddaa View commit details
    Browse the repository at this point in the history
  4. Add weights

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    94af5f0 View commit details
    Browse the repository at this point in the history
  5. Fix test

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    f74782a View commit details
    Browse the repository at this point in the history
  6. [parachain-template] benchmarks into mod benchmarks (#3818)

    This PR introduces a dedicated module for benchmarks within the
    parachain runtime. By segregating benchmarks into their own module, we
    achieve a cleaner project structure and improved readability,
    facilitating easier maintenance and updates.
    
    ### Key Changes:
    - **New Benchmarks Module**: A new file `benchmarks.rs` is added,
    encapsulating the benchmarking code for various pallets.
    - **Refactoring `lib.rs`**: The main runtime library file (`lib.rs`) has
    been updated to reflect the extraction of benchmark definitions. By
    moving these definitions to `benchmarks.rs`, we reduce clutter in
    `lib.rs`, streamlining the runtime's core logic and configuration.
    
    ### Benefits of This Refactoring:
    - **Focused Benchmarking**: Developers can now easily locate and modify
    benchmarks without navigating through the core runtime logic, enabling
    targeted performance improvements.
    - **Cleaner Codebase**: Segregating benchmarks from the main runtime
    logic helps maintain a clean, well-organized codebase, simplifying
    navigation and maintenance.
    - **Scalability**: As the parachain evolves, adding or updating
    benchmarks becomes more straightforward, supporting scalability and
    adaptability of the runtime.
    
    ### Summary of Changes:
    - Created `benchmarks.rs` to house the benchmarking suite.
    - Streamlined `lib.rs` by removing the inlined benchmark definitions and
    linking to the new benchmarks module.
    
    ---------
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    2 people authored and command-bot committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    239a334 View commit details
    Browse the repository at this point in the history
  7. ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…

    …=rococo --target_dir=polkadot --pallet=pallet_parameters
    command-bot committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    86b7ed3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dd5e805 View commit details
    Browse the repository at this point in the history
  9. Taplo

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    bcfefa7 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Also add preimage config

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    0ecf273 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0512e7d View commit details
    Browse the repository at this point in the history