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

SDK 47+ unsafe-reset w/ backwards compatibility #736

Merged
merged 3 commits into from
Sep 7, 2023

Conversation

Reecepbcups
Copy link
Member

Per Colin's comment

Summary

With this, it is now possible to unsafe reset all in the legacy SDK (v45, 46) while also maintaining support for the newer comet namespace to reset all.

Since the new genesis command was also introduced at the same time, we just check that if it's on.

Future considerations

We may want to change UsingNewGenesisCommand to be UsingOldGenesisCommand to opt in for older SDK versions (since all future versions will use this new format)

@Reecepbcups Reecepbcups marked this pull request as ready for review September 6, 2023 03:09
@Reecepbcups Reecepbcups requested a review from a team as a code owner September 6, 2023 03:09
Copy link
Contributor

@boojamya boojamya left a comment

Choose a reason for hiding this comment

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

LGTM.

Also, totally agree we should reword UsingNewGenesisCommand
Issue created: #742

@boojamya boojamya added the BACKPORT backport into all maintained branches label Sep 6, 2023
@Reecepbcups Reecepbcups enabled auto-merge (squash) September 6, 2023 23:57
@Reecepbcups Reecepbcups merged commit 482dee8 into main Sep 7, 2023
7 checks passed
@Reecepbcups Reecepbcups deleted the reece/unsafe-reset-47-plus branch September 7, 2023 14:57
mergify bot pushed a commit that referenced this pull request Sep 7, 2023
@Reecepbcups
Copy link
Member Author

@Mergifyio backport v7

@mergify
Copy link
Contributor

mergify bot commented Sep 7, 2023

backport v7

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Sep 7, 2023
Reecepbcups added a commit that referenced this pull request Sep 7, 2023
(cherry picked from commit 482dee8)

Co-authored-by: Reece Williams <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BACKPORT backport into all maintained branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants