-
Notifications
You must be signed in to change notification settings - Fork 19
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
passkeys: calculate weights #2077
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ |
Weight::from_parts(1_015_000_000, 5078) | ||
.saturating_add(T::DbWeight::get().reads(2_u64)) | ||
.saturating_add(T::DbWeight::get().writes(1_u64)) | ||
// Minimum execution time: 1_745_366_000 picoseconds. |
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.
@wilwade After running the weights in CI it looks like it is actually close to 2 billion instead if 1. Which means the transactions would be even more expensive.
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.
superb! 👍
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.
🚢 it!
Goal
The goal of this PR is to calculate accurate weights for passkey pallet
Related to #2032
Checklist