From 612db310ac5961ca6f6224f1b0da220a9da7bb3f Mon Sep 17 00:00:00 2001 From: NathanBSC Date: Fri, 7 Jul 2023 18:05:01 +0800 Subject: [PATCH 1/2] fix: enable cgo when releasing --- .github/workflows/pre-release.yml | 2 -- .github/workflows/release.yml | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 35239ca42..130e93f12 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -55,8 +55,6 @@ jobs: # uses: mxschmitt/action-tmate@v3 - name: Build Binary for ${{matrix.os}} - env: - CGO_ENABLED: "0" run: make build # ============================== diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66afb8ceb..a1d3118f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,8 +55,6 @@ jobs: # uses: mxschmitt/action-tmate@v3 - name: Build Binary for ${{matrix.os}} - env: - CGO_ENABLED: "0" run: make build # ============================== From 7803b9e798f248174c546a6a2cc52180c72bb345 Mon Sep 17 00:00:00 2001 From: NathanBSC Date: Fri, 7 Jul 2023 18:40:16 +0800 Subject: [PATCH 2/2] fix: add imports needed to fix test cases --- app/app_paramhub_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/app_paramhub_test.go b/app/app_paramhub_test.go index 850d62286..2f1cb7c34 100644 --- a/app/app_paramhub_test.go +++ b/app/app_paramhub_test.go @@ -24,6 +24,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/slashing" "github.com/cosmos/cosmos-sdk/x/stake" "github.com/stretchr/testify/assert" + "github.com/tendermint/go-amino" abcicli "github.com/tendermint/tendermint/abci/client" "github.com/tendermint/tendermint/abci/types" abci "github.com/tendermint/tendermint/abci/types"