Skip to content

Commit

Permalink
chore: update Cosmos SDK to 0.44 (security fix, replaces 0.43 entirely)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim committed Sep 5, 2021
1 parent 991f010 commit 8d869ef
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 73 deletions.
2 changes: 1 addition & 1 deletion chain/client/cosmos.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func (c *cosmosClient) broadcastTx(
txf = txf.WithGas(adjusted)
}

txn, err := tx.BuildUnsignedTx(txf, msgs...)
txn, err := txf.BuildUnsignedTx(msgs...)
if err != nil {
err = errors.Wrap(err, "failed to BuildUnsignedTx")
return nil, err
Expand Down
12 changes: 5 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ require (
github.com/allegro/bigcache v1.2.1 // indirect
github.com/aristanetworks/goarista v0.0.0-20201012165903-2cb20defcd66 // indirect
github.com/aws/aws-sdk-go v1.29.15 // indirect
github.com/bandprotocol/bandchain-packet v0.0.2
github.com/bitly/go-simplejson v0.5.0 // indirect
github.com/btcsuite/btcd v0.22.0-beta
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
github.com/bugsnag/panicwrap v1.2.0 // indirect
github.com/cespare/cp v1.1.1 // indirect
github.com/cosmos/cosmos-sdk v0.43.0-rc0
github.com/cosmos/ibc-go v1.0.0-alpha2
github.com/cosmos/cosmos-sdk v0.44.0
github.com/cosmos/ibc-go v1.0.0
github.com/deckarep/golang-set v1.7.1 // indirect
github.com/ethereum/go-ethereum v1.9.25
github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 // indirect
Expand All @@ -25,29 +26,26 @@ require (
github.com/karalabe/usb v0.0.0-20191104083709-911d15fe12a9 // indirect
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
github.com/olekukonko/tablewriter v0.0.5
github.com/onsi/ginkgo v1.15.1
github.com/onsi/gomega v1.10.1
github.com/onsi/ginkgo v1.15.1 // indirect
github.com/pkg/errors v0.9.1
github.com/prometheus/tsdb v0.10.0 // indirect
github.com/regen-network/cosmos-proto v0.3.1
github.com/rjeczalik/notify v0.9.2 // indirect
github.com/shopspring/decimal v1.2.0
github.com/spf13/cobra v1.1.3
github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969 // indirect
github.com/tendermint/tendermint v0.34.11
github.com/tendermint/tendermint v0.34.12
github.com/tyler-smith/go-bip39 v1.0.2
github.com/xlab/suplog v1.3.0
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c
google.golang.org/grpc v1.38.0
google.golang.org/protobuf v1.26.0
gopkg.in/yaml.v2 v2.4.0
github.com/bandprotocol/bandchain-packet v0.0.2
)

replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1

replace google.golang.org/grpc => google.golang.org/grpc v1.33.2

replace github.com/btcsuite/btcutil => github.com/btcsuite/btcutil v1.0.2
replace github.com/cosmos/cosmos-sdk => github.com/InjectiveLabs/cosmos-sdk v0.43.0-rc0-inj
Loading

0 comments on commit 8d869ef

Please sign in to comment.