This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Make new Weight struct #[codec(compact)]
#12149
Comments
You should be able to implement |
So the implementation will try compact decode, and if it fails, try u64 decode? |
No, then you can write |
okay, but actually i would like to also make the values compact by default in the future |
10 tasks
After #12277, the new |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The fields in the new weight struct should be
#[codec(compact)]
, which will involve a storage migration for any places where weight is stored.Makes sense to do this the same time we need to do a storage migration for the second field of Weight.
The text was updated successfully, but these errors were encountered: