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

Fix pallet_nis benchmark for Kusama runtime #229

Merged

Conversation

bkontur
Copy link
Contributor

@bkontur bkontur commented Mar 11, 2024

Relates to: #223

A type alias type Nis = pallet_balances::Pallet::<Runtime, NisCounterpartInstance>; for the second pallet_balances instance was introduced here. Unfortunately, nobody (including myself) realized that Nis is also used for [pallet_nis, Nis]. As a result, the benchmark for pallet_nis runs as if it were for pallet_balances, and the result can be seen here: link.

Therefore, this PR fixes this anomaly.

  • Does not require a CHANGELOG entry

# Conflicts:
#	relay/kusama/src/weights/pallet_balances_native.rs
#	relay/kusama/src/weights/pallet_balances_nis_counterpart.rs
#	relay/kusama/src/weights/pallet_nis.rs
@bkontur bkontur mentioned this pull request Mar 11, 2024
19 tasks
@acatangiu
Copy link
Contributor

/merge

@fellowship-merge-bot
Copy link
Contributor

Enabled auto-merge in Pull Request

Available commands
  • /merge: Enables auto-merge for Pull Request
  • /merge cancel: Cancels auto-merge for Pull Request
  • /merge help: Shows this menu

For more information see the documentation

@fellowship-merge-bot fellowship-merge-bot bot enabled auto-merge (squash) March 11, 2024 13:43
@fellowship-merge-bot fellowship-merge-bot bot merged commit 9566967 into polkadot-fellows:main Mar 12, 2024
29 of 30 checks passed
@bkontur bkontur deleted the bko-benchmarks-nits branch March 12, 2024 13:52
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.

4 participants