Skip to content

Commit

Permalink
chore: remove vanilla upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Aug 19, 2024
1 parent 85c23fe commit 93fc9d8
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 326 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,47 +213,6 @@ jobs:
run: |
make test-e2e-cache-btc-staking
e2e-run-upgrade-vanilla:
needs: [e2e-docker-build-babylon, e2e-docker-build-babylon-before-upgrade, e2e-docker-build-e2e-init-chain]
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Download babylon artifact
uses: actions/download-artifact@v4
with:
name: babylond-${{ github.sha }}
path: /tmp
- name: Download babylond-before-upgrade artifact
uses: actions/download-artifact@v4
with:
name: babylond-before-upgrade
path: /tmp
- name: Download init-chain artifact
uses: actions/download-artifact@v4
with:
name: init-chain
path: /tmp
- name: Docker load babylond
run: |
docker load < /tmp/docker-babylond.tar.gz
- name: Docker load babylond-before-upgrade
run: |
docker load < /tmp/docker-babylond-before-upgrade.tar.gz
- name: Docker load init chain
run: |
docker load < /tmp/docker-init-chain.tar.gz
- name: Cache Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Run e2e TestSoftwareUpgradeTestSuite
run: |
sudo make test-e2e-cache-upgrade-vanilla
e2e-run-upgrade-signet:
needs: [e2e-docker-build-babylon, e2e-docker-build-babylon-before-upgrade, e2e-docker-build-e2e-init-chain]
runs-on: ubuntu-22.04
Expand Down
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,6 @@ test-e2e-cache-btc-timestamping-phase-2-rly:
test-e2e-cache-btc-staking:
go test -run TestBTCStakingTestSuite -mod=readonly -timeout=60m -v $(PACKAGES_E2E) --tags=e2e

test-e2e-cache-upgrade-vanilla:
go test -run TestSoftwareUpgradeTestSuite -mod=readonly -timeout=60m -v $(PACKAGES_E2E) --tags=e2e

test-e2e-cache-upgrade-signet:
go test -run TestSoftwareUpgradeSignetLaunchTestSuite -mod=readonly -timeout=60m -v $(PACKAGES_E2E) --tags=e2e

Expand Down
3 changes: 1 addition & 2 deletions app/e2e_include_upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ package app

import (
"github.com/babylonlabs-io/babylon/app/upgrades/signetlaunch"
"github.com/babylonlabs-io/babylon/app/upgrades/vanilla"
)

func init() {
Upgrades = append(Upgrades, vanilla.Upgrade, signetlaunch.Upgrade)
Upgrades = append(Upgrades, signetlaunch.Upgrade)
}
4 changes: 0 additions & 4 deletions app/upgrades/vanilla/README.md

This file was deleted.

97 changes: 0 additions & 97 deletions app/upgrades/vanilla/upgrades.go

This file was deleted.

105 changes: 0 additions & 105 deletions app/upgrades/vanilla/upgrades_test.go

This file was deleted.

2 changes: 1 addition & 1 deletion contrib/images/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
RELAYER_TAG := $(shell grep '^ENV RELAYER_TAG' cosmos-relayer/Dockerfile | cut -f3 -d\ )
BABYLON_FULL_PATH := $(shell git rev-parse --show-toplevel)
BABYLON_VERSION_BEFORE_UPGRADE ?= v0.9.0
BABYLON_VERSION_BEFORE_UPGRADE ?= v0.9.1

all: babylond cosmos-relayer

Expand Down
1 change: 0 additions & 1 deletion test/e2e/configurer/config/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ const (
// PropSubmitBlocks estimated number of blocks it takes to submit for a proposal
PropSubmitBlocks float32 = 1
// Upgrade prop files json
UpgradeVanillaFilePath = "/upgrades/vanilla.json"
UpgradeSignetLaunchFilePath = "/upgrades/signet-launch.json"
)
5 changes: 0 additions & 5 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ func TestBTCStakingTestSuite(t *testing.T) {
suite.Run(t, new(BTCStakingTestSuite))
}

// TestSoftwareUpgradeTestSuite tests software upgrade protocol end-to-end
func TestSoftwareUpgradeTestSuite(t *testing.T) {
suite.Run(t, new(SoftwareUpgradeVanillaTestSuite))
}

// TestSoftwareUpgradeSignetLaunchTestSuite tests software upgrade of signet launch end-to-end
func TestSoftwareUpgradeSignetLaunchTestSuite(t *testing.T) {
suite.Run(t, new(SoftwareUpgradeSignetLaunchTestSuite))
Expand Down
53 changes: 0 additions & 53 deletions test/e2e/software_upgrade_e2e_vanilla_test.go

This file was deleted.

14 changes: 0 additions & 14 deletions test/e2e/upgrades/vanilla.json

This file was deleted.

0 comments on commit 93fc9d8

Please sign in to comment.