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

migrate pallet-offences-benchmarking to benchmark v2 syntax #6300

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

clangenb
Copy link
Contributor

@clangenb clangenb commented Oct 30, 2024

Migrates pallet-offences-benchmarking to benchmark v2 syntax.

Part of:

@clangenb clangenb requested a review from a team as a code owner October 30, 2024 16:39
) -> Result<(Vec<IdentificationTuple<T>>, Vec<Offender<T>>), &'static str> {
) -> Result<Vec<IdentificationTuple<T>>, &'static str> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Offenders was unused, and it was a private function, so I removed it.

Comment on lines +70 to +71
// corresponds to the opaque key id above
const KEY_TYPE_IDS: &'static [KeyTypeId] = &[KeyTypeId([100u8, 117u8, 109u8, 121u8])];
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Needed to fix genesis integrity check error.

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.

1 participant