mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-24 15:25:18 +00:00
fix ci & sort denoms in internal testnet genesis coins (#1580)
* fix internal genesis validation ci * sort coins in internal testnet genesis
This commit is contained in:
parent
ea3f2511d4
commit
250801dd77
56
.github/workflows/ci-default.yml
vendored
56
.github/workflows/ci-default.yml
vendored
@ -36,34 +36,34 @@ jobs:
|
|||||||
validate-internal-testnet-genesis:
|
validate-internal-testnet-genesis:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout repo from current commit
|
- name: checkout repo from current commit
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
- name: save version of kava that will be deployed if this pr is merged
|
||||||
submodules: true
|
id: kava-version
|
||||||
- name: save version of kava that will be deployed if this pr is merged
|
run: |
|
||||||
id: kava-version
|
echo "KAVA_VERSION=$(cat ./ci/env/kava-internal-testnet/KAVA.VERSION)" >> $GITHUB_OUTPUT
|
||||||
run: |
|
- name: checkout repo from master
|
||||||
echo "KAVA_VERSION=$(cat ./ci/env/kava-internal-testnet/KAVA.VERSION)" >> $GITHUB_OUTPUT
|
uses: actions/checkout@v3
|
||||||
- name: checkout repo from master
|
with:
|
||||||
uses: actions/checkout@v3
|
ref: master
|
||||||
with:
|
- name: checkout version of kava that will be deployed if this pr is merged
|
||||||
ref: master
|
run: |
|
||||||
- name: checkout version of kava that will be deployed if this pr is merged
|
git pull -p
|
||||||
run: |
|
git checkout $KAVA_VERSION
|
||||||
git pull -p
|
env:
|
||||||
git checkout $KAVA_VERSION
|
KAVA_VERSION: ${{ steps.kava-version.outputs.KAVA_VERSION }}
|
||||||
env:
|
- name: Set up Go
|
||||||
KAVA_VERSION: ${{ steps.kava-version.outputs.KAVA_VERSION }}
|
uses: actions/setup-go@v3
|
||||||
- name: Set up Go
|
with:
|
||||||
uses: actions/setup-go@v3
|
go-version: "1.19"
|
||||||
with:
|
check-latest: true
|
||||||
go-version: "1.19"
|
cache: true
|
||||||
check-latest: true
|
- name: build kava cli
|
||||||
cache: true
|
run: make install
|
||||||
- name: build kava cli
|
- name: checkout repo from current commit to validate current branch's genesis
|
||||||
run: make install
|
uses: actions/checkout@v3
|
||||||
- name: validate testnet genesis
|
- name: validate testnet genesis
|
||||||
run: kava validate-genesis ci/env/kava-internal-testnet/genesis.json
|
run: kava validate-genesis ci/env/kava-internal-testnet/genesis.json
|
||||||
validate-protonet-genesis:
|
validate-protonet-genesis:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
8
ci/env/kava-internal-testnet/genesis.json
vendored
8
ci/env/kava-internal-testnet/genesis.json
vendored
@ -299,10 +299,6 @@
|
|||||||
"denom": "erc20/axelar/usdc",
|
"denom": "erc20/axelar/usdc",
|
||||||
"amount": "10000000000"
|
"amount": "10000000000"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"denom": "erc20/multichain/wbtc",
|
|
||||||
"amount": "1000000000"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"denom": "erc20/multichain/usdc",
|
"denom": "erc20/multichain/usdc",
|
||||||
"amount": "1000000000000000000"
|
"amount": "1000000000000000000"
|
||||||
@ -311,6 +307,10 @@
|
|||||||
"denom": "erc20/multichain/usdt",
|
"denom": "erc20/multichain/usdt",
|
||||||
"amount": "10000000000"
|
"amount": "10000000000"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"denom": "erc20/multichain/wbtc",
|
||||||
|
"amount": "1000000000"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"denom": "hard",
|
"denom": "hard",
|
||||||
"amount": "1000000000"
|
"amount": "1000000000"
|
||||||
|
Loading…
Reference in New Issue
Block a user