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

fix(pd): adjust chain id randomizer for devnets #4630

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

conorsch
Copy link
Contributor

Describe your changes

We automatically append a hex randomizer to devnet/preview chain ids, to avoid collisions. Client tooling may expect that suffix to be a revision number, a behavior we want to avoid. Let's stick an 'x' in the randomizer to prevent this behavior.

Issue ticket number and link

Follow-up to #4558. Revisits and therefore closes #4552.

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    no changes to app logic, only affects generation of new test chains

We automatically append a hex randomizer to devnet/preview chain ids, to
avoid collisions. Client tooling may expect that suffix to be a revision
number, a behavior we want to avoid. Let's stick an 'x' in the
randomizer to prevent this behavior.

Follow-up to #4558. Revisits and therefore closes #4552.
Copy link
Contributor

@avahowell avahowell left a comment

Choose a reason for hiding this comment

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

LGTM

@avahowell avahowell merged commit c9d778c into main Jun 17, 2024
13 checks passed
@avahowell avahowell deleted the devnet-chain-id-randomizer branch June 17, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

ibc: Trailing hex digits in chain IDs may be treated as revisions
2 participants