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

Polkadot Release v1.5.0 migration #330

Merged
merged 13 commits into from
Jan 12, 2024

Conversation

darkforest0202
Copy link
Contributor

No description provided.

cargo.tree Outdated Show resolved Hide resolved
}

fn kreivo_live_genesis(
fn genesis(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this produce the same genesis we used to launch the chain?

.build()
}

pub fn kreivo_kusama_chain_spec() -> ChainSpec {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function should return the "live chainspec" but it's using test data like the "UNIT" token and the test_genesis. I believe this should keep returning the same chainspec as the one registered in the relay chain.

node/src/chain_spec/kreivo copy.rs Outdated Show resolved Hide resolved
@@ -94,7 +87,7 @@ macro_rules! construct_async_run {
#[cfg(all(feature = "virto-runtime", not(feature = "kreivo-runtime")))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we remove this including the virto-runtime feature?

node/src/command.rs Outdated Show resolved Hide resolved
pallets/communities/Cargo.toml Outdated Show resolved Hide resolved
pallets/payments/Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
@darkforest0202
Copy link
Contributor Author

darkforest0202 commented Jan 3, 2024

@olanod the PR is still in draft , there are many things that will be fixed once the PR becomes active :)

- [node/chain_spec:kreivo]: allowed dead_code on unused functions + removed useless .into() calls
- [node/chain_spec:service]: comment out unused import
- [runtime]: comment out unused imports
@darkforest0202 darkforest0202 marked this pull request as ready for review January 11, 2024 19:24
@darkforest0202 darkforest0202 requested a review from olanod January 11, 2024 19:24
Copy link
Member

@olanod olanod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving but we should update in a followup PR the chainspec of the live chain to match the one we used to register the parachain(at least change the testnet_genesis usage and UNIT token)

@olanod olanod merged commit b55841b into master Jan 12, 2024
1 of 2 checks passed
@olanod olanod deleted the feat-polkadot-release-v1.5.0-migration branch January 12, 2024 15:17
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