Skip to content
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

Merged
merged 6 commits into from
Mar 24, 2023

Conversation

aliXsed
Copy link
Contributor

@aliXsed aliXsed commented Mar 24, 2023

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.

runtimes/eden/src/migrations.rs Outdated Show resolved Hide resolved
runtimes/eden/src/migrations.rs Outdated Show resolved Hide resolved
runtimes/eden/src/migrations.rs Outdated Show resolved Hide resolved
}
log::info!(target: TRY_RUNTIME, "Contracts storage version was good");

if let Some(xcm_version) =
Copy link
Contributor

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.

Copy link
Contributor Author

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
Copy link

codecov bot commented Mar 24, 2023

Codecov Report

Merging #723 (b966d75) into master (0334905) will decrease coverage by 0.48%.
The diff coverage is 0.00%.

@@            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     
Impacted Files Coverage Δ
runtimes/eden/src/migrations.rs 0.00% <0.00%> (ø)
runtimes/eden/src/version.rs 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@aliXsed aliXsed merged commit 8a6e5b5 into master Mar 24, 2023
@aliXsed aliXsed deleted the aliX/migrate-new-pallets branch March 24, 2023 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants