Skip to content

Commit

Permalink
Fix genesis export command (sei-protocol#1653)
Browse files Browse the repository at this point in the history
* Fix genesis export command

* Bump cosmos and seidb version

* Fix go mod dependency issue
  • Loading branch information
yzang2019 authored May 16, 2024
1 parent 915e44c commit 23bab21
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1651,7 +1651,7 @@ func (app *App) getFinalizeBlockResponse(appHash []byte, events []abci.Event, tx

// LoadHeight loads a particular height
func (app *App) LoadHeight(height int64) error {
return app.LoadVersion(height)
return app.LoadVersionWithoutInit(height)
}

// ModuleAccountAddrs returns all the app's module account addresses.
Expand Down
6 changes: 3 additions & 3 deletions docker/rpcnode/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM ubuntu:latest
RUN apt-get update && \
apt-get install -y make git wget build-essential jq python3 curl vim
RUN wget https://go.dev/dl/go1.20.6.linux-amd64.tar.gz
RUN tar -xvf go1.20.6.linux-amd64.tar.gz
apt-get install -y make git wget build-essential jq python3 curl vim uuid-runtime
RUN wget https://go.dev/dl/go1.21.4.linux-amd64.tar.gz
RUN tar -xvf go1.21.4.linux-amd64.tar.gz
RUN mv go /usr/local/
SHELL ["/bin/bash", "-c"]

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,12 @@ require (
replace (
github.com/CosmWasm/wasmd => github.com/sei-protocol/sei-wasmd v0.1.3
github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0
github.com/cosmos/cosmos-sdk => github.com/sei-protocol/sei-cosmos v0.3.13
github.com/cosmos/cosmos-sdk => github.com/sei-protocol/sei-cosmos v0.3.16
github.com/cosmos/iavl => github.com/sei-protocol/sei-iavl v0.1.9
github.com/cosmos/ibc-go/v3 => github.com/sei-protocol/sei-ibc-go/v3 v3.3.0
github.com/ethereum/go-ethereum => github.com/sei-protocol/go-ethereum v1.13.5-sei-17
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
github.com/sei-protocol/sei-db => github.com/sei-protocol/sei-db v0.0.36
github.com/sei-protocol/sei-db => github.com/sei-protocol/sei-db v0.0.38
// Latest goleveldb is broken, we have to stick to this version
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
github.com/tendermint/tendermint => github.com/sei-protocol/sei-tendermint v0.3.3
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1347,10 +1347,10 @@ github.com/sei-protocol/go-ethereum v1.13.5-sei-17 h1:NQcNuL/nmLCzVJFj6Za4ZrNj1O
github.com/sei-protocol/go-ethereum v1.13.5-sei-17/go.mod h1:kcRZmuzRn1lVejiFNTz4l4W7imnpq1bDAnuKS/RyhbQ=
github.com/sei-protocol/goutils v0.0.2 h1:Bfa7Sv+4CVLNM20QcpvGb81B8C5HkQC/kW1CQpIbXDA=
github.com/sei-protocol/goutils v0.0.2/go.mod h1:iYE2DuJfEnM+APPehr2gOUXfuLuPsVxorcDO+Tzq9q8=
github.com/sei-protocol/sei-cosmos v0.3.13 h1:YNlvDYMJZUJjI9nyIeHqxw9TULGulvbClhMJH/gh2oU=
github.com/sei-protocol/sei-cosmos v0.3.13/go.mod h1:WWwx6XlJc9SrjdRwLW69o511hFpfUiHapYb+V9OqOG4=
github.com/sei-protocol/sei-db v0.0.36 h1:Qg8MlO/4btECyAB/XrbEexhpaS7OmYsrs9IUYULf+bY=
github.com/sei-protocol/sei-db v0.0.36/go.mod h1:F/ZKZA8HJPcUzSZPA8yt6pfwlGriJ4RDR4eHKSGLStI=
github.com/sei-protocol/sei-cosmos v0.3.16 h1:NVTpiSVExPeETJSLbARB5g3xkOG++/bgSvVtxUZHDNo=
github.com/sei-protocol/sei-cosmos v0.3.16/go.mod h1:xZYuJxxS6zdhNq+pKQPiaAjSZGU5EXe9bjrCdMBXxUQ=
github.com/sei-protocol/sei-db v0.0.38 h1:GiQl3qBd6XgGsHkJd4I8GnOmGjGoWQg3SJAS82TTNao=
github.com/sei-protocol/sei-db v0.0.38/go.mod h1:F/ZKZA8HJPcUzSZPA8yt6pfwlGriJ4RDR4eHKSGLStI=
github.com/sei-protocol/sei-iavl v0.1.9 h1:y4mVYftxLNRs6533zl7N0/Ch+CzRQc04JDfHolIxgBE=
github.com/sei-protocol/sei-iavl v0.1.9/go.mod h1:7PfkEVT5dcoQE+s/9KWdoXJ8VVVP1QpYYPLdxlkSXFk=
github.com/sei-protocol/sei-ibc-go/v3 v3.3.0 h1:/mjpTuCSEVDJ51nUDSHU92N0bRSwt49r1rmdC/lqgp8=
Expand Down
2 changes: 1 addition & 1 deletion integration_test/chain_operation/snapshot_operation.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Test validators should be able to create snapshot with custom location
inputs:
# Check if snapshotd are created
# Check if snapshots are created
- cmd: if [ -d "./build/generated/node_0/snapshots" ]; then echo "true"; else echo "false"; fi
env: FOUND
node: sei-node-0
Expand Down

0 comments on commit 23bab21

Please sign in to comment.