diff --git a/.github/workflows/validate-gentx.yml b/.github/workflows/validate-gentx.yml index ff20ff7c..e3092953 100644 --- a/.github/workflows/validate-gentx.yml +++ b/.github/workflows/validate-gentx.yml @@ -8,6 +8,8 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'ci skip')" steps: + - name: 'Setup jq' + uses: dcarbone/install-jq-action@v2 - uses: actions/checkout@v2 - name: add permission run: chmod +x ./scripts/validate-gentx.sh diff --git a/scripts/validate-gentx.sh b/scripts/validate-gentx.sh index 0c043166..fdbb9cd6 100644 --- a/scripts/validate-gentx.sh +++ b/scripts/validate-gentx.sh @@ -8,9 +8,6 @@ MAXBOND=50000000000000 # 500 Million OSMO GENTX_FILE=$(find ./$CHAIN_ID/gentxs -iname "*.json") LEN_GENTX=$(echo ${#GENTX_FILE}) -# Install JQ -sudo apt install jq -y - # Gentx Start date start="2024-03-03 15:00:00Z" # Compute the seconds since epoch for start date @@ -54,7 +51,7 @@ else rm -rf side git clone https://github.com/sideprotocol/side.git cd side - git checkout v0.7.0-rc0 + git checkout v0.7.0-rc2 make build chmod +x ./build/sided diff --git a/side-testnet-3/README.md b/side-testnet-3/README.md index a3c3d97c..9f44d64e 100644 --- a/side-testnet-3/README.md +++ b/side-testnet-3/README.md @@ -43,8 +43,12 @@ Certainly! Here's a tutorial with the commands: ```sh ~/go/bin/sided init YourName --chain-id side-testnet-3 ``` +3. Download Pregenesis.json + ```sh + curl -s https://raw.githubusercontent.com/sideprotocol/testnet/main/side-testnet-3/pregenesis.json > ~/.side/config/genesis.json + ``` -3. Add your account to the genesis file with an initial balance (e.g., 100000000uside): +4. Add your account to the genesis file with an initial balance (e.g., 100000000uside): ```sh ~/go/bin/sided add-genesis-account YourName 100000000uside ``` diff --git a/side-testnet-3/gentxs/gentx-test.example b/side-testnet-3/gentxs/gentx-test.example new file mode 100644 index 00000000..1a9b517d --- /dev/null +++ b/side-testnet-3/gentxs/gentx-test.example @@ -0,0 +1 @@ +{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"freebird","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"bc1xlzt9jff5glusw22e2zdya4ylj9yajrexumzlu","validator_address":"bcvaloper1xlzt9jff5glusw22e2zdya4ylj9yajrezl3f5n","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"c958aP3oAkBPqo/h+/L0w0FDS2QUf9fVBWJnB4kleZM="},"value":{"denom":"uside","amount":"100000000000000000000"}}],"memo":"54c8c712cd3ae194d454403c09ff49753861459b@192.168.3.184:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A6ERsBUneQ0eKlkO/eADn3iH6+W7m/qFYrmR8p3r6Ros"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["eQc1LtfExG0KPPfbbo1uLlMEj/HJsm6c9FIVywhBSalRACD6VzpagjlUJfzViDAaY16np0c1T/H8EIzs/zRx1A=="]}