-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
d4186f7
to
c5c45e7
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.
The CLI is 👌
Okay this is ready for review. Should be good based on the benchmark data. |
/// # </weight> | ||
#[weight = 1_000_000_000] | ||
#[weight = 300_000_000 + T::DbWeight::get().reads_writes(3, 3)] |
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.
do we have a rule of thumb for granularity or soundings? This, accurately, should have been around 260_000_000 or sth?
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.
Benchmarks are not that accurate to begin with, but yeah, rounding here is mostly just an opinion, as long as it does not extremely change the value.
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.
Benchmarks are not that accurate to begin with, but yeah, rounding here is mostly just an opinion, as long as it does not extremely change the value.
I am also taking into consideration the variability of locks. If this is a little bit larger, it is a little bit safer overall as more locks are introduced per user.
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.
lgtm
bot merge |
This is a PR that updates the weights for the vesting pallet based on benchmarking data collected.