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

chore: finish go1.20 bump #1058

Merged
merged 2 commits into from
Jun 22, 2023
Merged

chore: finish go1.20 bump #1058

merged 2 commits into from
Jun 22, 2023

Conversation

shaspitz
Copy link
Contributor

@shaspitz shaspitz commented Jun 21, 2023

Description

Fully closes: #966

There were some spots that were missed regarding go1.19 -> go1.20

Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • Included the correct type prefix in the PR title
  • Targeted the correct branch (see PR Targeting)
  • Provided a link to the relevant issue or specification
  • Reviewed "Files changed" and left comments if necessary
  • Confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • Confirmed the correct type prefix in the PR title
  • Confirmed all author checklist items have been addressed
  • Confirmed that this PR does not change production code

@shaspitz shaspitz changed the title more chore: finish go1.20 bump Jun 21, 2023
@@ -47,7 +47,9 @@ func TestGetAllValidatorConsumerPubKey(t *testing.T) {
pk, ctx, ctrl, _ := testkeeper.GetProviderKeeperAndCtx(t, testkeeper.NewInMemKeeperParams(t))
defer ctrl.Finish()

rand.Seed(time.Now().Unix())
seed := time.Now().UnixNano()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

By upgrading go to 1.20 for golangci-lint, the tool now enforces we don't use the depreciated way of rand seeding

@shaspitz shaspitz marked this pull request as ready for review June 21, 2023 14:46
@shaspitz shaspitz requested a review from a team as a code owner June 21, 2023 14:46
Copy link
Contributor

@mpoke mpoke left a comment

Choose a reason for hiding this comment

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

LGTM

@mpoke mpoke merged commit ed04399 into main Jun 22, 2023
@mpoke mpoke deleted the shawn/finish-go1.20-bump branch June 22, 2023 07:41
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.

Reapply full bump to go1.20 after sdk bump
3 participants