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

feat(v7): override sdk v47 version check with env variable #1227

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

joelsmith-2019
Copy link

Manually overrides the logic to determine if a chain is running SDK 47 or greater.

@joelsmith-2019 joelsmith-2019 self-assigned this Aug 21, 2024
@joelsmith-2019 joelsmith-2019 requested a review from a team as a code owner August 21, 2024 19:42
Copy link

vercel bot commented Aug 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
interchaintest-docs ⬜️ Ignored (Inspect) Visit Preview Aug 21, 2024 7:48pm

@Reecepbcups Reecepbcups changed the title feat: add env variable to force SDK version feat: override sdk v47 version check with env variable Aug 21, 2024
Comment on lines 741 to 745
if env == "true" {
return true
} else {
return false
}
Copy link
Member

@Reecepbcups Reecepbcups Aug 21, 2024

Choose a reason for hiding this comment

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

FYI could technically do return env == "true"

you java'ers like your elses lol

Copy link
Author

Choose a reason for hiding this comment

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

🤦‍♂️ Yes, definitely would be more concise

@Reecepbcups Reecepbcups changed the title feat: override sdk v47 version check with env variable feat(v7): override sdk v47 version check with env variable Aug 21, 2024
@Reecepbcups Reecepbcups merged commit c51068e into v7 Aug 21, 2024
17 checks passed
@Reecepbcups Reecepbcups deleted the joel/above-sdk-47-env branch August 21, 2024 20:27
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.

2 participants