-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new genesis.json of ununifi-5-test
- Loading branch information
1 parent
1a062dc
commit 5f8c263
Showing
13 changed files
with
168 additions
and
255 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
launch/ununifi-5-test/gentx-192ddcaea7789f65aa9b1f840ea963d4d0a61d8f.json
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 @@ | ||
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"cauchye-d-test","identity":"cauchye-d-test","website":"https://cauchye.com","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"ununifi10t4gy4pkttfkwhrkqxd5wgv3y5z2ut4gk60q7d","validator_address":"ununifivaloper10t4gy4pkttfkwhrkqxd5wgv3y5z2ut4grx68gz","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"9Af4Aa7bkzUOXfsuJ4aCUUDnRf/0hVqcY4SHBI3RLVA="},"value":{"denom":"uguu","amount":"200000000000"}}],"memo":"192ddcaea7789f65aa9b1f840ea963d4d0a61d8f@d.test.ununifi.cauchye.net:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Am2sIibWmUETEj96bkhcLhXeb6HVQ757AhAt42FCLigl"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["rKlp1cR9Ao5GlYrQqV9nBazGSq9ju1TcGeN1tFLZxgkcTDN1ygnMOU6iTAX6fEscyHT6dqEvSrF8CRhEAvem9w=="]} |
1 change: 1 addition & 0 deletions
1
launch/ununifi-5-test/gentx-46a4580084634cf24cf7ecc589a9f1eb47291074.json
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 @@ | ||
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"cauchye-c-test","identity":"cauchye-c-test","website":"https://cauchye.com","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"ununifi1vrjkze9f2prl3ne8zqz8mu79yqkmp9y32g8xhc","validator_address":"ununifivaloper1vrjkze9f2prl3ne8zqz8mu79yqkmp9y3l5jpph","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"LGbHbsNPbXlPF/GCbuj905LRlFAPjZslBCIlM2Ga43A="},"value":{"denom":"uguu","amount":"200000000000"}}],"memo":"46a4580084634cf24cf7ecc589a9f1eb47291074@c.test.ununifi.cauchye.net:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AxC2eXVxsl/FbTsTfKBk/4lUu4AKZQUZMwJ/saHcAaBa"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["qRzh1ejDUw2t7/iuZYDlYpBvhue1MbrJ+PQ3j+LgteZYopWdCs6kR2OVpA8BNPD97u0ZQIHpGX6ZnoKFEhtQWQ=="]} |
1 change: 0 additions & 1 deletion
1
launch/ununifi-5-test/gentx-6fc4109698025d8ee20c09a78fd6b7fb858c26e2.json
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
launch/ununifi-5-test/gentx-7fc846bfde6ccd378dd736ac9976f63ed2afdd52.json
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
launch/ununifi-5-test/gentx-b13e4681fd890b5ea7f3621cb4b6fe73ee0e5c34.json
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 @@ | ||
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"cauchye-b-test","identity":"cauchye-b-test","website":"https://cauchye.com","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"ununifi1tuzxnku0zquxgh8akq7f9uywp9xgnl5gnass0k","validator_address":"ununifivaloper1tuzxnku0zquxgh8akq7f9uywp9xgnl5gxp9hee","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"ce1pbIJ0oqhLfYNeb4yEfzDk8GV5lcE8L/bfSMhgXyQ="},"value":{"denom":"uguu","amount":"200000000000"}}],"memo":"b13e4681fd890b5ea7f3621cb4b6fe73ee0e5c34@b.test.ununifi.cauchye.net:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A+A3R/eCPugLI2HO/pEpYI8qoR7Nlsq9KjM27blPeyjt"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["IMhm54k/ajDefMkFALfo7qU8mRlQD+9NzuWA1mT5Km1y4E5zRu8qgKU/Asu0OC3MElqaVRcqkzeqI6M8mtR66w=="]} |
1 change: 0 additions & 1 deletion
1
launch/ununifi-5-test/gentx-d823c464320c4cdd1f9ae1d8595e3451cd97d520.json
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
launch/ununifi-5-test/gentx-de321a535a5334268890940fa41429e3a0f9586a.json
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 @@ | ||
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"cauchye-a-test","identity":"cauchye-a-test","website":"https://cauchye.com","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"ununifi1udqv0gf4k90sy95c49ecc7qc9cqgwt7dsfu3xu","validator_address":"ununifivaloper1udqv0gf4k90sy95c49ecc7qc9cqgwt7d94fksn","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"eSw9xbyxWskGMonySIhRLsWp9/iTwcnme9tWVT5yAWc="},"value":{"denom":"uguu","amount":"200000000000"}}],"memo":"de321a535a5334268890940fa41429e3a0f9586a@a.test.ununifi.cauchye.net:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A+rtMo1ylHH1Q/rqRn02enVR6cK9k7GKkcFDwSh4Wap1"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["RU5GqumlNo2Yall2Uc35GHV29GsNKVsWVEw6a7JrCvFK2G76KJQx7GnmRwKo1m5YZGu526CO/0FVOd2Zq6r58A=="]} |
1 change: 0 additions & 1 deletion
1
launch/ununifi-5-test/gentx-e676f54115ea73f893a1cc5ba4c334f5524f57ca.json
This file was deleted.
Oops, something went wrong.
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,53 @@ | ||
#!/bin/bash | ||
|
||
# This script will work on a.test.ununifi.cauchye.com | ||
|
||
date | ||
|
||
# Stop node | ||
cd ~/ununifi | ||
docker-compose down | ||
sudo chown -c -R $USER:docker ~/.ununifi | ||
|
||
# Delete or Edit old geneesis.json | ||
# rm ~/.ununifi/config.genesis.json | ||
# or edit something | ||
|
||
# pull new image | ||
docker pull ghcr.io/ununifi/ununifid:latest | ||
|
||
# Note: Only first time on the node | ||
# Execute initialization | ||
# docker run -it -v ~/.ununifi:/root/.ununifi ghcr.io/ununifi/ununifid ununifid init cauchye-c-test --chain-id ununifi-5-test | ||
# sudo chown -c -R $USER:docker ~/.ununifi | ||
|
||
# Show node info and record them | ||
# docker run -it -v ~/.ununifi:/root/.ununifi ghcr.io/ununifi/ununifid ununifid tendermint show-node-id | ||
# docker run -it -v ~/.ununifi:/root/.ununifi ghcr.io/ununifi/ununifid ununifid tendermint show-validator | ||
# sudo chown -c -R $USER:docker ~/.ununifi | ||
|
||
# a.test.ununifi.cauchye.net | ||
docker run -it -v ~/.ununifi:/root/.ununifi ghcr.io/ununifi/ununifid ununifid gentx private-test-cauchye-a-test 200000000000uguu --chain-id="ununifi-5-test" --from="private-test-cauchye-a-test" --ip="a.test.ununifi.cauchye.net" --moniker="cauchye-a-test" --identity="cauchye-a-test" --website="https://cauchye.com" --node-id="de321a535a5334268890940fa41429e3a0f9586a" --pubkey="ununifivalconspub1zcjduepq0ykrm3duk9dvjp3j38ey3zz39mz6nalcj0qunenmmdt920njq9ns92gept" | ||
sudo chown -c -R $USER:docker ~/.ununifi | ||
|
||
# b.test.ununifi.cauchye.net | ||
docker run -it -v ~/.ununifi:/root/.ununifi ghcr.io/ununifi/ununifid ununifid gentx private-test-cauchye-b-test 200000000000uguu --chain-id="ununifi-5-test" --from="private-test-cauchye-b-test" --ip="b.test.ununifi.cauchye.net" --moniker="cauchye-b-test" --identity="cauchye-b-test" --website="https://cauchye.com" --node-id="b13e4681fd890b5ea7f3621cb4b6fe73ee0e5c34" --pubkey="ununifivalconspub1zcjduepqw8kkjmyzwj32sjmasd0xlryy0ucwfur90x2uz0p07m053jrqtujqkeflw0" | ||
sudo chown -c -R $USER:docker ~/.ununifi | ||
|
||
# c.test.ununifi.cauchye.net | ||
docker run -it -v ~/.ununifi:/root/.ununifi ghcr.io/ununifi/ununifid ununifid gentx private-test-cauchye-c-test 200000000000uguu --chain-id="ununifi-5-test" --from="private-test-cauchye-c-test" --ip="c.test.ununifi.cauchye.net" --moniker="cauchye-c-test" --identity="cauchye-c-test" --website="https://cauchye.com" --node-id="46a4580084634cf24cf7ecc589a9f1eb47291074" --pubkey="ununifivalconspub1zcjduepq93nvwmkrfakhjnch7xpxa68a6wfdr9zsp7xekfgyygjnxcv6udcqcpmrlk" | ||
sudo chown -c -R $USER:docker ~/.ununifi | ||
|
||
# d.test.ununifi.cauchye.net | ||
docker run -it -v ~/.ununifi:/root/.ununifi ghcr.io/ununifi/ununifid ununifid gentx private-test-cauchye-d-test 200000000000uguu --chain-id="ununifi-5-test" --from="private-test-cauchye-d-test" --ip="d.test.ununifi.cauchye.net" --moniker="cauchye-d-test" --identity="cauchye-d-test" --website="https://cauchye.com" --node-id="192ddcaea7789f65aa9b1f840ea963d4d0a61d8f" --pubkey="ununifivalconspub1zcjduepq7srlsqdwmwfn2rjalvhz0p5z29qww30l7jz448rrsjrsfrw394gq6ykyyu" | ||
sudo chown -c -R $USER:docker ~/.ununifi | ||
|
||
# collect-gentxs | ||
docker run -it -v ~/.ununifi:/root/.ununifi ghcr.io/ununifi/ununifid ununifid collect-gentxs | ||
sudo chown -c -R $USER:docker ~/.ununifi | ||
|
||
# unsafe-reset-all | ||
docker run -it -v ~/.ununifi:/root/.ununifi ghcr.io/ununifi/ununifid ununifid unsafe-reset-all | ||
sudo chown -c -R $USER:docker ~/.ununifi | ||
|
||
date |
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
#!/bin/bash | ||
|
||
date | ||
|
||
docker-compose down | ||
|
||
docker pull ghcr.io/ununifi/ununifid:latest | ||
|
||
rm ~/.ununifi/config/genesis.json | ||
curl -L https://raw.githubusercontent.com/UnUniFi/chain/main/launch/ununifi-5-test/genesis.json -o ~/.ununifi/config/genesis.json | ||
|
||
cd ~/ununifi | ||
curl -O https://raw.githubusercontent.com/UnUniFi/chain/main/docker-compose.yml | ||
|
||
docker-compose up -d | ||
|
||
date |