-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Make weights compatible with u64 #4192
Conversation
23795c6
to
ca5baf1
Compare
need to check if this change is breaking in anyway for Kusama |
bin/node/runtime/src/impls.rs
Outdated
@@ -339,8 +339,8 @@ mod tests { | |||
100 * kb, | |||
mb, | |||
10 * mb, | |||
Weight::max_value() / 2, | |||
Weight::max_value() | |||
(u32::max_value() / 2).into(), |
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.
This is against the whole purpose of this pr.
4ec7f93
to
893f6ca
Compare
Current state: I think that we can merge this pull request as it is and create a separate issue for dealing with the overflow. |
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.
Needs resolving.
CI fails. |
I have fixed the benchmarks, though |
Closes #4141.