Skip to content

Commit

Permalink
updating lavavisor
Browse files Browse the repository at this point in the history
  • Loading branch information
ranlavanet committed Aug 23, 2023
1 parent d66f8ba commit e12156c
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 26 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Build
run: |
make build
make build-all
- name: Test build
continue-on-error: true
Expand Down Expand Up @@ -70,6 +70,22 @@ jobs:
-H "Content-Type: $(file -b --mime-type build/lavad)" \
--data-binary @build/lavad \
$(echo '${{ github.event.release.upload_url }}' | sed 's/{?name,label}/?name=lavad-${{ github.event.release.tag_name }}-linux-amd64/g')
curl \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: $(file -b --mime-type build/lava-protocol)" \
--data-binary @build/lava-protocol \
$(echo '${{ github.event.release.upload_url }}' | sed 's/{?name,label}/?name=lava-protocol-${{ github.event.release.tag_name }}-linux-amd64/g')
curl \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: $(file -b --mime-type build/lava-visor)" \
--data-binary @build/lava-visor \
$(echo '${{ github.event.release.upload_url }}' | sed 's/{?name,label}/?name=lava-visor-${{ github.event.release.tag_name }}-linux-amd64/g')
}
delete_binary(){
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ ifeq (,$(findstring nostrip,$(LAVA_BUILD_OPTIONS)))
BUILD_FLAGS += -trimpath
endif

LAVA_ALL_BINARIES := lavad lava-protocol lavavisor
LAVA_ALL_BINARIES := lavad lava-protocol lava-visor

# helper target/build functions

Expand Down
6 changes: 1 addition & 5 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,7 @@ const (
)

// Upgrades add here future upgrades (upgrades.Upgrade)
var Upgrades = []upgrades.Upgrade{
upgrades.Upgrade_0_20_1,
upgrades.Upgrade_0_20_2,
upgrades.Upgrade_0_20_3,
}
var Upgrades = []upgrades.Upgrade{}

// this line is used by starport scaffolding # stargate/wasm/app/enabledProposals

Expand Down
19 changes: 0 additions & 19 deletions app/upgrades/empty_upgrades.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package upgrades

import (
store "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
Expand Down Expand Up @@ -33,21 +32,3 @@ func defaultUpgradeHandler(
// },
// },
// }

var Upgrade_0_20_1 = Upgrade{
UpgradeName: "v0.20.1",
CreateUpgradeHandler: defaultUpgradeHandler,
StoreUpgrades: store.StoreUpgrades{},
}

var Upgrade_0_20_2 = Upgrade{
UpgradeName: "v0.20.2",
CreateUpgradeHandler: defaultUpgradeHandler,
StoreUpgrades: store.StoreUpgrades{},
}

var Upgrade_0_20_3 = Upgrade{
UpgradeName: "v0.20.3",
CreateUpgradeHandler: defaultUpgradeHandler,
StoreUpgrades: store.StoreUpgrades{},
}
File renamed without changes.
File renamed without changes.

0 comments on commit e12156c

Please sign in to comment.