-
Notifications
You must be signed in to change notification settings - Fork 69
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
PICA-136: upgrade to v0.9.33 #2997
PICA-136: upgrade to v0.9.33 #2997
Conversation
fd34324
to
0dbb6d0
Compare
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, I will check a local upgrade on a fork for this.
Unfortunately for Pablo we need them to be executed to have the pools in the runtime when testing for now. We will change that in the release 4 after removing the assets hard coding. |
Upgrade on a fork of Picasso works fine. Did not check XCM though. We can check it after making a RC. |
Task linked: PICA-136 Update main code base |
Nix commands for this PRNOTE: You can also run our Nix commands in Docker. See the bottom of this comment. Make sure you have setup the Composable community cache:(you only need to run it once on your machine) nix-shell -p cachix --command "cachix use composable-community" Show all possible apps, shells and packages:
Run the Composable node alone:nix run "github:ComposableFi/composable/af64e2302a466d54ce942e110429af5b511c855e#composable-node" -L Spin up a local devnet:nix run "github:ComposableFi/composable/af64e2302a466d54ce942e110429af5b511c855e#devnet" -L --option sandbox relaxed --show-trace Spin up a local XCVM devnet:nix run "github:ComposableFi/composable/af64e2302a466d54ce942e110429af5b511c855e#devnet-xcvm" -L View the docs:nix run ".#docs-server" Run this without Nix in Docker.docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v nix:/nix -it nixos/nix bash -c "nix-env -iA nixpkgs.cachix && cachix use composable-community && nix run github:ComposableFi/Composable/af64e2302a466d54ce942e110429af5b511c855e#devnet-dali -L --extra-experimental-features nix-command --extra-experimental-features flakes" NOTE: You can swap |
Pablo Preview URLhttps://pablo-production-jjjc6fhln-composable-finance.vercel.app |
Picasso Preview URLhttps://picasso-production-qvpgpuil4-composable-finance.vercel.app |
d842648
to
28f6f4d
Compare
28f6f4d
to
5f635ba
Compare
|
( | ||
SchedulerMigrationV1toV4, | ||
preimage::migration::v1::Migration<Runtime>, | ||
scheduler::migration::v3::MigrateToV4<Runtime>, |
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.
3 impl<T: Config<Hash = PreimageHash>> OnRuntimeUpgrade for MigrateToV4<T> {
2 #[cfg(feature = "try-runtime")]
1 fn pre_upgrade() -> Result<Vec<u8>, &'static str> {
101 assert_eq!(StorageVersion::get::<Pallet<T>>(), 3, "Can only upgrade from version 3");
Just curious above will hit assert as migrate_v1_to_v4() sets version to 4, unless executed without assert or may be directly execute migrate_v3_to_v4() instead of v3::MigrateToV4
Intro
Upgrade from v0.9.30 to v0.9.33
Migrations
Call
paritytech/polkadot#5729Notes
Are we forced to have the old migrations listed? Parity removed the v2 to v3 migration for the Scheduler, I changed it to a combination of v1 to v4 and v3 to v4 as they are idempotent.
I removed
price-feed
and associated packages as they are outdated and not particularly useful.The
local-integration-tests
package must be updated.