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

Update weights and execution times for multiple pallets in v0.20 release #744

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

asiniscalchi
Copy link
Member

@asiniscalchi asiniscalchi commented Aug 26, 2024

PR Type

enhancement


Description

  • Updated weights and execution times for multiple pallets including parachain staking, vesting, proxy, asset metadata extender, laos evolution, multisig, message queue, xcmp queue, sudo, and EVM.
  • Adjusted standard error values for weight calculations across various pallets.
  • Updated benchmark date and CPU information to reflect new testing environment.
  • Bumped spec_version in runtime/laos/src/lib.rs from 1900 to 2000.

Changes walkthrough 📝

Relevant files
Enhancement
11 files
pallet_parachain_staking.rs
Updated weights and execution times for parachain staking

runtime/laos/src/weights/pallet_parachain_staking.rs

  • Updated benchmark date and CPU information.
  • Increased minimum execution times and weight parts for various
    functions.
  • Adjusted standard error values for weight calculations.
  • +133/-135
    pallet_vesting.rs
    Updated weights and execution times for vesting                   

    runtime/laos/src/weights/pallet_vesting.rs

  • Updated benchmark date and CPU information.
  • Increased minimum execution times and weight parts for vesting
    functions.
  • Adjusted standard error values for weight calculations.
  • +57/-55 
    pallet_proxy.rs
    Updated weights and execution times for proxy                       

    runtime/laos/src/weights/pallet_proxy.rs

  • Updated benchmark date and CPU information.
  • Increased minimum execution times and weight parts for proxy
    functions.
  • Adjusted standard error values for weight calculations.
  • +49/-49 
    pallet_asset_metadata_extender.rs
    Updated weights and execution times for asset metadata extender

    runtime/laos/src/weights/pallet_asset_metadata_extender.rs

  • Updated benchmark date and CPU information.
  • Increased minimum execution times and weight parts for asset metadata
    functions.
  • Adjusted standard error values for weight calculations.
  • +46/-46 
    pallet_laos_evolution.rs
    Updated weights and execution times for laos evolution     

    runtime/laos/src/weights/pallet_laos_evolution.rs

  • Updated benchmark date and CPU information.
  • Increased minimum execution times and weight parts for laos evolution
    functions.
  • Adjusted standard error values for weight calculations.
  • +32/-32 
    pallet_multisig.rs
    Updated weights and execution times for multisig                 

    runtime/laos/src/weights/pallet_multisig.rs

  • Updated benchmark date and CPU information.
  • Increased minimum execution times and weight parts for multisig
    functions.
  • Adjusted standard error values for weight calculations.
  • +34/-34 
    pallet_message_queue.rs
    Updated weights and execution times for message queue       

    runtime/laos/src/weights/pallet_message_queue.rs

  • Updated benchmark date and CPU information.
  • Increased minimum execution times and weight parts for message queue
    functions.
  • Adjusted standard error values for weight calculations.
  • +22/-22 
    cumulus_pallet_xcmp_queue.rs
    Updated weights and execution times for xcmp queue             

    runtime/laos/src/weights/cumulus_pallet_xcmp_queue.rs

  • Updated benchmark date and CPU information.
  • Increased minimum execution times and weight parts for xcmp queue
    functions.
  • Adjusted standard error values for weight calculations.
  • +16/-16 
    pallet_sudo.rs
    Updated weights and execution times for sudo                         

    runtime/laos/src/weights/pallet_sudo.rs

  • Updated benchmark date and CPU information.
  • Increased minimum execution times and weight parts for sudo functions.
  • Adjusted standard error values for weight calculations.
  • +10/-10 
    pallet_evm.rs
    Updated weights and execution times for EVM                           

    runtime/laos/src/weights/pallet_evm.rs

  • Updated benchmark date and CPU information.
  • Adjusted minimum execution time and weight parts for EVM functions.
  • +4/-4     
    lib.rs
    Bump spec_version to 2000                                                               

    runtime/laos/src/lib.rs

    • Updated the spec_version from 1900 to 2000.
    +1/-1     
    Additional files (token-limit)
    8 files
    pallet_utility.rs
    ...                                                                                                           

    runtime/laos/src/weights/pallet_utility.rs

    ...

    +18/-18 
    pallet_precompiles_benchmark.rs
    ...                                                                                                           

    runtime/laos/src/weights/pallet_precompiles_benchmark.rs

    ...

    +10/-10 
    pallet_session.rs
    ...                                                                                                           

    runtime/laos/src/weights/pallet_session.rs

    ...

    +6/-6     
    evm.rs
    ...                                                                                                           

    runtime/laos/src/configs/evm.rs

    ...

    +8/-8     
    pallet_timestamp.rs
    ...                                                                                                           

    runtime/laos/src/weights/pallet_timestamp.rs

    ...

    +6/-6     
    cumulus_pallet_parachain_system.rs
    ...                                                                                                           

    runtime/laos/src/weights/cumulus_pallet_parachain_system.rs

    ...

    +6/-6     
    config.ts
    ...                                                                                                           

    e2e-tests/tests/config.ts

    ...

    +1/-1     
    Cargo.toml
    ...                                                                                                           

    Cargo.toml

    ...

    +1/-1     

    💡 PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    @asiniscalchi asiniscalchi linked an issue Aug 26, 2024 that may be closed by this pull request
    @asiniscalchi
    Copy link
    Member Author

    /description

    @asiniscalchi
    Copy link
    Member Author

    /describe

    @github-actions github-actions bot changed the title Release/v0.20 Update weights and execution times for multiple pallets in v0.20 release Aug 26, 2024
    Copy link

    PR Description updated to latest commit (424cad8)

    @asiniscalchi asiniscalchi merged commit 80a62cd into main Aug 26, 2024
    17 of 18 checks passed
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    Release 2000 at end of sprint
    3 participants