-
Notifications
You must be signed in to change notification settings - Fork 692
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
State Sync & t*-db #2209
State Sync & t*-db #2209
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,48 @@ | ||
#!/bin/bash | ||
# microtick and bitcanna contributed significantly here. | ||
# Pebbledb state sync script. | ||
# invoke like: bash scripts/ss.bash | ||
|
||
## USAGE RUNDOWN | ||
# Not for use on live nodes | ||
# For use when testing. | ||
# Assumes that ~/.evmosd doesn't exist | ||
# can be modified to suit your purposes if ~/.evmosd does already exist | ||
|
||
set -uxe | ||
|
||
# Set Golang environment variables. | ||
export GOPATH=~/go | ||
export PATH=$PATH:~/go/bin | ||
|
||
# Install Gaia. | ||
make install | ||
# Install with pebbledb (uncomment for incredible performance) | ||
# go mod edit -replace github.com/tendermint/tm-db=github.com/baabeetaa/tm-db@pebble | ||
# go mod tidy | ||
go install -ldflags '-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb -X github.com/tendermint/tm-db.ForceSync=1' -tags pebbledb ./... | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you want users to have the easiest experience, why install pebbledb and not use the default. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sure |
||
|
||
# install (comment if ussing pebble for incredible performance) | ||
# go install ./... | ||
|
||
# NOTE: ABOVE YOU CAN USE ALTERNATIVE DATABASES, HERE ARE THE EXACT COMMANDS | ||
# go install -ldflags '-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=rocksdb' -tags rocksdb ./... | ||
# go install -ldflags '-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=badgerdb' -tags badgerdb ./... | ||
# go install -ldflags '-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=boltdb' -tags boltdb ./... | ||
# Tendermint team is currently focusing efforts on badgerdb. | ||
|
||
# go install -ldflags '-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb -X github.com/tendermint/tm-db.ForceSync=1' -tags pebbledb ./... | ||
|
||
|
||
# Initialize chain. | ||
gaiad init test --chain-id cosmoshub-4 | ||
gaiad init test | ||
|
||
# Set minimum gas price. | ||
sed -i'' 's/minimum-gas-prices = ""/minimum-gas-prices = "0.0025uatom"/' $HOME/.gaia/config/app.toml | ||
# Get Genesis | ||
wget https://github.com/cosmos/mainnet/raw/master/genesis/genesis.cosmoshub-4.json.gz | ||
gzip -d genesis.cosmoshub-4.json.gz | ||
mv genesis.cosmoshub-4.json ~/.gaia/config/genesis.json | ||
|
||
# Get "trust_hash" and "trust_height". | ||
INTERVAL=1000 | ||
LATEST_HEIGHT=$(curl -s https://rpc.cosmos.network/block | jq -r .result.block.header.height) | ||
BLOCK_HEIGHT=$(($LATEST_HEIGHT-$INTERVAL)) | ||
TRUST_HASH=$(curl -s "https://rpc.cosmos.network/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) | ||
INTERVAL=100 | ||
LATEST_HEIGHT=$(curl -s https://cosmos-rpc.polkachu.com/block | jq -r .result.block.header.height) | ||
BLOCK_HEIGHT=$((LATEST_HEIGHT - INTERVAL)) | ||
TRUST_HASH=$(curl -s "https://cosmos-rpc.polkachu.com/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) | ||
|
||
# Print out block and transaction hash from which to sync state. | ||
echo "trust_height: $BLOCK_HEIGHT" | ||
|
@@ -36,12 +51,13 @@ echo "trust_hash: $TRUST_HASH" | |
# Export state sync variables. | ||
export GAIAD_STATESYNC_ENABLE=true | ||
export GAIAD_P2P_MAX_NUM_OUTBOUND_PEERS=200 | ||
export GAIAD_STATESYNC_RPC_SERVERS="https://rpc.cosmos.network:443,https://rpc.cosmos.network:443" | ||
export GAIAD_STATESYNC_RPC_SERVERS="https://cosmos-rpc.polkachu.com:443,https://rpc-cosmoshub-ia.cosmosia.notional.ventures:443" | ||
export GAIAD_STATESYNC_TRUST_HEIGHT=$BLOCK_HEIGHT | ||
export GAIAD_STATESYNC_TRUST_HASH=$TRUST_HASH | ||
|
||
# Fetch and set list of seeds from chain registry. | ||
export GAIAD_P2P_SEEDS=$(curl -s https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/chain.json | jq -r '[foreach .peers.seeds[] as $item (""; "\($item.id)@\($item.address)")] | join(",")') | ||
GAIAD_P2P_SEEDS=$(curl -s https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/chain.json | jq -r '[foreach .peers.seeds[] as $item (""; "\($item.id)@\($item.address)")] | join(",")') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is really helpful! |
||
export GAIAD_P2P_SEEDS | ||
|
||
# Start chain. | ||
gaiad start --x-crisis-skip-assert-invariants | ||
gaiad start --x-crisis-skip-assert-invariants --db_backend pebbledb --iavl-disable-fastnode false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. May need changing depending on db selection |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,12 @@ module github.com/cosmos/gaia/v8 | |
go 1.18 | ||
|
||
require ( | ||
github.com/cosmos/cosmos-sdk v0.45.12 | ||
github.com/cosmos/cosmos-sdk v0.45.13 | ||
github.com/cosmos/go-bip39 v1.0.0 | ||
github.com/cosmos/ibc-go/v3 v3.4.0 | ||
github.com/gogo/protobuf v1.3.3 | ||
github.com/golang/protobuf v1.5.2 | ||
github.com/golangci/golangci-lint v1.50.1 | ||
github.com/golangci/golangci-lint v1.51.1 | ||
github.com/gorilla/mux v1.8.0 | ||
github.com/gravity-devs/liquidity v1.5.3 | ||
github.com/grpc-ecosystem/grpc-gateway v1.16.0 | ||
|
@@ -20,7 +20,7 @@ require ( | |
github.com/spf13/viper v1.14.0 | ||
github.com/strangelove-ventures/packet-forward-middleware/v3 v3.1.1 | ||
github.com/stretchr/testify v1.8.1 | ||
github.com/tendermint/tendermint v0.34.24 | ||
github.com/tendermint/tendermint v0.34.26 | ||
github.com/tendermint/tm-db v0.6.7 | ||
google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e | ||
google.golang.org/grpc v1.50.1 | ||
|
@@ -32,16 +32,18 @@ require ( | |
) | ||
|
||
require ( | ||
4d63.com/gochecknoglobals v0.1.0 // indirect | ||
4d63.com/gocheckcompilerdirectives v1.2.1 // indirect | ||
4d63.com/gochecknoglobals v0.2.1 // indirect | ||
filippo.io/edwards25519 v1.0.0-rc.1 // indirect | ||
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect | ||
github.com/99designs/keyring v1.2.1 // indirect | ||
github.com/Abirdcfly/dupword v0.0.7 // indirect | ||
github.com/Abirdcfly/dupword v0.0.9 // indirect | ||
github.com/Antonboom/errname v0.1.7 // indirect | ||
github.com/Antonboom/nilnil v0.1.1 // indirect | ||
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect | ||
github.com/BurntSushi/toml v1.2.1 // indirect | ||
github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d // indirect | ||
github.com/DataDog/zstd v1.5.0 // indirect | ||
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect | ||
github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0 // indirect | ||
github.com/Masterminds/semver v1.5.0 // indirect | ||
|
@@ -66,27 +68,30 @@ require ( | |
github.com/butuzov/ireturn v0.1.1 // indirect | ||
github.com/cenkalti/backoff/v4 v4.1.3 // indirect | ||
github.com/cespare/xxhash v1.1.0 // indirect | ||
github.com/cespare/xxhash/v2 v2.1.2 // indirect | ||
github.com/cespare/xxhash/v2 v2.2.0 // indirect | ||
github.com/charithe/durationcheck v0.0.9 // indirect | ||
github.com/chavacava/garif v0.0.0-20220630083739-93517212f375 // indirect | ||
github.com/chavacava/garif v0.0.0-20221024190013-b3ef35877348 // indirect | ||
github.com/cockroachdb/errors v1.8.1 // indirect | ||
github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f // indirect | ||
github.com/cockroachdb/pebble v0.0.0-20230213222125-5d8daed0ac88 // indirect | ||
github.com/cockroachdb/redact v1.0.8 // indirect | ||
github.com/cockroachdb/sentry-go v0.6.1-cockroachdb.2 // indirect | ||
github.com/coinbase/rosetta-sdk-go v0.7.9 // indirect | ||
github.com/confio/ics23/go v0.9.0 // indirect | ||
github.com/containerd/continuity v0.3.0 // indirect | ||
github.com/cosmos/btcutil v1.0.4 // indirect | ||
github.com/cosmos/gorocksdb v1.2.0 // indirect | ||
github.com/cosmos/iavl v0.19.4 // indirect | ||
github.com/cosmos/iavl v0.19.5 // indirect | ||
github.com/cosmos/ledger-cosmos-go v0.12.2 // indirect | ||
github.com/creachadair/taskgroup v0.3.2 // indirect | ||
github.com/curioswitch/go-reassign v0.2.0 // indirect | ||
github.com/daixiang0/gci v0.8.1 // indirect | ||
github.com/daixiang0/gci v0.9.0 // indirect | ||
github.com/danieljoos/wincred v1.1.2 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect | ||
github.com/denis-tingaikin/go-header v0.4.3 // indirect | ||
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect | ||
github.com/dgraph-io/badger/v2 v2.2007.4 // indirect | ||
github.com/dgraph-io/badger/v3 v3.2103.2 // indirect | ||
github.com/dgraph-io/ristretto v0.1.0 // indirect | ||
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect | ||
github.com/docker/cli v20.10.14+incompatible // indirect | ||
github.com/docker/docker v20.10.19+incompatible // indirect | ||
github.com/docker/go-connections v0.4.0 // indirect | ||
|
@@ -95,7 +100,7 @@ require ( | |
github.com/dvsekhvalnov/jose2go v1.5.0 // indirect | ||
github.com/esimonov/ifshort v1.0.4 // indirect | ||
github.com/ettle/strcase v0.1.1 // indirect | ||
github.com/fatih/color v1.13.0 // indirect | ||
github.com/fatih/color v1.14.1 // indirect | ||
github.com/fatih/structtag v1.2.0 // indirect | ||
github.com/felixge/httpsnoop v1.0.1 // indirect | ||
github.com/firefart/nonamedreturns v1.0.4 // indirect | ||
|
@@ -106,33 +111,35 @@ require ( | |
github.com/go-kit/log v0.2.1 // indirect | ||
github.com/go-logfmt/logfmt v0.5.1 // indirect | ||
github.com/go-toolsmith/astcast v1.0.0 // indirect | ||
github.com/go-toolsmith/astcopy v1.0.2 // indirect | ||
github.com/go-toolsmith/astcopy v1.0.3 // indirect | ||
github.com/go-toolsmith/astequal v1.0.3 // indirect | ||
github.com/go-toolsmith/astfmt v1.0.0 // indirect | ||
github.com/go-toolsmith/astp v1.0.0 // indirect | ||
github.com/go-toolsmith/strparse v1.0.0 // indirect | ||
github.com/go-toolsmith/typep v1.0.2 // indirect | ||
github.com/go-xmlfmt/xmlfmt v0.0.0-20191208150333-d5b6f63a941b // indirect | ||
github.com/go-xmlfmt/xmlfmt v1.1.2 // indirect | ||
github.com/gobwas/glob v0.2.3 // indirect | ||
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect | ||
github.com/gofrs/flock v0.8.1 // indirect | ||
github.com/gogo/gateway v1.1.0 // indirect | ||
github.com/golang/glog v1.0.0 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/snappy v0.0.4 // indirect | ||
github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 // indirect | ||
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a // indirect | ||
github.com/golangci/go-misc v0.0.0-20220329215616-d24fe342adfe // indirect | ||
github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2 // indirect | ||
github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0 // indirect | ||
github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca // indirect | ||
github.com/golangci/misspell v0.3.5 // indirect | ||
github.com/golangci/misspell v0.4.0 // indirect | ||
github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6 // indirect | ||
github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 // indirect | ||
github.com/google/btree v1.0.1 // indirect | ||
github.com/google/btree v1.1.2 // indirect | ||
github.com/google/flatbuffers v1.12.1 // indirect | ||
github.com/google/go-cmp v0.5.9 // indirect | ||
github.com/google/orderedcode v0.0.1 // indirect | ||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect | ||
github.com/gordonklaus/ineffassign v0.0.0-20210914165742-4cc7213b9bc8 // indirect | ||
github.com/gordonklaus/ineffassign v0.0.0-20230107090616-13ace0543b28 // indirect | ||
github.com/gorilla/handlers v1.5.1 // indirect | ||
github.com/gorilla/websocket v1.5.0 // indirect | ||
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect | ||
|
@@ -160,29 +167,33 @@ require ( | |
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af // indirect | ||
github.com/jmhodges/levigo v1.0.0 // indirect | ||
github.com/julz/importas v0.1.0 // indirect | ||
github.com/kisielk/errcheck v1.6.2 // indirect | ||
github.com/junk1tm/musttag v0.4.4 // indirect | ||
github.com/kisielk/errcheck v1.6.3 // indirect | ||
github.com/kisielk/gotool v1.0.0 // indirect | ||
github.com/kkHAIKE/contextcheck v1.1.3 // indirect | ||
github.com/klauspost/compress v1.15.11 // indirect | ||
github.com/klauspost/compress v1.15.15 // indirect | ||
github.com/kr/pretty v0.3.0 // indirect | ||
github.com/kr/text v0.2.0 // indirect | ||
github.com/kulti/thelper v0.6.3 // indirect | ||
github.com/kunwardeep/paralleltest v1.0.6 // indirect | ||
github.com/kyoh86/exportloopref v0.1.8 // indirect | ||
github.com/kyoh86/exportloopref v0.1.11 // indirect | ||
github.com/ldez/gomoddirectives v0.2.3 // indirect | ||
github.com/ldez/tagliatelle v0.3.1 // indirect | ||
github.com/leonklingele/grouper v1.1.0 // indirect | ||
github.com/lib/pq v1.10.6 // indirect | ||
github.com/ldez/tagliatelle v0.4.0 // indirect | ||
github.com/leonklingele/grouper v1.1.1 // indirect | ||
github.com/lib/pq v1.10.7 // indirect | ||
github.com/libp2p/go-buffer-pool v0.1.0 // indirect | ||
github.com/linxGnu/grocksdb v1.7.10 // indirect | ||
github.com/lufeee/execinquery v1.2.1 // indirect | ||
github.com/magiconair/properties v1.8.6 // indirect | ||
github.com/maratori/testableexamples v1.0.0 // indirect | ||
github.com/maratori/testpackage v1.1.0 // indirect | ||
github.com/matoous/godox v0.0.0-20210227103229-6504466cf951 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.16 // indirect | ||
github.com/mattn/go-isatty v0.0.17 // indirect | ||
github.com/mattn/go-runewidth v0.0.9 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect | ||
github.com/mbilski/exhaustivestruct v1.2.0 // indirect | ||
github.com/mgechev/revive v1.2.4 // indirect | ||
github.com/mgechev/revive v1.2.5 // indirect | ||
github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect | ||
github.com/minio/highwayhash v1.0.2 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 // indirect | ||
|
@@ -192,58 +203,60 @@ require ( | |
github.com/mtibben/percent v0.2.1 // indirect | ||
github.com/nakabonne/nestif v0.3.1 // indirect | ||
github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 // indirect | ||
github.com/nishanths/exhaustive v0.8.3 // indirect | ||
github.com/nishanths/exhaustive v0.9.5 // indirect | ||
github.com/nishanths/predeclared v0.2.2 // indirect | ||
github.com/nunnatsa/ginkgolinter v0.8.1 // indirect | ||
github.com/olekukonko/tablewriter v0.0.5 // indirect | ||
github.com/opencontainers/go-digest v1.0.0 // indirect | ||
github.com/opencontainers/image-spec v1.1.0-rc2 // indirect | ||
github.com/opencontainers/runc v1.1.3 // indirect | ||
github.com/pelletier/go-toml v1.9.5 // indirect | ||
github.com/pelletier/go-toml/v2 v2.0.5 // indirect | ||
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect | ||
github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/polyfloyd/go-errorlint v1.0.5 // indirect | ||
github.com/prometheus/client_golang v1.12.2 // indirect | ||
github.com/prometheus/client_model v0.2.0 // indirect | ||
github.com/prometheus/common v0.34.0 // indirect | ||
github.com/polyfloyd/go-errorlint v1.0.6 // indirect | ||
github.com/prometheus/client_golang v1.14.0 // indirect | ||
github.com/prometheus/client_model v0.3.0 // indirect | ||
github.com/prometheus/common v0.37.0 // indirect | ||
github.com/prometheus/procfs v0.8.0 // indirect | ||
github.com/quasilyte/go-ruleguard v0.3.18 // indirect | ||
github.com/quasilyte/gogrep v0.0.0-20220828223005-86e4605de09f // indirect | ||
github.com/quasilyte/regex/syntax v0.0.0-20200407221936-30656e2c4a95 // indirect | ||
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect | ||
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect | ||
github.com/regen-network/cosmos-proto v0.3.1 // indirect | ||
github.com/rogpeppe/go-internal v1.9.0 // indirect | ||
github.com/rs/cors v1.8.2 // indirect | ||
github.com/rs/zerolog v1.27.0 // indirect | ||
github.com/ryancurrah/gomodguard v1.2.4 // indirect | ||
github.com/ryanrolds/sqlclosecheck v0.3.0 // indirect | ||
github.com/sanposhiho/wastedassign/v2 v2.0.6 // indirect | ||
github.com/ryancurrah/gomodguard v1.3.0 // indirect | ||
github.com/ryanrolds/sqlclosecheck v0.4.0 // indirect | ||
github.com/sanposhiho/wastedassign/v2 v2.0.7 // indirect | ||
github.com/sasha-s/go-deadlock v0.3.1 // indirect | ||
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect | ||
github.com/sashamelentyev/usestdlibvars v1.20.0 // indirect | ||
github.com/securego/gosec/v2 v2.13.1 // indirect | ||
github.com/sashamelentyev/usestdlibvars v1.21.1 // indirect | ||
github.com/securego/gosec/v2 v2.14.0 // indirect | ||
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c // indirect | ||
github.com/sirupsen/logrus v1.9.0 // indirect | ||
github.com/sivchari/containedctx v1.0.2 // indirect | ||
github.com/sivchari/nosnakecase v1.7.0 // indirect | ||
github.com/sivchari/tenv v1.7.0 // indirect | ||
github.com/sivchari/tenv v1.7.1 // indirect | ||
github.com/sonatard/noctx v0.0.1 // indirect | ||
github.com/sourcegraph/go-diff v0.6.1 // indirect | ||
github.com/sourcegraph/go-diff v0.7.0 // indirect | ||
github.com/spf13/afero v1.9.2 // indirect | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect | ||
github.com/stbenjam/no-sprintf-host-port v0.1.1 // indirect | ||
github.com/stretchr/objx v0.5.0 // indirect | ||
github.com/subosito/gotenv v1.4.1 // indirect | ||
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect | ||
github.com/t-yuki/gocover-cobertura v0.0.0-20180217150009-aaee18c8195c // indirect | ||
github.com/tdakkota/asciicheck v0.1.1 // indirect | ||
github.com/tendermint/go-amino v0.16.0 // indirect | ||
github.com/tetafro/godot v1.4.11 // indirect | ||
github.com/tidwall/btree v1.5.0 // indirect | ||
github.com/timakin/bodyclose v0.0.0-20210704033933-f49887972144 // indirect | ||
github.com/timakin/bodyclose v0.0.0-20221125081123-e39cf3fc478e // indirect | ||
github.com/timonwong/loggercheck v0.9.3 // indirect | ||
github.com/tomarrell/wrapcheck/v2 v2.7.0 // indirect | ||
github.com/tomarrell/wrapcheck/v2 v2.8.0 // indirect | ||
github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect | ||
github.com/ultraware/funlen v0.0.3 // indirect | ||
github.com/ultraware/whitespace v0.0.5 // indirect | ||
|
@@ -257,28 +270,29 @@ require ( | |
github.com/zondax/ledger-go v0.14.1 // indirect | ||
gitlab.com/bosi/decorder v0.2.3 // indirect | ||
go.etcd.io/bbolt v1.3.6 // indirect | ||
go.opencensus.io v0.23.0 // indirect | ||
go.uber.org/atomic v1.10.0 // indirect | ||
go.uber.org/multierr v1.8.0 // indirect | ||
go.uber.org/zap v1.23.0 // indirect | ||
golang.org/x/crypto v0.4.0 // indirect | ||
golang.org/x/crypto v0.5.0 // indirect | ||
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect | ||
golang.org/x/exp/typeparams v0.0.0-20220827204233-334a2380cb91 // indirect | ||
golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a // indirect | ||
golang.org/x/mod v0.7.0 // indirect | ||
golang.org/x/net v0.4.0 // indirect | ||
golang.org/x/net v0.5.0 // indirect | ||
golang.org/x/sync v0.1.0 // indirect | ||
golang.org/x/sys v0.3.0 // indirect | ||
golang.org/x/term v0.3.0 // indirect | ||
golang.org/x/text v0.5.0 // indirect | ||
golang.org/x/tools v0.4.0 // indirect | ||
golang.org/x/sys v0.4.0 // indirect | ||
golang.org/x/term v0.4.0 // indirect | ||
golang.org/x/text v0.6.0 // indirect | ||
golang.org/x/tools v0.5.0 // indirect | ||
google.golang.org/protobuf v1.28.2-0.20220831092852-f930b1dc76e8 // indirect | ||
gopkg.in/ini.v1 v1.67.0 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
honnef.co/go/tools v0.3.3 // indirect | ||
honnef.co/go/tools v0.4.0 // indirect | ||
mvdan.cc/gofumpt v0.4.0 // indirect | ||
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed // indirect | ||
mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect | ||
mvdan.cc/unparam v0.0.0-20220706161116-678bad134442 // indirect | ||
mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d // indirect | ||
nhooyr.io/websocket v1.8.6 // indirect | ||
) | ||
|
||
|
@@ -293,7 +307,7 @@ replace ( | |
github.com/confio/ics23/go => github.com/confio/ics23/go v0.9.0 | ||
|
||
// enforce same SDK and IBC on all dependencies | ||
github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.45.12 | ||
github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.45.13 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Question/Reminder, Do we want to keep this script in sync with main/whichever release branch we are using? |
||
github.com/cosmos/ibc-go/v3 => github.com/cosmos/ibc-go/v3 v3.4.0 | ||
|
||
// TODO: remove it: https://github.com/cosmos/cosmos-sdk/issues/13134 | ||
|
@@ -305,9 +319,11 @@ replace ( | |
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 | ||
|
||
// Use Informal Systems fork of Tendermint | ||
github.com/tendermint/tendermint => github.com/informalsystems/tendermint v0.34.25 | ||
github.com/tendermint/tendermint => github.com/informalsystems/tendermint v0.34.26 | ||
|
||
// latest grpc doesn't work with with our modified proto compiler, so we need to enforce | ||
// the following version across all dependencies. | ||
google.golang.org/grpc => google.golang.org/grpc v1.33.2 | ||
) | ||
|
||
replace github.com/tendermint/tm-db => github.com/notional-labs/tm-db v0.6.8-0.20230214123107-77c191d0f7ee | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there not a normal commit version for tm-db? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would check whether the GOPATH is already set. If not advise the user to set it and add it to that path.
I use Homebrew and that installs golang to a totally different bin directory.