mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-11-03 23:57:26 +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:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
        - name: checkout repo from current commit
 | 
			
		||||
          uses: actions/checkout@v3
 | 
			
		||||
          with:
 | 
			
		||||
            submodules: true
 | 
			
		||||
        - name: save version of kava that will be deployed if this pr is merged
 | 
			
		||||
          id: kava-version
 | 
			
		||||
          run: |
 | 
			
		||||
            echo "KAVA_VERSION=$(cat ./ci/env/kava-internal-testnet/KAVA.VERSION)" >> $GITHUB_OUTPUT
 | 
			
		||||
        - name: checkout repo from master
 | 
			
		||||
          uses: actions/checkout@v3
 | 
			
		||||
          with:
 | 
			
		||||
              ref: master
 | 
			
		||||
        - name: checkout version of kava that will be deployed if this pr is merged
 | 
			
		||||
          run: |
 | 
			
		||||
                git pull -p
 | 
			
		||||
                git checkout $KAVA_VERSION
 | 
			
		||||
          env:
 | 
			
		||||
                KAVA_VERSION: ${{ steps.kava-version.outputs.KAVA_VERSION }}
 | 
			
		||||
        - name: Set up Go
 | 
			
		||||
          uses: actions/setup-go@v3
 | 
			
		||||
          with:
 | 
			
		||||
            go-version: "1.19"
 | 
			
		||||
            check-latest: true
 | 
			
		||||
            cache: true
 | 
			
		||||
        - name: build kava cli
 | 
			
		||||
          run: make install
 | 
			
		||||
        - name: validate testnet genesis
 | 
			
		||||
          run: kava validate-genesis ci/env/kava-internal-testnet/genesis.json
 | 
			
		||||
      - name: checkout repo from current commit
 | 
			
		||||
        uses: actions/checkout@v3
 | 
			
		||||
      - name: save version of kava that will be deployed if this pr is merged
 | 
			
		||||
        id: kava-version
 | 
			
		||||
        run: |
 | 
			
		||||
          echo "KAVA_VERSION=$(cat ./ci/env/kava-internal-testnet/KAVA.VERSION)" >> $GITHUB_OUTPUT
 | 
			
		||||
      - name: checkout repo from master
 | 
			
		||||
        uses: actions/checkout@v3
 | 
			
		||||
        with:
 | 
			
		||||
          ref: master
 | 
			
		||||
      - name: checkout version of kava that will be deployed if this pr is merged
 | 
			
		||||
        run: |
 | 
			
		||||
          git pull -p
 | 
			
		||||
          git checkout $KAVA_VERSION
 | 
			
		||||
        env:
 | 
			
		||||
          KAVA_VERSION: ${{ steps.kava-version.outputs.KAVA_VERSION }}
 | 
			
		||||
      - name: Set up Go
 | 
			
		||||
        uses: actions/setup-go@v3
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: "1.19"
 | 
			
		||||
          check-latest: true
 | 
			
		||||
          cache: true
 | 
			
		||||
      - name: build kava cli
 | 
			
		||||
        run: make install
 | 
			
		||||
      - name: checkout repo from current commit to validate current branch's genesis
 | 
			
		||||
        uses: actions/checkout@v3
 | 
			
		||||
      - name: validate testnet genesis
 | 
			
		||||
        run: kava validate-genesis ci/env/kava-internal-testnet/genesis.json
 | 
			
		||||
  validate-protonet-genesis:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    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",
 | 
			
		||||
              "amount": "10000000000"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
              "denom": "erc20/multichain/wbtc",
 | 
			
		||||
              "amount": "1000000000"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
              "denom": "erc20/multichain/usdc",
 | 
			
		||||
              "amount": "1000000000000000000"
 | 
			
		||||
@ -311,6 +307,10 @@
 | 
			
		||||
              "denom": "erc20/multichain/usdt",
 | 
			
		||||
              "amount": "10000000000"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
              "denom": "erc20/multichain/wbtc",
 | 
			
		||||
              "amount": "1000000000"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
              "denom": "hard",
 | 
			
		||||
              "amount": "1000000000"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user