-
Notifications
You must be signed in to change notification settings - Fork 699
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-scheduler benchmark to v2 #6292
base: master
Are you sure you want to change the base?
Migrate pallet-scheduler benchmark to v2 #6292
Conversation
Co-authored-by: Giuseppe Re <giuseppe.re@parity.io>
Co-authored-by: Giuseppe Re <giuseppe.re@parity.io>
250cdc2
to
7343c36
Compare
Signed-off-by: Xavier Lau <x@acg.box>
7343c36
to
71ec439
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
The post assertions of those benchmarks are not nice, but it is not related to the PR.
result = Pallet::<T>::execute_dispatch(&mut counter, origin, call); | ||
} | ||
|
||
assert!(result.is_ok()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For other reviewer, this has been added by the PR, but I guess it is fine.
result = Pallet::<T>::execute_dispatch(&mut counter, origin, call); | ||
} | ||
|
||
assert!(result.is_ok()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For other reviewer, this has been added by the PR, but I guess it is fine.
Co-authored-by: Guillaume Thiolliere <guillaume.thiolliere@parity.io>
Part of: