From 15547c41e431a9c8928b52b4f24c65ebc0cdec87 Mon Sep 17 00:00:00 2001 From: Vladimir Kuchinskiy Date: Tue, 17 Oct 2023 02:04:04 +0200 Subject: [PATCH 1/2] fix(types): Change NewValidator to be optional for UnbondingPurse (CMW-586) --- types/unbonding_purse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/unbonding_purse.go b/types/unbonding_purse.go index 3fdd6b2..55eb3cf 100644 --- a/types/unbonding_purse.go +++ b/types/unbonding_purse.go @@ -18,5 +18,5 @@ type UnbondingPurse struct { // The original validator's public key. ValidatorPublicKey keypair.PublicKey `json:"validator_public_key"` // The re-delegated validator's public key. - NewValidator keypair.PublicKey `json:"new_validator"` + NewValidator *keypair.PublicKey `json:"new_validator"` } From 6d20840a538d87ba4fde43b7519a3315041905ce Mon Sep 17 00:00:00 2001 From: Ilya Koltsov Date: Wed, 18 Oct 2023 11:34:34 +0100 Subject: [PATCH 2/2] fix goimports-reviser version --- .github/workflows/quality-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/quality-check.yml b/.github/workflows/quality-check.yml index 46e9010..ecf3689 100644 --- a/.github/workflows/quality-check.yml +++ b/.github/workflows/quality-check.yml @@ -27,7 +27,7 @@ jobs: - name: Setup GO environment run: | go mod vendor - go install -v github.com/incu6us/goimports-reviser/v3.5.6 + go install -v github.com/incu6us/goimports-reviser/v3@v3.5.6 go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.1 - name: Format