Skip to content

Commit

Permalink
Merge branch 'sideprotocol:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
asverty authored Mar 22, 2024
2 parents ae8d27d + 37746dc commit 968fb5c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/validate-gentx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions scripts/validate-gentx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
6 changes: 5 additions & 1 deletion side-testnet-3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
1 change: 1 addition & 0 deletions side-testnet-3/gentxs/gentx-test.example
Original file line number Diff line number Diff line change
@@ -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":"[email protected]: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=="]}

0 comments on commit 968fb5c

Please sign in to comment.