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

Rename xdai ChainType config to gnosis #12093

Merged
merged 17 commits into from
Mar 10, 2024
Merged

Conversation

friedemannf
Copy link
Member

@friedemannf friedemannf commented Feb 20, 2024

Reflect the current name of Gnosis chain by changing the ChainType config value from xdai to gnosis.

The old value of xdai is being deprecated but will continue to receive support for the next two upcoming releases (2.11 & 2.12). If it is being used, a value warning will be issued, reminding the user to switch to the new value. The bundled defaults for Gnosis mainnet & testnet already include the switch to gnosis, requiring no action by the user if no custom config has been set.

In v2.13.0, the old value of xdai will be removed, requiring all users to be updated to the new value by then.

Copy link
Contributor

I see that you haven't updated any README files. Would it make sense to do so?

davidcauchi
davidcauchi previously approved these changes Feb 20, 2024
jmank88

This comment was marked as resolved.

jmank88

This comment was marked as resolved.

@friedemannf friedemannf marked this pull request as draft February 20, 2024 14:42
@friedemannf friedemannf added the build-test-image Will build the e2e test image in integration-tests workflow for PRs label Feb 20, 2024
common/config/chaintype.go Outdated Show resolved Hide resolved
jmank88
jmank88 previously approved these changes Feb 22, 2024
@simsonraj simsonraj added this pull request to the merge queue Feb 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 22, 2024
@friedemannf friedemannf removed the build-test-image Will build the e2e test image in integration-tests workflow for PRs label Mar 9, 2024
@friedemannf friedemannf requested a review from jmank88 March 9, 2024 00:46
@simsonraj simsonraj added this pull request to the merge queue Mar 10, 2024
Merged via the queue into develop with commit 3f6d901 Mar 10, 2024
97 checks passed
@simsonraj simsonraj deleted the SHIP-1067/rename-xdai-chaintype branch March 10, 2024 07:03
ogtownsend pushed a commit that referenced this pull request Mar 14, 2024
* feat: rename xdai ChainType config to gnosis due to the chain rebranding (SHIP-1067)

* chore: demote pyroscope-go

* chore: rename more occurrences of xdai

* refactor: retain old value for compatibility reasons, but deprecate and add warning if still used.

* fix: golangci-lint

* refactor: move deprecation warning to deprecationWarnings()

* refactor: sort chainTypes alphabetically and add exhaustive switch stmts

* bump deprecating version for xdai chaintype to v2.13.0

* remove changelog entry and add changeset

* fix config test
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.

5 participants