Skip to content

Commit

Permalink
fix: remove hub dependency importing pseudo version of osmosis (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsitrin authored Apr 6, 2024
1 parent 9733e1c commit d609ad8
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 39 deletions.
10 changes: 6 additions & 4 deletions block/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ func TestBlockProductionNodeHealth(t *testing.T) {
// 5. Produce third block successfully
func TestProduceBlockFailAfterCommit(t *testing.T) {
require := require.New(t)
assert := assert.New(t)
// Setup app
app := testutil.GetAppMock(testutil.Info, testutil.Commit)
// Create proxy app
Expand Down Expand Up @@ -382,11 +381,14 @@ func TestProduceBlockFailAfterCommit(t *testing.T) {
mockStore.ShouldFailSetHeight = tc.shouldFailSetSetHeight
mockStore.ShoudFailUpdateState = tc.shouldFailUpdateState
_ = manager.produceBlock(context.Background(), true)
assert.Equal(tc.expectedStoreHeight, manager.store.Height())
assert.Equal(tc.expectedStateAppHash, manager.lastState.AppHash)
require.Equal(tc.expectedStoreHeight, manager.store.Height(), tc.name)
require.Equal(tc.expectedStateAppHash, manager.lastState.AppHash, tc.name)
storeState, err := manager.store.LoadState()
require.NoError(err)
assert.Equal(tc.expectedStateAppHash, storeState.AppHash)
require.Equal(tc.expectedStateAppHash, storeState.AppHash, tc.name)

app.On("Commit", mock.Anything).Unset()
app.On("Info", mock.Anything).Unset()
})
}
}
Expand Down
34 changes: 24 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
module github.com/dymensionxyz/dymint

go 1.21
go 1.22.0

toolchain go1.22.1

require (
code.cloudfoundry.org/go-diodes v0.0.0-20220725190411-383eb6634c40
cosmossdk.io/errors v1.0.0-beta.7
cosmossdk.io/math v1.2.0
cosmossdk.io/errors v1.0.1
cosmossdk.io/math v1.3.0
github.com/avast/retry-go/v4 v4.5.0
github.com/celestiaorg/go-cnc v0.4.2
github.com/centrifuge/go-substrate-rpc-client/v4 v4.0.12
github.com/cosmos/cosmos-sdk v0.46.15
github.com/cosmos/cosmos-sdk v0.46.16
github.com/dgraph-io/badger/v3 v3.2103.3
github.com/dymensionxyz/cosmosclient v0.4.2-beta
github.com/dymensionxyz/dymension/v3 v3.0.0-rc02.0.20240304125623-d447bab68709
github.com/dymensionxyz/dymension/v3 v3.1.0-rc01.0.20240402213116-e5302877e497
github.com/go-kit/kit v0.12.0
github.com/gofrs/uuid v4.3.0+incompatible
github.com/gogo/protobuf v1.3.3
Expand Down Expand Up @@ -64,7 +64,7 @@ require (
github.com/celestiaorg/nmt v0.20.0
github.com/celestiaorg/rsmt2d v0.11.0 // indirect
github.com/cometbft/cometbft v0.37.2
github.com/cometbft/cometbft-db v0.7.0 // indirect
github.com/cometbft/cometbft-db v0.11.0 // indirect
github.com/cosmos/cosmos-proto v1.0.0-beta.3 // indirect
github.com/cosmos/gogoproto v1.4.11 // indirect
github.com/creachadair/taskgroup v0.3.2 // indirect
Expand All @@ -73,7 +73,7 @@ require (
github.com/decred/dcrd/crypto/blake256 v1.0.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/ethereum/go-ethereum v1.12.0 // indirect
github.com/evmos/evmos/v12 v12.1.6
github.com/evmos/evmos/v12 v12.1.6 // indirect
github.com/filecoin-project/go-jsonrpc v0.3.1 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/go-logr/logr v1.2.4 // indirect
Expand All @@ -97,7 +97,6 @@ require (
github.com/quic-go/webtransport-go v0.5.3 // indirect
github.com/satori/go.uuid v1.2.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c // indirect
github.com/tidwall/btree v1.5.0 // indirect
github.com/tidwall/gjson v1.14.4 // indirect
github.com/tidwall/match v1.1.1 // indirect
Expand All @@ -116,7 +115,7 @@ require (
google.golang.org/genproto/googleapis/api v0.0.0-20240125205218-1f4bbc51befe // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240125205218-1f4bbc51befe // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)

require (
Expand Down Expand Up @@ -236,7 +235,7 @@ require (
github.com/tendermint/tm-db v0.6.8-0.20220506192307-f628bb5dc95b // indirect
github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 // indirect
github.com/zondax/hid v0.9.2 // indirect
go.etcd.io/bbolt v1.3.6 // indirect
go.etcd.io/bbolt v1.3.8 // indirect
go.opencensus.io v0.24.0 // indirect
go.uber.org/zap v1.25.0 // indirect
golang.org/x/crypto v0.18.0 // indirect
Expand All @@ -253,12 +252,27 @@ require (
)

require (
github.com/DataDog/zstd v1.5.2 // indirect
github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/btcsuite/btcd/btcutil v1.1.3 // indirect
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/cockroachdb/errors v1.11.1 // indirect
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
github.com/cockroachdb/pebble v1.1.0 // indirect
github.com/cockroachdb/redact v1.1.5 // indirect
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
github.com/cosmos/ibc-go/v6 v6.2.1 // indirect
github.com/decred/dcrd/dcrec/edwards v1.0.0 // indirect
github.com/getsentry/sentry-go v0.18.0 // indirect
github.com/gopherjs/gopherjs v0.0.0-20190812055157-5d271430af9f // indirect
github.com/holiman/uint256 v1.2.2 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/linxGnu/grocksdb v1.8.12 // indirect
github.com/prometheus/common v0.42.0 // indirect
github.com/regen-network/cosmos-proto v0.3.1 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/smartystreets/assertions v1.0.1 // indirect
golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846 // indirect
)
Expand Down
Loading

0 comments on commit d609ad8

Please sign in to comment.