Skip to content

Conversation

@RomarQ
Copy link
Contributor

@RomarQ RomarQ commented Feb 18, 2024

Description

Removed deprecated type GenesisConfig from the codebase.

Closes #175

Checklist

  • My PR includes a detailed description as outlined in the "Description" section above
  • My PR follows the labeling requirements of this project (at minimum one label for T
    required)
  • I have made corresponding changes to the documentation (if applicable)

@RomarQ RomarQ requested a review from a team as a code owner February 18, 2024 21:01
@philoniare
Copy link
Contributor

@RomarQ looks like the tests are not passing yet? https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5249923

@RomarQ
Copy link
Contributor Author

RomarQ commented Feb 19, 2024

bot update-ui

@command-bot
Copy link

command-bot bot commented Feb 19, 2024

@RomarQ Requester could not be detected as a member of an allowed organization.

@seadanda
Copy link
Contributor

bot update-ui

@command-bot
Copy link

command-bot bot commented Feb 19, 2024

@seadanda https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5252722 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/update-ui/update-ui.sh". Check out https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 1-77b7f828-e991-4629-88e7-dbc48972a048 to cancel this command or bot cancel to cancel all commands in this pull request.

@seadanda seadanda added the T1-FRAME This PR/Issue is related to core FRAME, the framework. label Feb 19, 2024
@command-bot
Copy link

command-bot bot commented Feb 19, 2024

@seadanda Command "$PIPELINE_SCRIPTS_DIR/commands/update-ui/update-ui.sh" has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5252722 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5252722/artifacts/download.

@RomarQ
Copy link
Contributor Author

RomarQ commented Feb 19, 2024

bot update-ui

Hi @seadanda, the bot update-ui did not generate any artifacts. Locally, I am probably using a different version (in the CI I see version 1.75 and 1.77 nightly).

What is the best way to make sure the ui tests don't mismatch? It is not clear by looking into the contributor guidelines.

@seadanda
Copy link
Contributor

bot update-ui

@command-bot
Copy link

command-bot bot commented Feb 20, 2024

@seadanda https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5272134 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/update-ui/update-ui.sh". Check out https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 4-4e8e39e1-9401-41a3-981e-f56923453fb1 to cancel this command or bot cancel to cancel all commands in this pull request.

@command-bot
Copy link

command-bot bot commented Feb 20, 2024

@seadanda Command "$PIPELINE_SCRIPTS_DIR/commands/update-ui/update-ui.sh" has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5272134 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5272134/artifacts/download.

@RomarQ
Copy link
Contributor Author

RomarQ commented Feb 20, 2024

@seadanda Command "$PIPELINE_SCRIPTS_DIR/commands/update-ui/update-ui.sh" has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5272134 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5272134/artifacts/download.

@seadanda am I confusing something or the bot update-ui also does not detect any diffs?

@seadanda
Copy link
Contributor

I've just cloned your branch to have a look and realised that it seems like there's a fair bit left to do to remove GenesisConfig

@RomarQ
Copy link
Contributor Author

RomarQ commented Feb 20, 2024

I've just cloned your branch to have a look and realised that it seems like there's a fair bit left to do to remove GenesisConfig

I could not find any references that needed to be removed, also all build actions are green. I will have another look at it later today.

Copy link
Contributor

@michalkucharczyk michalkucharczyk left a comment

Choose a reason for hiding this comment

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

Looks good, thank you. I left some re-wording/improvements in docs.


#[cfg(any(feature = "std", test))]
#[deprecated(note = "GenesisConfig is planned to be removed in December 2023. Use `RuntimeGenesisConfig` instead.")]
pub type GenesisConfig = RuntimeGenesisConfig;
Copy link
Contributor

Choose a reason for hiding this comment

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

if you see in FRAME, there are a few more deprecated items that we can already remove. You do them in a follow up if interested :) Assuming min 6mo has passed since being marked deprecated

@michalkucharczyk
Copy link
Contributor

michalkucharczyk commented Mar 4, 2024

There is also related deprecated GenesisBuild trait.

Maybe we could also remove it in this PR? (a follow-up PR also would fine.)

@RomarQ
Copy link
Contributor Author

RomarQ commented Mar 4, 2024

There is also related deprecated GenesisBuild trait.

Maybe we could also remove it in this PR? (a follow-up PR also would fine.)

I will remove GenesisBuild in a follow up PR. I prefer to keep this PR as simple as possible.

@michalkucharczyk
Copy link
Contributor

This job check-runtime-migration-westend is sometimes failing, not sure if someone is currently working on it. I think we can merge it.

@RomarQ
Copy link
Contributor Author

RomarQ commented Mar 5, 2024

This job check-runtime-migration-westend is sometimes failing, not sure if someone is currently working on it. I think we can merge it.

There are a few CI required status that never got reported. Is it something that needs a manual trigger from merge_group?

@michalkucharczyk
Copy link
Contributor

bot fmt

@command-bot
Copy link

command-bot bot commented Mar 5, 2024

@michalkucharczyk https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5439300 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/fmt/fmt.sh". Check out https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 3-b85754e3-9017-4ab3-81b7-1dbb22dff10d to cancel this command or bot cancel to cancel all commands in this pull request.

@command-bot
Copy link

command-bot bot commented Mar 5, 2024

@michalkucharczyk Command "$PIPELINE_SCRIPTS_DIR/commands/fmt/fmt.sh" has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5439300 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5439300/artifacts/download.

@michalkucharczyk
Copy link
Contributor

@RomarQ would you please fix formatting? (bot fmt is not working on external repos).

@RomarQ
Copy link
Contributor Author

RomarQ commented Mar 5, 2024

@RomarQ would you please fix formatting? (bot fmt is not working on external repos).

Done

@michalkucharczyk michalkucharczyk added this pull request to the merge queue Mar 5, 2024
Merged via the queue into paritytech:master with commit c367ac2 Mar 5, 2024
bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
# Description

Removed deprecated type `GenesisConfig` from the codebase.

Closes paritytech#175

# Checklist

- [x] My PR includes a detailed description as outlined in the
"Description" section above
- [x] My PR follows the [labeling requirements](CONTRIBUTING.md#Process)
of this project (at minimum one label for `T`
  required)
- [x] I have made corresponding changes to the documentation (if
applicable)

---------

Co-authored-by: Liam Aharon <[email protected]>
Co-authored-by: Michal Kucharczyk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T1-FRAME This PR/Issue is related to core FRAME, the framework.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Deprecation] GenesisConfig -> RuntimeGenesisConfig

6 participants