Skip to content

Commit

Permalink
chore: update to cosmos v0.47.10 (#1336)
Browse files Browse the repository at this point in the history
* update to cosmos v0.47.10

* fixing sdk

* fix sdk

* fixing lava-js for cosmos 47.10

* fix gopath for lavajs

* increase lavajs version

* migrate spec to use uint for multiplier

* remove registrations

* fix lint

* fix print

---------

Co-authored-by: Yarom Swisa <yarom@lavanet.xyz git config --global user.name Yarom>
Co-authored-by: Ran Mishael <ran@lavanet.xyz>
Co-authored-by: Ran Mishael <106548467+ranlavanet@users.noreply.github.com>
  • Loading branch information
4 people committed Apr 3, 2024
1 parent c665e6a commit cfb9063
Show file tree
Hide file tree
Showing 18 changed files with 6,177 additions and 642 deletions.
1 change: 1 addition & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ var Upgrades = []upgrades.Upgrade{
upgrades.Upgrade_0_35_0,
upgrades.Upgrade_1_0_0,
upgrades.Upgrade_1_0_1,
upgrades.Upgrade_1_1_0,
}

// this line is used by starport scaffolding # stargate/wasm/app/enabledProposals
Expand Down
6 changes: 6 additions & 0 deletions app/upgrades/empty_upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,9 @@ var Upgrade_1_0_1 = Upgrade{
CreateUpgradeHandler: defaultUpgradeHandler,
StoreUpgrades: store.StoreUpgrades{},
}

var Upgrade_1_1_0 = Upgrade{
UpgradeName: "v1.1.0",
CreateUpgradeHandler: defaultUpgradeHandler,
StoreUpgrades: store.StoreUpgrades{},
}
8 changes: 4 additions & 4 deletions ecosystem/lava-sdk/scripts/prepare_protobufs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ function prepare() {
file_path="../../go.mod"
expected_lines=(
"github.com/gogo/googleapis v1.4.1 // indirect"
"github.com/cosmos/cosmos-sdk v0.47.3"
"github.com/cosmos/cosmos-sdk v0.47.10"
"github.com/cosmos/gogoproto v1.4.10"
"github.com/cosmos/cosmos-proto v1.0.0-beta.2"
"github.com/cosmos/cosmos-proto v1.0.0-beta.4"
)

missing_lines=()
Expand Down Expand Up @@ -48,7 +48,7 @@ function prepare() {
exit 1
fi

specific_dir="$GOPATH/pkg/mod/github.com/lavanet/cosmos-sdk@v0.47.7-0.20231211141641-2a9ea55b724d"
specific_dir="$GOPATH/pkg/mod/github.com/lavanet/cosmos-sdk@v0.47.10-lava-cosmos"

if [[ ! -d "$specific_dir" ]]; then
echo "Error: The cosmos-sdk directory ('$specific_dir') does not exist under '$GOPATH/pkg/mod'." >&2
Expand All @@ -72,7 +72,7 @@ function prepare() {
exit 1
fi

cosmosprotosdir="$GOPATH/pkg/mod/github.com/cosmos/cosmos-proto@v1.0.0-beta.2"
cosmosprotosdir="$GOPATH/pkg/mod/github.com/cosmos/cosmos-proto@v1.0.0-beta.4"

if [[ ! -d "$cosmosprotosdir" ]]; then
echo "Error: The cosmosprotosdir directory ('$cosmosprotosdir') does not exist under '$GOPATH/pkg/mod'." >&2
Expand Down
Loading

0 comments on commit cfb9063

Please sign in to comment.