Skip to content

Conversation

@shunsukew
Copy link
Contributor

@shunsukew shunsukew commented Nov 15, 2022

Pull Request Summary
This PR aims to improve pallet benchmarking.

  1. Make use of whitelist storage keys introduced by DappsStaking bench improvements astar-frame#112 on astar-frame side.
  2. Use macros to avoid code duplication (define_benchmarks!, list_benchmarks!, add_benchmarks!). See Improve usability of add+list_benchmark! paritytech/substrate#10592

Follow ups

  • Bench dapps staking pallet and update weights in astar-frame
  • Use new astar-frame package in Astar repo

Check list

  • updated semver

@shunsukew shunsukew changed the title whitelist storage keys [WIP] Whitelist storage keys Nov 15, 2022
@shunsukew shunsukew changed the title [WIP] Whitelist storage keys [WIP] Bench whitelist storage keys Nov 15, 2022
@shunsukew shunsukew changed the title [WIP] Bench whitelist storage keys Bench whitelist storage keys Nov 15, 2022
@shunsukew shunsukew marked this pull request as ready for review November 15, 2022 07:20
@shunsukew shunsukew requested review from 0x7CFE, Dinonard, Maar-io and akru and removed request for 0x7CFE, Dinonard, Maar-io and akru November 15, 2022 07:23
Copy link
Contributor

@Dinonard Dinonard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, looks much cleaner than before 👍

@shunsukew shunsukew merged commit 1dde8b0 into master Nov 17, 2022
@shunsukew shunsukew deleted the bench-improvements branch November 17, 2022 09:50
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.

3 participants