-
Notifications
You must be signed in to change notification settings - Fork 46
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
correct storage of new pallets and prepare release #723
Conversation
runtimes/eden/src/migrations.rs
Outdated
} | ||
log::info!(target: TRY_RUNTIME, "Contracts storage version was good"); | ||
|
||
if let Some(xcm_version) = |
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.
Use this a a final statement and embed the Ok(()) in the correct place and end the others without return, then the compiler will check all arms are covered for us.
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 think because I didn't have else
statements in my structure, I had to return
explicitly.
Codecov Report
@@ Coverage Diff @@
## master #723 +/- ##
==========================================
- Coverage 42.90% 42.43% -0.48%
==========================================
Files 38 38
Lines 4391 4440 +49
==========================================
Hits 1884 1884
- Misses 2507 2556 +49
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
The on chain version of the pallets should match the pallets versions for newly added pallets. Also the safe xcm version for PolkadotXcm should be set manually.