-
Notifications
You must be signed in to change notification settings - Fork 6
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
chore: upgrade to 1.14.0 #178
Conversation
Upgrade Polkadot version from 1.7.0 to 1.8.0
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## main #178 +/- ##
=========================================
- Coverage 10.60% 6.40% -4.20%
=========================================
Files 27 27
Lines 2132 1997 -135
Branches 2132 1997 -135
=========================================
- Hits 226 128 -98
+ Misses 1906 1869 -37
|
Upgrade Polkadot version from 1.7.0 to 1.8.0
Co-authored-by: Peter White <petras9789@gmail.com>
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.
Well done Tin! We are almost there! I left a few last things two check and I think we forgot the storage reclaim.
Some of the non-polkadot-sdk dependencies are not on the correct version. If you could compare them with the base-parachain on 1.14.
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!
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.
I'm afraid there are multiple migrations required for pallet contracts. Automatic migration is what we are doing now and can only happen with single migrations. Edit: the pallet version is 15 so there should only be needed one (ED deposit migration) Not sure why it doesn't work |
#222 Fixed the above. |
|
||
// debug_message weight is a good approximation of the additional overhead of going | ||
// from contract layer to substrate layer. | ||
// reference: https://github.com/paritytech/ink-examples/blob/b8d2caa52cf4691e0ddd7c919e4462311deb5ad0/psp22-extension/runtime/psp22-extension-example.rs#L236 | ||
let overhead = contract_host_weight.debug_message; | ||
// reference: https://github.com/paritytech/polkadot-sdk/pull/4233/files#:~:text=DebugMessage(len)%20%3D%3E%20T%3A%3AWeightInfo%3A%3Aseal_debug_message(len)%2C |
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.
Great work updating those references Tin!
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.
thank you 🙏
Co-authored-by: Peter White <petras9789@gmail.com> Co-authored-by: Daanvdplas <daanvdplas@live.nl> Co-authored-by: Alejandro Martinez Andres <11448715+al3mart@users.noreply.github.com>
Link to issue: #141
Upgrade guidelines
major.minor.patch
todeveloper
, the nextmajor.<minor + 1>.patch
will be rebased todeveloper
and asking for approvals from the reviewers again.List of pull requests (merge in order)