-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/release/v4.0.x' into ibc-hooks
- Loading branch information
Showing
6 changed files
with
82 additions
and
6 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# @Sen-Com is the repository administrator who ensures compliance with the White Whale Repository Guideline. | ||
# The remaining code owners help maintain the repository. | ||
* @PolkachuIntern @faddat @Sen-Com @kerber0x @0xFable @vuong177 @pysel @hieuvubk | ||
* @PolkachuIntern @faddat @Sen-Com @kerber0x @0xFable @vuong177 @hieuvubk |
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
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
on: | ||
release: | ||
types: [created] | ||
|
||
permissions: | ||
contents: write | ||
packages: write | ||
|
||
jobs: | ||
releases-matrix: | ||
name: Release Go Binary | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
- name: build | ||
run: make build | ||
- name: sha512sum | ||
run: sha512sum build/migalood > migalood_sha512.txt | ||
- name: 'Upload Binary' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: migalood | ||
path: build/migalood | ||
- name: 'Upload SHA512' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: sha512 | ||
path: migalood_sha512.txt | ||
- name: Upload release binaries | ||
uses: alexellis/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
asset_paths: '["./bin/migalood", "./migalood_sha512.txt"]' | ||
|
||
|
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
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
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/bin/bash | ||
|
||
KEY="mykey" | ||
CHAINID="test-1" | ||
MONIKER="localtestnet" | ||
KEYALGO="secp256k1" | ||
KEYRING="test" | ||
LOGLEVEL="info" | ||
# to trace evm | ||
#TRACE="--trace" | ||
TRACE="" | ||
|
||
# remove existing daemon | ||
rm -rf ~/.migaloo* | ||
|
||
migalood config keyring-backend $KEYRING | ||
migalood config chain-id $CHAINID | ||
|
||
# if $KEY exists it should be deleted | ||
echo "decorate bright ozone fork gallery riot bus exhaust worth way bone indoor calm squirrel merry zero scheme cotton until shop any excess stage laundry" | migalood keys add $KEY --keyring-backend $KEYRING --algo $KEYALGO --recover | ||
|
||
migalood init $MONIKER --chain-id $CHAINID | ||
|
||
# Allocate genesis accounts (cosmos formatted addresses) | ||
migalood add-genesis-account $KEY 100000000000000000000000000stake --keyring-backend $KEYRING | ||
|
||
# Sign genesis transaction | ||
migalood gentx $KEY 1000000000000000000000stake --keyring-backend $KEYRING --chain-id $CHAINID | ||
|
||
# Collect genesis tx | ||
migalood collect-gentxs | ||
|
||
# Run this to ensure everything worked and that the genesis file is setup correctly | ||
migalood validate-genesis | ||
|
||
if [[ $1 == "pending" ]]; then | ||
echo "pending mode is on, please wait for the first block committed." | ||
fi | ||
|
||
# Start the node (remove the --pruning=nothing flag if historical queries are not needed) | ||
migalood start --pruning=nothing --minimum-gas-prices=0.0001stake --rpc.laddr tcp://0.0.0.0:26657 |