-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: added upgrade test with cosmovisor
- Loading branch information
1 parent
33e4987
commit 78cd939
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,30 @@ RUN wget -qO- https://github.com/KYVENetwork/chain/releases/download/v1.0.0/kyve | |
&& ~/bins/kyved-v1.0.0 init ksync --chain-id kyve-1 \ | ||
&& wget https://raw.githubusercontent.com/KYVENetwork/networks/main/kyve-1/genesis.json -O ~/.kyve/config/genesis.json | ||
|
||
# install cosmovisor with all kyve versions for upgrade testing | ||
RUN go install cosmossdk.io/tools/cosmovisor/cmd/[email protected] | ||
|
||
ENV DAEMON_HOME=/root/.kyve | ||
ENV DAEMON_NAME=kyved | ||
|
||
RUN cosmovisor init ~/bins/kyved-v1.0.0 | ||
|
||
RUN wget -qO- https://github.com/KYVENetwork/chain/releases/download/v1.1.3/kyved_mainnet_linux_amd64.tar.gz | tar -xzv \ | ||
&& cosmovisor add-upgrade v1.1.0 kyved | ||
|
||
RUN wget -qO- https://github.com/KYVENetwork/chain/releases/download/v1.2.2/kyved_mainnet_linux_amd64.tar.gz | tar -xzv \ | ||
&& cosmovisor add-upgrade v1.2.0 kyved | ||
|
||
RUN wget -qO- https://github.com/KYVENetwork/chain/releases/download/v1.3.2/kyved_mainnet_linux_amd64.tar.gz | tar -xzv \ | ||
&& cosmovisor add-upgrade v1.3.0 kyved | ||
|
||
RUN wget -qO- https://github.com/KYVENetwork/chain/releases/download/v1.4.0/kyved_mainnet_linux_amd64.tar.gz | tar -xzv \ | ||
&& cosmovisor add-upgrade v1.4.0 kyved | ||
|
||
RUN wget https://github.com/KYVENetwork/chain/releases/download/v1.5.0/kyved_mainnet_linux_amd64 -O kyved \ | ||
&& chmod +x kyved \ | ||
&& cosmovisor add-upgrade v1.5.0 kyved | ||
|
||
# install dydxprotocold | ||
RUN wget -qO- https://github.com/dydxprotocol/v4-chain/releases/download/protocol%2Fv2.0.1/dydxprotocold-v2.0.1-linux-amd64.tar.gz | tar -xzv \ | ||
&& mv build/dydxprotocold-v2.0.1-linux-amd64 ~/bins/dydxprotocold-v2.0.1 \ | ||
|
@@ -55,3 +79,10 @@ RUN git clone --depth 1 --branch v0.1.1-beta-patch https://github.com/andromedap | |
&& cd .. \ | ||
&& rm -r andromedad \ | ||
&& sed -i -r 's/minimum-gas-prices = ""/minimum-gas-prices = "0uandr"/' ~/.andromeda/config/app.toml | ||
|
||
# install nobled | ||
RUN wget https://github.com/noble-assets/noble/releases/download/v8.0.3/nobled_linux-amd64 \ | ||
&& chmod +x nobled_linux-amd64 \ | ||
&& mv nobled_linux-amd64 ~/bins/nobled-v8.0.3 \ | ||
&& ~/bins/nobled-v8.0.3 init ksync --chain-id noble-1 \ | ||
&& wget https://raw.githubusercontent.com/strangelove-ventures/noble-networks/main/mainnet/noble-1/genesis.json -O ~/.noble/config/genesis.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters