Skip to content

Commit

Permalink
chore/fix: update osmosis to v21 & fix bug at start up (#21)
Browse files Browse the repository at this point in the history
* chore: update osmosis to v21

* updates
  • Loading branch information
p0mvn authored Jan 9, 2024
1 parent 0b3b0a0 commit 3ddd04c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ redis-stop:
docker container rm -f redis-stack

osmosis-start:
docker run -d --name osmosis -p 26657:26657 -p 9090:9090 -p 1317:1317 -p 9091:9091 -p 6060:6060 -v $(HOME)/.osmosisd/:/osmosis/.osmosisd/ --net host osmolabs/osmosis-dev:sqs-out-v0.1 "start"
docker run -d --name osmosis -p 26657:26657 -p 9090:9090 -p 1317:1317 -p 9091:9091 -p 6060:6060 -v $(HOME)/.osmosisd/:/osmosis/.osmosisd/ --net host osmolabs/osmosis-dev:sqs-out-v0.2 "start"

osmosis-stop:
docker container rm -f osmosis
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/labstack/echo v3.3.10+incompatible
github.com/osmosis-labs/osmosis/osmomath v0.0.7-0.20240108180923-ddfef98789fd
github.com/osmosis-labs/osmosis/osmoutils v0.0.7-0.20240108180923-ddfef98789fd
github.com/osmosis-labs/osmosis/v21 v21.0.1-0.20240108020045-ce7408a2484d
github.com/osmosis-labs/osmosis/v21 v21.0.1-0.20240109044531-fc20549a9a02
github.com/osmosis-labs/sqs/sqsdomain v0.0.0-20240108041740-335fcbc6ac1e
github.com/prometheus/client_golang v1.18.0
github.com/redis/go-redis/v9 v9.4.0
Expand Down
2 changes: 1 addition & 1 deletion router/usecase/router_usecase.go
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ func (r *routerUseCaseImpl) OverwriteRoutes(ctx context.Context, tokeinInDenom s
func (r *routerUseCaseImpl) LoadOverwriteRoutes(ctx context.Context) error {
// Read overwrite routes from disk if they exist.
_, err := os.Stat(r.overwriteRoutesPath)
if err != nil && err != os.ErrNotExist {
if err != nil && !os.IsNotExist(err) {
return err
} else if err == nil {
entries, err := os.ReadDir(r.overwriteRoutesPath)
Expand Down
2 changes: 1 addition & 1 deletion sqsdomain/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/cosmos/cosmos-sdk v0.47.5
github.com/json-iterator/go v1.1.12
github.com/osmosis-labs/osmosis/osmomath v0.0.7-0.20240108180923-ddfef98789fd
github.com/osmosis-labs/osmosis/v21 v21.0.1-0.20240108020045-ce7408a2484d
github.com/osmosis-labs/osmosis/v21 v21.0.1-0.20240109044531-fc20549a9a02
github.com/redis/go-redis/v9 v9.4.0
)

Expand Down

0 comments on commit 3ddd04c

Please sign in to comment.