mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
Use new validator address for simapp44 and 46
This commit is contained in:
parent
aeb7254274
commit
43c4358e1e
@ -23,12 +23,14 @@ echo "Setting up validator ..."
|
|||||||
if ! simd keys show validator 2>/dev/null; then
|
if ! simd keys show validator 2>/dev/null; then
|
||||||
echo "Validator does not yet exist. Creating it ..."
|
echo "Validator does not yet exist. Creating it ..."
|
||||||
(
|
(
|
||||||
|
# Constant key to get the same validator operator address (cosmosvaloper1...) every time
|
||||||
|
echo "gather series sample skin gate mask gossip between equip knife total stereo"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
) | simd keys add validator
|
) | simd keys add myvalidator --recover
|
||||||
fi
|
fi
|
||||||
# hardcode the validator account for this instance
|
# hardcode the validator account for this instance
|
||||||
echo "$PASSWORD" | simd add-genesis-account validator "$START_BALANCE"
|
echo "$PASSWORD" | simd add-genesis-account myvalidator "$START_BALANCE"
|
||||||
|
|
||||||
echo "Setting up accounts ..."
|
echo "Setting up accounts ..."
|
||||||
# (optionally) add a few more genesis accounts
|
# (optionally) add a few more genesis accounts
|
||||||
@ -43,5 +45,5 @@ SELF_DELEGATION="3000000$STAKE" # 3 STAKE (leads to a voting power of 3)
|
|||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
) | simd gentx validator "$SELF_DELEGATION" --offline --chain-id "$CHAIN_ID" --moniker="$MONIKER"
|
) | simd gentx myvalidator "$SELF_DELEGATION" --offline --chain-id "$CHAIN_ID" --moniker="$MONIKER"
|
||||||
simd collect-gentxs
|
simd collect-gentxs
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1Njo1Ny45MjYzNzk4ODIgKzAwMDAgVVRDIG09KzAuNTkyMzI0NTQzIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiTDFlYmQwa3ctVUZYN0NibSJ9.hIuLIr8AdbU8xnyNgHZ5MsG6srKoKZz9VJtVN2fc8y7vF77aArSpSw.Ak-8Jsy32o2ORSvZ.aQhvsd6kiOs_qvaLGS5sZAdg2k3UXwWKkZYqfLdGXT62m0f5hkOtzfaRGcVNDbQLawLig3PQlhZumPC776uUYN-OrlRQu1pcpforJRgWdtL8f2wj_paSMaxBWpOQ-qDHnumTLgIGbweDHg_eWVBNt4BOC6DNebA4snWJz1tlTr_2X54E8wpPd-p4oLwKGIrBKQnzVoGW-SfoXmrPeEWI9FIy2biqOqdDR9QTCmH5r7ejdng_XfWSnyLNSmC5zQ.fxxKnbD0FBqjjeBMUgHERQ
|
@ -8,7 +8,7 @@
|
|||||||
# The minimum gas prices a validator is willing to accept for processing a
|
# The minimum gas prices a validator is willing to accept for processing a
|
||||||
# transaction. A transaction's fees must meet the minimum of any denomination
|
# transaction. A transaction's fees must meet the minimum of any denomination
|
||||||
# specified in this config (e.g. 0.25token1;0.0001token2).
|
# specified in this config (e.g. 0.25token1;0.0001token2).
|
||||||
minimum-gas-prices = ""
|
minimum-gas-prices = "0stake"
|
||||||
|
|
||||||
# default: the last 100 states are kept in addition to every 500th state; pruning at 10 block intervals
|
# default: the last 100 states are kept in addition to every 500th state; pruning at 10 block intervals
|
||||||
# nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node)
|
# nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node)
|
||||||
@ -124,6 +124,30 @@ rpc-max-body-bytes = 1000000
|
|||||||
# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk).
|
# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk).
|
||||||
enabled-unsafe-cors = true
|
enabled-unsafe-cors = true
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
### Rosetta Configuration ###
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
[rosetta]
|
||||||
|
|
||||||
|
# Enable defines if the Rosetta API server should be enabled.
|
||||||
|
enable = true
|
||||||
|
|
||||||
|
# Address defines the Rosetta API server to listen on.
|
||||||
|
address = ":8080"
|
||||||
|
|
||||||
|
# Network defines the name of the blockchain that will be returned by Rosetta.
|
||||||
|
blockchain = "app"
|
||||||
|
|
||||||
|
# Network defines the name of the network that will be returned by Rosetta.
|
||||||
|
network = "network"
|
||||||
|
|
||||||
|
# Retries defines the number of retries when connecting to the node before failing.
|
||||||
|
retries = 3
|
||||||
|
|
||||||
|
# Offline defines if Rosetta server should run in offline mode.
|
||||||
|
offline = false
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
### gRPC Configuration ###
|
### gRPC Configuration ###
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@ -136,6 +160,22 @@ enable = true
|
|||||||
# Address defines the gRPC server address to bind to.
|
# Address defines the gRPC server address to bind to.
|
||||||
address = "0.0.0.0:9090"
|
address = "0.0.0.0:9090"
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
### gRPC Web Configuration ###
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
[grpc-web]
|
||||||
|
|
||||||
|
# GRPCWebEnable defines if the gRPC-web should be enabled.
|
||||||
|
# NOTE: gRPC must also be enabled, otherwise, this configuration is a no-op.
|
||||||
|
enable = true
|
||||||
|
|
||||||
|
# Address defines the gRPC-web server address to bind to.
|
||||||
|
address = "0.0.0.0:9091"
|
||||||
|
|
||||||
|
# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk).
|
||||||
|
enable-unsafe-cors = false
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
### State Sync Configuration ###
|
### State Sync Configuration ###
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@ -150,3 +190,10 @@ snapshot-interval = 0
|
|||||||
|
|
||||||
# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all).
|
# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all).
|
||||||
snapshot-keep-recent = 2
|
snapshot-keep-recent = 2
|
||||||
|
|
||||||
|
[wasm]
|
||||||
|
# This is the maximum sdk gas (wasm and storage) that we allow for any x/wasm "smart" queries
|
||||||
|
query_gas_limit = 300000
|
||||||
|
# This is the number of wasm vm instances we keep cached in memory for speed-up
|
||||||
|
# Warning: this is currently unstable and may lead to crashes, best to keep for 0 unless testing locally
|
||||||
|
lru_size = 0
|
17
scripts/simapp44/template/.simapp/config/client.toml
Normal file
17
scripts/simapp44/template/.simapp/config/client.toml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# This is a TOML config file.
|
||||||
|
# For more information, see https://github.com/toml-lang/toml
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
### Client Configuration ###
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
# The network chain ID
|
||||||
|
chain-id = ""
|
||||||
|
# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory)
|
||||||
|
keyring-backend = "os"
|
||||||
|
# CLI output format (text|json)
|
||||||
|
output = "text"
|
||||||
|
# <host>:<port> to Tendermint RPC interface for this chain
|
||||||
|
node = "tcp://localhost:26657"
|
||||||
|
# Transaction broadcasting mode (sync|async|block)
|
||||||
|
broadcast-mode = "sync"
|
@ -177,7 +177,8 @@ laddr = "tcp://0.0.0.0:26656"
|
|||||||
# Address to advertise to peers for them to dial
|
# Address to advertise to peers for them to dial
|
||||||
# If empty, will use the same port as the laddr,
|
# If empty, will use the same port as the laddr,
|
||||||
# and will introspect on the listener or use UPnP
|
# and will introspect on the listener or use UPnP
|
||||||
# to figure out the address.
|
# to figure out the address. ip and port are required
|
||||||
|
# example: 159.89.10.97:26656
|
||||||
external_address = ""
|
external_address = ""
|
||||||
|
|
||||||
# Comma separated list of seed nodes to connect to
|
# Comma separated list of seed nodes to connect to
|
||||||
@ -302,6 +303,13 @@ discovery_time = "15s"
|
|||||||
# Will create a new, randomly named directory within, and remove it when done.
|
# Will create a new, randomly named directory within, and remove it when done.
|
||||||
temp_dir = ""
|
temp_dir = ""
|
||||||
|
|
||||||
|
# The timeout duration before re-requesting a chunk, possibly from a different
|
||||||
|
# peer (default: 1 minute).
|
||||||
|
chunk_request_timeout = "10s"
|
||||||
|
|
||||||
|
# The number of concurrent chunk fetchers to run (default: 1).
|
||||||
|
chunk_fetchers = "4"
|
||||||
|
|
||||||
#######################################################
|
#######################################################
|
||||||
### Fast Sync Configuration Connections ###
|
### Fast Sync Configuration Connections ###
|
||||||
#######################################################
|
#######################################################
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
{
|
{
|
||||||
"@type": "/cosmos.auth.v1beta1.BaseAccount",
|
"@type": "/cosmos.auth.v1beta1.BaseAccount",
|
||||||
"account_number": "0",
|
"account_number": "0",
|
||||||
"address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679",
|
"address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy",
|
||||||
"pub_key": null,
|
"pub_key": null,
|
||||||
"sequence": "0"
|
"sequence": "0"
|
||||||
},
|
},
|
||||||
@ -159,6 +159,9 @@
|
|||||||
"tx_size_cost_per_byte": "10"
|
"tx_size_cost_per_byte": "10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"authz": {
|
||||||
|
"authorization": []
|
||||||
|
},
|
||||||
"bank": {
|
"bank": {
|
||||||
"balances": [
|
"balances": [
|
||||||
{
|
{
|
||||||
@ -213,6 +216,19 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy",
|
||||||
|
"coins": [
|
||||||
|
{
|
||||||
|
"amount": "1000000000",
|
||||||
|
"denom": "ucosm"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"amount": "2000000000",
|
||||||
|
"denom": "ustake"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh",
|
"address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh",
|
||||||
"coins": [
|
"coins": [
|
||||||
@ -382,19 +398,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679",
|
|
||||||
"coins": [
|
|
||||||
{
|
|
||||||
"amount": "1000000000",
|
|
||||||
"denom": "ucosm"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"amount": "2000000000",
|
|
||||||
"denom": "ustake"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta",
|
"address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta",
|
||||||
"coins": [
|
"coins": [
|
||||||
@ -501,6 +504,9 @@
|
|||||||
"evidence": {
|
"evidence": {
|
||||||
"evidence": []
|
"evidence": []
|
||||||
},
|
},
|
||||||
|
"feegrant": {
|
||||||
|
"allowances": []
|
||||||
|
},
|
||||||
"genutil": {
|
"genutil": {
|
||||||
"gen_txs": [
|
"gen_txs": [
|
||||||
{
|
{
|
||||||
@ -520,7 +526,7 @@
|
|||||||
},
|
},
|
||||||
"public_key": {
|
"public_key": {
|
||||||
"@type": "/cosmos.crypto.secp256k1.PubKey",
|
"@type": "/cosmos.crypto.secp256k1.PubKey",
|
||||||
"key": "AtDcuH4cX1eaxZrJ5shheLG3tXPAoV4awoIZmNQtQxmf"
|
"key": "A0RZ3+xLf9xJiySHQxQsQtW8HJYEcniJKbFxG2R9ZEQv"
|
||||||
},
|
},
|
||||||
"sequence": "0"
|
"sequence": "0"
|
||||||
}
|
}
|
||||||
@ -528,7 +534,7 @@
|
|||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"extension_options": [],
|
"extension_options": [],
|
||||||
"memo": "ad7cdbcfe545eaaaea99378bc70bf22eef3401a4@172.17.0.2:26656",
|
"memo": "0dbb06d8489ba6958ef0f77ab797a674ef2451a2@172.17.0.3:26656",
|
||||||
"messages": [
|
"messages": [
|
||||||
{
|
{
|
||||||
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
|
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
|
||||||
@ -537,7 +543,7 @@
|
|||||||
"max_rate": "0.200000000000000000",
|
"max_rate": "0.200000000000000000",
|
||||||
"rate": "0.100000000000000000"
|
"rate": "0.100000000000000000"
|
||||||
},
|
},
|
||||||
"delegator_address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679",
|
"delegator_address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy",
|
||||||
"description": {
|
"description": {
|
||||||
"details": "",
|
"details": "",
|
||||||
"identity": "",
|
"identity": "",
|
||||||
@ -548,9 +554,9 @@
|
|||||||
"min_self_delegation": "1",
|
"min_self_delegation": "1",
|
||||||
"pubkey": {
|
"pubkey": {
|
||||||
"@type": "/cosmos.crypto.ed25519.PubKey",
|
"@type": "/cosmos.crypto.ed25519.PubKey",
|
||||||
"key": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU="
|
"key": "RbdkQ5nm1sv1P9UkAucotnK9sUTjzGfMMsVLOGEBqx0="
|
||||||
},
|
},
|
||||||
"validator_address": "cosmosvaloper1urk9gy7cfws0ak9x5nu7lx4un9n6gqkrp230jk",
|
"validator_address": "cosmosvaloper12nt2hqjps8r065wc02qks88tvqzdeua06e982h",
|
||||||
"value": {
|
"value": {
|
||||||
"amount": "3000000",
|
"amount": "3000000",
|
||||||
"denom": "ustake"
|
"denom": "ustake"
|
||||||
@ -561,7 +567,7 @@
|
|||||||
"timeout_height": "0"
|
"timeout_height": "0"
|
||||||
},
|
},
|
||||||
"signatures": [
|
"signatures": [
|
||||||
"XCvdrkjv/gl819FCH0rnfDiBm6xIc3Kj1EiN3c3tI/MSekAEEBqNT4FuFFtjVOgs5WT6RZTY75h1JxvHmMfm4g=="
|
"FUhoV9O/pb16AIvsWJ7bCBzktp9zq7iV/hF2PdcaDwpgc0+nsNX7lOv37EcaBrScDi1TBUGETjEzG80jD+L0zA=="
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -631,14 +637,6 @@
|
|||||||
"unbonding_delegations": [],
|
"unbonding_delegations": [],
|
||||||
"validators": []
|
"validators": []
|
||||||
},
|
},
|
||||||
"transfer": {
|
|
||||||
"denom_traces": [],
|
|
||||||
"params": {
|
|
||||||
"receive_enabled": true,
|
|
||||||
"send_enabled": true
|
|
||||||
},
|
|
||||||
"port_id": "transfer"
|
|
||||||
},
|
|
||||||
"upgrade": {},
|
"upgrade": {},
|
||||||
"vesting": {}
|
"vesting": {}
|
||||||
},
|
},
|
||||||
@ -661,6 +659,6 @@
|
|||||||
},
|
},
|
||||||
"version": {}
|
"version": {}
|
||||||
},
|
},
|
||||||
"genesis_time": "2021-07-27T15:14:14.2361126Z",
|
"genesis_time": "2023-04-06T15:56:56.752766256Z",
|
||||||
"initial_height": "1"
|
"initial_height": "1"
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"simd-moniker","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy","validator_address":"cosmosvaloper12nt2hqjps8r065wc02qks88tvqzdeua06e982h","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"RbdkQ5nm1sv1P9UkAucotnK9sUTjzGfMMsVLOGEBqx0="},"value":{"denom":"ustake","amount":"3000000"}}],"memo":"0dbb06d8489ba6958ef0f77ab797a674ef2451a2@172.17.0.3:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A0RZ3+xLf9xJiySHQxQsQtW8HJYEcniJKbFxG2R9ZEQv"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["FUhoV9O/pb16AIvsWJ7bCBzktp9zq7iV/hF2PdcaDwpgc0+nsNX7lOv37EcaBrScDi1TBUGETjEzG80jD+L0zA=="]}
|
@ -1 +0,0 @@
|
|||||||
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"simd-moniker","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679","validator_address":"cosmosvaloper1urk9gy7cfws0ak9x5nu7lx4un9n6gqkrp230jk","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU="},"value":{"denom":"ustake","amount":"3000000"}}],"memo":"ad7cdbcfe545eaaaea99378bc70bf22eef3401a4@172.17.0.2:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AtDcuH4cX1eaxZrJ5shheLG3tXPAoV4awoIZmNQtQxmf"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["XCvdrkjv/gl819FCH0rnfDiBm6xIc3Kj1EiN3c3tI/MSekAEEBqNT4FuFFtjVOgs5WT6RZTY75h1JxvHmMfm4g=="]}
|
|
@ -1 +1 @@
|
|||||||
{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"VJWbZaD0jAkAh4VBLS9I2FDFwAKhbCYjs/ycVEDRNW6teVZgaxLnZ+mW3sMhvdIKY99DaD55h9L1MXkx8WsQ+g=="}}
|
{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"F5Kf9O8/zSJIllRI0IWdHnKflvaJyAI2EBKwlFDwgsZDOXoICISKQUmSuvCrAMyJOWh6xY37DjbeQP29XboSgA=="}}
|
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"address": "30AF3420A11D7357C54EB716B209D4C3707D1BF3",
|
"address": "05FD2790155E3F5827FA30C00CD0E7240160CC39",
|
||||||
"pub_key": {
|
"pub_key": {
|
||||||
"type": "tendermint/PubKeyEd25519",
|
"type": "tendermint/PubKeyEd25519",
|
||||||
"value": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU="
|
"value": "RbdkQ5nm1sv1P9UkAucotnK9sUTjzGfMMsVLOGEBqx0="
|
||||||
},
|
},
|
||||||
"priv_key": {
|
"priv_key": {
|
||||||
"type": "tendermint/PrivKeyEd25519",
|
"type": "tendermint/PrivKeyEd25519",
|
||||||
"value": "H/y/XQLnbLKzR3Ey6VCCw0tu87VbA3GO4goA+PPz7VRxQlEPAfK3Lxkw7dy1Ko+97Nw4/ZJinVIMId3X9KkC5Q=="
|
"value": "sZurlJ9J5pjwmHRRbfl2bbNjXC0wd+TsdECAl1FSsLhFt2RDmebWy/U/1SQC5yi2cr2xROPMZ8wyxUs4YQGrHQ=="
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1 +0,0 @@
|
|||||||
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42ODc0MDc3ICswMDAwIFVUQyBtPSswLjIyNTIwMDMwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjgtN0l6TXhWUmhrMGlBM2kifQ.9c48lG_ZZDrQ5esu0Tw45oacS4V22SLEIChtqW14z17rJtZuS7XYuw.aVNkJGer3Dv--lIR.ulhj65STVqG5ciBObgXc-oyYndKuOzvp03PH9wnh3WTg77SSjwxpEkIMwd9DpkcfBSL0qBvN7aXLAFEG59ydL5GamUTOU94xFISet6dKjxSWbkBmq4_zWmUbe0Qas4eVvPsb6U5w0PIyVTkZwAHDeMtdaEXthBU1JE4biOoi0uICCJkFyqO01q5nrbN7d45EE8vijdPusxfn-abtvSvXLUTcr50nt_w5_YbxsSZnG52Ty2TiV_fjn_Wq.Aj72rrWgBh9fHj1CIoJ7lA
|
|
@ -1 +1 @@
|
|||||||
$2a$10$PUzdQ9WON1SgvDtewSKIUerA9LxW51qGoHj2EGZ5TT6oKfHXU7hcK
|
$2a$10$9MgTtGMoSpMZgGyxZnSA4uZL3J6x0ABdCHi1w9JhOVGUtFMMBe2mO
|
1
scripts/simapp44/template/.simapp/myvalidator.info
Normal file
1
scripts/simapp44/template/.simapp/myvalidator.info
Normal file
@ -0,0 +1 @@
|
|||||||
|
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1Njo1Ny44OTE0ODEzNCArMDAwMCBVVEMgbT0rMC41NTc0MjU4NzciLCJlbmMiOiJBMjU2R0NNIiwicDJjIjo4MTkyLCJwMnMiOiJNRTFoZW54WkNyaUpfdmxvIn0.WvNOuNRR6MLvrKI6mm2kTPMUKErQwAYSnBIPVO1_XikyYLdfxvtPKg.hcGTDIQB2rJxtwga.TZ4LEwk65Zj5i9PFrVbKJdx1jF0myj4HXuZOR1nslFVvKaFy22t3t073DFogapi27RZzyzUwenDSOY2RsQ5a7NPxfIBQPZ0tjxO9W2c4j-HJod-O3ViFgec3x2AXHP1XYlOdGXiBhq6cDRAoIVd10-ANCL3-ijpXTqGFde0-JmlKkd242QZzNIrg68shhspIgUMho2jzzGfMw5-yPJeoqkJTgdu9vBkpbP4I-Ey3LLyQ48UCQuSS3_5EGPHIdjqm_L6OInMl6jB_dOT2TlsjSLSuk_r4eFr4v7B82IifBFsy-o1VdLc_CqdYhbJJjFvPBUI5ZOdHybxZE-BBoFbCvGsEnK7xHdLozjanMuszuI1Dr3YMnRw.63JsRzaYAOe04zXkbMVAdw
|
@ -1 +0,0 @@
|
|||||||
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42Njk0MzQ3ICswMDAwIFVUQyBtPSswLjIwNzI1MDUwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjB4YU1QYjR4RVVHS29JeW4ifQ.jLK0jNefYAdHELJr3MPhajfSFJfTAre0yBzqnvS1rhzxou2ZMyMJ3w.4h0CQ8NAekW0lshZ.Cusi2aIkUmPlVKdkzjK7SpgrN8xrFcm_L3mf1zTNFfS1GEKHIjMd7a-c7XVOM06hXF_MuIvdCrlHRsWAzX9HgSPQ_T4aQDx8dzdj6iRxv0rwAKjSVLMpuqT3ASSENuPkP21niOuPCnKohVYACq0hpsrYoEt0wMSqnUF7Smz7-hbYmp4EleCEcvwas4qs2LM_hZWvAEFnNdDGFWeyGrNTXXbwXBpCFnWXH-F9FHVtexlwo0OCTJscWFazn8LVGOepO4mQRnsQQ4XMG6WL18Yclz7TmPi3WKkOHOdyhydu7KX_tAISy-jVpMX41kb5OLABuxXYSM6Q1wnyY4SUHvExJ1b41lSER11tIopHbh_Au6ifRRtD.kbUtqwd5x8QH52nHddfwcA
|
|
@ -23,12 +23,14 @@ echo "Setting up validator ..."
|
|||||||
if ! simd keys show validator 2>/dev/null; then
|
if ! simd keys show validator 2>/dev/null; then
|
||||||
echo "Validator does not yet exist. Creating it ..."
|
echo "Validator does not yet exist. Creating it ..."
|
||||||
(
|
(
|
||||||
|
# Constant key to get the same validator operator address (cosmosvaloper1...) every time
|
||||||
|
echo "gather series sample skin gate mask gossip between equip knife total stereo"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
) | simd keys add validator
|
) | simd keys add myvalidator --recover
|
||||||
fi
|
fi
|
||||||
# hardcode the validator account for this instance
|
# hardcode the validator account for this instance
|
||||||
echo "$PASSWORD" | simd add-genesis-account validator "$START_BALANCE"
|
echo "$PASSWORD" | simd add-genesis-account myvalidator "$START_BALANCE"
|
||||||
|
|
||||||
echo "Setting up accounts ..."
|
echo "Setting up accounts ..."
|
||||||
# (optionally) add a few more genesis accounts
|
# (optionally) add a few more genesis accounts
|
||||||
@ -43,5 +45,5 @@ SELF_DELEGATION="3000000$STAKE" # 3 STAKE (leads to a voting power of 3)
|
|||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
) | simd gentx validator "$SELF_DELEGATION" --offline --chain-id "$CHAIN_ID" --moniker="$MONIKER"
|
) | simd gentx myvalidator "$SELF_DELEGATION" --offline --chain-id "$CHAIN_ID" --moniker="$MONIKER"
|
||||||
simd collect-gentxs
|
simd collect-gentxs
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1Njo1Ny45MjYzNzk4ODIgKzAwMDAgVVRDIG09KzAuNTkyMzI0NTQzIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiTDFlYmQwa3ctVUZYN0NibSJ9.hIuLIr8AdbU8xnyNgHZ5MsG6srKoKZz9VJtVN2fc8y7vF77aArSpSw.Ak-8Jsy32o2ORSvZ.aQhvsd6kiOs_qvaLGS5sZAdg2k3UXwWKkZYqfLdGXT62m0f5hkOtzfaRGcVNDbQLawLig3PQlhZumPC776uUYN-OrlRQu1pcpforJRgWdtL8f2wj_paSMaxBWpOQ-qDHnumTLgIGbweDHg_eWVBNt4BOC6DNebA4snWJz1tlTr_2X54E8wpPd-p4oLwKGIrBKQnzVoGW-SfoXmrPeEWI9FIy2biqOqdDR9QTCmH5r7ejdng_XfWSnyLNSmC5zQ.fxxKnbD0FBqjjeBMUgHERQ
|
@ -8,7 +8,7 @@
|
|||||||
# The minimum gas prices a validator is willing to accept for processing a
|
# The minimum gas prices a validator is willing to accept for processing a
|
||||||
# transaction. A transaction's fees must meet the minimum of any denomination
|
# transaction. A transaction's fees must meet the minimum of any denomination
|
||||||
# specified in this config (e.g. 0.25token1;0.0001token2).
|
# specified in this config (e.g. 0.25token1;0.0001token2).
|
||||||
minimum-gas-prices = ""
|
minimum-gas-prices = "0stake"
|
||||||
|
|
||||||
# default: the last 100 states are kept in addition to every 500th state; pruning at 10 block intervals
|
# default: the last 100 states are kept in addition to every 500th state; pruning at 10 block intervals
|
||||||
# nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node)
|
# nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node)
|
||||||
@ -124,6 +124,30 @@ rpc-max-body-bytes = 1000000
|
|||||||
# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk).
|
# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk).
|
||||||
enabled-unsafe-cors = true
|
enabled-unsafe-cors = true
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
### Rosetta Configuration ###
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
[rosetta]
|
||||||
|
|
||||||
|
# Enable defines if the Rosetta API server should be enabled.
|
||||||
|
enable = true
|
||||||
|
|
||||||
|
# Address defines the Rosetta API server to listen on.
|
||||||
|
address = ":8080"
|
||||||
|
|
||||||
|
# Network defines the name of the blockchain that will be returned by Rosetta.
|
||||||
|
blockchain = "app"
|
||||||
|
|
||||||
|
# Network defines the name of the network that will be returned by Rosetta.
|
||||||
|
network = "network"
|
||||||
|
|
||||||
|
# Retries defines the number of retries when connecting to the node before failing.
|
||||||
|
retries = 3
|
||||||
|
|
||||||
|
# Offline defines if Rosetta server should run in offline mode.
|
||||||
|
offline = false
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
### gRPC Configuration ###
|
### gRPC Configuration ###
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@ -136,6 +160,22 @@ enable = true
|
|||||||
# Address defines the gRPC server address to bind to.
|
# Address defines the gRPC server address to bind to.
|
||||||
address = "0.0.0.0:9090"
|
address = "0.0.0.0:9090"
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
### gRPC Web Configuration ###
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
[grpc-web]
|
||||||
|
|
||||||
|
# GRPCWebEnable defines if the gRPC-web should be enabled.
|
||||||
|
# NOTE: gRPC must also be enabled, otherwise, this configuration is a no-op.
|
||||||
|
enable = true
|
||||||
|
|
||||||
|
# Address defines the gRPC-web server address to bind to.
|
||||||
|
address = "0.0.0.0:9091"
|
||||||
|
|
||||||
|
# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk).
|
||||||
|
enable-unsafe-cors = false
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
### State Sync Configuration ###
|
### State Sync Configuration ###
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@ -150,3 +190,10 @@ snapshot-interval = 0
|
|||||||
|
|
||||||
# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all).
|
# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all).
|
||||||
snapshot-keep-recent = 2
|
snapshot-keep-recent = 2
|
||||||
|
|
||||||
|
[wasm]
|
||||||
|
# This is the maximum sdk gas (wasm and storage) that we allow for any x/wasm "smart" queries
|
||||||
|
query_gas_limit = 300000
|
||||||
|
# This is the number of wasm vm instances we keep cached in memory for speed-up
|
||||||
|
# Warning: this is currently unstable and may lead to crashes, best to keep for 0 unless testing locally
|
||||||
|
lru_size = 0
|
17
scripts/simapp44/template_slow/.simapp/config/client.toml
Normal file
17
scripts/simapp44/template_slow/.simapp/config/client.toml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# This is a TOML config file.
|
||||||
|
# For more information, see https://github.com/toml-lang/toml
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
### Client Configuration ###
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
# The network chain ID
|
||||||
|
chain-id = ""
|
||||||
|
# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory)
|
||||||
|
keyring-backend = "os"
|
||||||
|
# CLI output format (text|json)
|
||||||
|
output = "text"
|
||||||
|
# <host>:<port> to Tendermint RPC interface for this chain
|
||||||
|
node = "tcp://localhost:26657"
|
||||||
|
# Transaction broadcasting mode (sync|async|block)
|
||||||
|
broadcast-mode = "sync"
|
@ -177,7 +177,8 @@ laddr = "tcp://0.0.0.0:26656"
|
|||||||
# Address to advertise to peers for them to dial
|
# Address to advertise to peers for them to dial
|
||||||
# If empty, will use the same port as the laddr,
|
# If empty, will use the same port as the laddr,
|
||||||
# and will introspect on the listener or use UPnP
|
# and will introspect on the listener or use UPnP
|
||||||
# to figure out the address.
|
# to figure out the address. ip and port are required
|
||||||
|
# example: 159.89.10.97:26656
|
||||||
external_address = ""
|
external_address = ""
|
||||||
|
|
||||||
# Comma separated list of seed nodes to connect to
|
# Comma separated list of seed nodes to connect to
|
||||||
@ -302,6 +303,13 @@ discovery_time = "15s"
|
|||||||
# Will create a new, randomly named directory within, and remove it when done.
|
# Will create a new, randomly named directory within, and remove it when done.
|
||||||
temp_dir = ""
|
temp_dir = ""
|
||||||
|
|
||||||
|
# The timeout duration before re-requesting a chunk, possibly from a different
|
||||||
|
# peer (default: 1 minute).
|
||||||
|
chunk_request_timeout = "10s"
|
||||||
|
|
||||||
|
# The number of concurrent chunk fetchers to run (default: 1).
|
||||||
|
chunk_fetchers = "4"
|
||||||
|
|
||||||
#######################################################
|
#######################################################
|
||||||
### Fast Sync Configuration Connections ###
|
### Fast Sync Configuration Connections ###
|
||||||
#######################################################
|
#######################################################
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
{
|
{
|
||||||
"@type": "/cosmos.auth.v1beta1.BaseAccount",
|
"@type": "/cosmos.auth.v1beta1.BaseAccount",
|
||||||
"account_number": "0",
|
"account_number": "0",
|
||||||
"address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679",
|
"address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy",
|
||||||
"pub_key": null,
|
"pub_key": null,
|
||||||
"sequence": "0"
|
"sequence": "0"
|
||||||
},
|
},
|
||||||
@ -159,6 +159,9 @@
|
|||||||
"tx_size_cost_per_byte": "10"
|
"tx_size_cost_per_byte": "10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"authz": {
|
||||||
|
"authorization": []
|
||||||
|
},
|
||||||
"bank": {
|
"bank": {
|
||||||
"balances": [
|
"balances": [
|
||||||
{
|
{
|
||||||
@ -213,6 +216,19 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy",
|
||||||
|
"coins": [
|
||||||
|
{
|
||||||
|
"amount": "1000000000",
|
||||||
|
"denom": "ucosm"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"amount": "2000000000",
|
||||||
|
"denom": "ustake"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh",
|
"address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh",
|
||||||
"coins": [
|
"coins": [
|
||||||
@ -382,19 +398,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679",
|
|
||||||
"coins": [
|
|
||||||
{
|
|
||||||
"amount": "1000000000",
|
|
||||||
"denom": "ucosm"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"amount": "2000000000",
|
|
||||||
"denom": "ustake"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta",
|
"address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta",
|
||||||
"coins": [
|
"coins": [
|
||||||
@ -483,6 +486,9 @@
|
|||||||
"evidence": {
|
"evidence": {
|
||||||
"evidence": []
|
"evidence": []
|
||||||
},
|
},
|
||||||
|
"feegrant": {
|
||||||
|
"allowances": []
|
||||||
|
},
|
||||||
"genutil": {
|
"genutil": {
|
||||||
"gen_txs": [
|
"gen_txs": [
|
||||||
{
|
{
|
||||||
@ -502,7 +508,7 @@
|
|||||||
},
|
},
|
||||||
"public_key": {
|
"public_key": {
|
||||||
"@type": "/cosmos.crypto.secp256k1.PubKey",
|
"@type": "/cosmos.crypto.secp256k1.PubKey",
|
||||||
"key": "AtDcuH4cX1eaxZrJ5shheLG3tXPAoV4awoIZmNQtQxmf"
|
"key": "A0RZ3+xLf9xJiySHQxQsQtW8HJYEcniJKbFxG2R9ZEQv"
|
||||||
},
|
},
|
||||||
"sequence": "0"
|
"sequence": "0"
|
||||||
}
|
}
|
||||||
@ -510,7 +516,7 @@
|
|||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"extension_options": [],
|
"extension_options": [],
|
||||||
"memo": "ad7cdbcfe545eaaaea99378bc70bf22eef3401a4@172.17.0.2:26656",
|
"memo": "0dbb06d8489ba6958ef0f77ab797a674ef2451a2@172.17.0.3:26656",
|
||||||
"messages": [
|
"messages": [
|
||||||
{
|
{
|
||||||
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
|
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
|
||||||
@ -519,7 +525,7 @@
|
|||||||
"max_rate": "0.200000000000000000",
|
"max_rate": "0.200000000000000000",
|
||||||
"rate": "0.100000000000000000"
|
"rate": "0.100000000000000000"
|
||||||
},
|
},
|
||||||
"delegator_address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679",
|
"delegator_address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy",
|
||||||
"description": {
|
"description": {
|
||||||
"details": "",
|
"details": "",
|
||||||
"identity": "",
|
"identity": "",
|
||||||
@ -530,9 +536,9 @@
|
|||||||
"min_self_delegation": "1",
|
"min_self_delegation": "1",
|
||||||
"pubkey": {
|
"pubkey": {
|
||||||
"@type": "/cosmos.crypto.ed25519.PubKey",
|
"@type": "/cosmos.crypto.ed25519.PubKey",
|
||||||
"key": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU="
|
"key": "RbdkQ5nm1sv1P9UkAucotnK9sUTjzGfMMsVLOGEBqx0="
|
||||||
},
|
},
|
||||||
"validator_address": "cosmosvaloper1urk9gy7cfws0ak9x5nu7lx4un9n6gqkrp230jk",
|
"validator_address": "cosmosvaloper12nt2hqjps8r065wc02qks88tvqzdeua06e982h",
|
||||||
"value": {
|
"value": {
|
||||||
"amount": "3000000",
|
"amount": "3000000",
|
||||||
"denom": "ustake"
|
"denom": "ustake"
|
||||||
@ -543,7 +549,7 @@
|
|||||||
"timeout_height": "0"
|
"timeout_height": "0"
|
||||||
},
|
},
|
||||||
"signatures": [
|
"signatures": [
|
||||||
"XCvdrkjv/gl819FCH0rnfDiBm6xIc3Kj1EiN3c3tI/MSekAEEBqNT4FuFFtjVOgs5WT6RZTY75h1JxvHmMfm4g=="
|
"FUhoV9O/pb16AIvsWJ7bCBzktp9zq7iV/hF2PdcaDwpgc0+nsNX7lOv37EcaBrScDi1TBUGETjEzG80jD+L0zA=="
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -571,283 +577,6 @@
|
|||||||
"voting_period": "172800s"
|
"voting_period": "172800s"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ibc": {
|
|
||||||
"channel_genesis": {
|
|
||||||
"ack_sequences": [
|
|
||||||
{
|
|
||||||
"channel_id": "channel-0",
|
|
||||||
"port_id": "transfer",
|
|
||||||
"sequence": "1"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"acknowledgements": [],
|
|
||||||
"channels": [
|
|
||||||
{
|
|
||||||
"channel_id": "channel-0",
|
|
||||||
"connection_hops": [
|
|
||||||
"connection-0"
|
|
||||||
],
|
|
||||||
"counterparty": {
|
|
||||||
"channel_id": "channel-0",
|
|
||||||
"port_id": "transfer"
|
|
||||||
},
|
|
||||||
"ordering": "ORDER_UNORDERED",
|
|
||||||
"port_id": "transfer",
|
|
||||||
"state": "STATE_OPEN",
|
|
||||||
"version": "ics20-1"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"commitments": [
|
|
||||||
{
|
|
||||||
"channel_id": "channel-0",
|
|
||||||
"data": "hYz5Dx6o09DcSEWZR6xlJYwLgYUnLithsXMGtujic4I=",
|
|
||||||
"port_id": "transfer",
|
|
||||||
"sequence": "1"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"next_channel_sequence": "0",
|
|
||||||
"receipts": [],
|
|
||||||
"recv_sequences": [
|
|
||||||
{
|
|
||||||
"channel_id": "channel-0",
|
|
||||||
"port_id": "transfer",
|
|
||||||
"sequence": "1"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"send_sequences": [
|
|
||||||
{
|
|
||||||
"channel_id": "channel-0",
|
|
||||||
"port_id": "transfer",
|
|
||||||
"sequence": "2"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"client_genesis": {
|
|
||||||
"clients": [
|
|
||||||
{
|
|
||||||
"client_id": "07-tendermint-0",
|
|
||||||
"client_state": {
|
|
||||||
"@type": "/ibc.lightclients.tendermint.v1.ClientState",
|
|
||||||
"allow_update_after_expiry": false,
|
|
||||||
"allow_update_after_misbehaviour": false,
|
|
||||||
"chain_id": "ibc-1",
|
|
||||||
"frozen_height": {
|
|
||||||
"revision_height": "0",
|
|
||||||
"revision_number": "0"
|
|
||||||
},
|
|
||||||
"latest_height": {
|
|
||||||
"revision_height": "274",
|
|
||||||
"revision_number": "1"
|
|
||||||
},
|
|
||||||
"max_clock_drift": "600s",
|
|
||||||
"proof_specs": [
|
|
||||||
{
|
|
||||||
"inner_spec": {
|
|
||||||
"child_order": [
|
|
||||||
0,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
"child_size": 33,
|
|
||||||
"empty_child": null,
|
|
||||||
"hash": "SHA256",
|
|
||||||
"max_prefix_length": 12,
|
|
||||||
"min_prefix_length": 4
|
|
||||||
},
|
|
||||||
"leaf_spec": {
|
|
||||||
"hash": "SHA256",
|
|
||||||
"length": "VAR_PROTO",
|
|
||||||
"prefix": "AA==",
|
|
||||||
"prehash_key": "NO_HASH",
|
|
||||||
"prehash_value": "SHA256"
|
|
||||||
},
|
|
||||||
"max_depth": 0,
|
|
||||||
"min_depth": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inner_spec": {
|
|
||||||
"child_order": [
|
|
||||||
0,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
"child_size": 32,
|
|
||||||
"empty_child": null,
|
|
||||||
"hash": "SHA256",
|
|
||||||
"max_prefix_length": 1,
|
|
||||||
"min_prefix_length": 1
|
|
||||||
},
|
|
||||||
"leaf_spec": {
|
|
||||||
"hash": "SHA256",
|
|
||||||
"length": "VAR_PROTO",
|
|
||||||
"prefix": "AA==",
|
|
||||||
"prehash_key": "NO_HASH",
|
|
||||||
"prehash_value": "SHA256"
|
|
||||||
},
|
|
||||||
"max_depth": 0,
|
|
||||||
"min_depth": 0
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"trust_level": {
|
|
||||||
"denominator": "3",
|
|
||||||
"numerator": "1"
|
|
||||||
},
|
|
||||||
"trusting_period": "1209600s",
|
|
||||||
"unbonding_period": "1814400s",
|
|
||||||
"upgrade_path": [
|
|
||||||
"upgrade",
|
|
||||||
"upgradedIBCState"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"clients_consensus": [
|
|
||||||
{
|
|
||||||
"client_id": "07-tendermint-0",
|
|
||||||
"consensus_states": [
|
|
||||||
{
|
|
||||||
"consensus_state": {
|
|
||||||
"@type": "/ibc.lightclients.tendermint.v1.ConsensusState",
|
|
||||||
"next_validators_hash": "3491D4ECEB5323868C3AB846A12E923151E12BC4CE69F84DE9E8B7AB1CD15075",
|
|
||||||
"root": {
|
|
||||||
"hash": "7PmRnufr0ItJMAtq3GOJEtupU93W9fh9utvgKL+2DX0="
|
|
||||||
},
|
|
||||||
"timestamp": "2021-01-11T11:02:53.837998Z"
|
|
||||||
},
|
|
||||||
"height": {
|
|
||||||
"revision_height": "258",
|
|
||||||
"revision_number": "1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"consensus_state": {
|
|
||||||
"@type": "/ibc.lightclients.tendermint.v1.ConsensusState",
|
|
||||||
"next_validators_hash": "3491D4ECEB5323868C3AB846A12E923151E12BC4CE69F84DE9E8B7AB1CD15075",
|
|
||||||
"root": {
|
|
||||||
"hash": "l4c9z7RZNTXk+tNM1BClb0MLnR5sWHdoofjPNyb2u7s="
|
|
||||||
},
|
|
||||||
"timestamp": "2021-01-11T11:02:56.184633Z"
|
|
||||||
},
|
|
||||||
"height": {
|
|
||||||
"revision_height": "260",
|
|
||||||
"revision_number": "1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"consensus_state": {
|
|
||||||
"@type": "/ibc.lightclients.tendermint.v1.ConsensusState",
|
|
||||||
"next_validators_hash": "3491D4ECEB5323868C3AB846A12E923151E12BC4CE69F84DE9E8B7AB1CD15075",
|
|
||||||
"root": {
|
|
||||||
"hash": "4Z4hxSmijgVvMR//if6aJFhYIBW6w9rYYtEqs+eIUcg="
|
|
||||||
},
|
|
||||||
"timestamp": "2021-01-11T11:03:02.268862Z"
|
|
||||||
},
|
|
||||||
"height": {
|
|
||||||
"revision_height": "265",
|
|
||||||
"revision_number": "1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"consensus_state": {
|
|
||||||
"@type": "/ibc.lightclients.tendermint.v1.ConsensusState",
|
|
||||||
"next_validators_hash": "3491D4ECEB5323868C3AB846A12E923151E12BC4CE69F84DE9E8B7AB1CD15075",
|
|
||||||
"root": {
|
|
||||||
"hash": "xFOoMvBw80wWTHqqrNpWb/Hv8+zKsTsbam8MFA9Gor4="
|
|
||||||
},
|
|
||||||
"timestamp": "2021-01-11T11:03:07.123191Z"
|
|
||||||
},
|
|
||||||
"height": {
|
|
||||||
"revision_height": "269",
|
|
||||||
"revision_number": "1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"consensus_state": {
|
|
||||||
"@type": "/ibc.lightclients.tendermint.v1.ConsensusState",
|
|
||||||
"next_validators_hash": "3491D4ECEB5323868C3AB846A12E923151E12BC4CE69F84DE9E8B7AB1CD15075",
|
|
||||||
"root": {
|
|
||||||
"hash": "0s6RbgtxLkZ51lJJCq1iZuhvSqn/DsAQs9jEMhShv3A="
|
|
||||||
},
|
|
||||||
"timestamp": "2021-01-11T11:03:13.075754Z"
|
|
||||||
},
|
|
||||||
"height": {
|
|
||||||
"revision_height": "274",
|
|
||||||
"revision_number": "1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"clients_metadata": [
|
|
||||||
{
|
|
||||||
"client_id": "07-tendermint-0",
|
|
||||||
"client_metadata": [
|
|
||||||
{
|
|
||||||
"key": "Y29uc2Vuc3VzU3RhdGVzLzEtMjU4L3Byb2Nlc3NlZFRpbWU=",
|
|
||||||
"value": "FlkomBj7tMA="
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "Y29uc2Vuc3VzU3RhdGVzLzEtMjYwL3Byb2Nlc3NlZFRpbWU=",
|
|
||||||
"value": "FlkomLBGmiA="
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "Y29uc2Vuc3VzU3RhdGVzLzEtMjY1L3Byb2Nlc3NlZFRpbWU=",
|
|
||||||
"value": "FlkomhjrK/g="
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "Y29uc2Vuc3VzU3RhdGVzLzEtMjY5L3Byb2Nlc3NlZFRpbWU=",
|
|
||||||
"value": "Flkomzng9Qg="
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "Y29uc2Vuc3VzU3RhdGVzLzEtMjc0L3Byb2Nlc3NlZFRpbWU=",
|
|
||||||
"value": "FlkonJ5n5Gg="
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"create_localhost": false,
|
|
||||||
"next_client_sequence": "0",
|
|
||||||
"params": {
|
|
||||||
"allowed_clients": [
|
|
||||||
"06-solomachine",
|
|
||||||
"07-tendermint"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"connection_genesis": {
|
|
||||||
"client_connection_paths": [
|
|
||||||
{
|
|
||||||
"client_id": "07-tendermint-0",
|
|
||||||
"paths": [
|
|
||||||
"connection-0"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"connections": [
|
|
||||||
{
|
|
||||||
"client_id": "07-tendermint-0",
|
|
||||||
"counterparty": {
|
|
||||||
"client_id": "07-tendermint-0",
|
|
||||||
"connection_id": "connection-0",
|
|
||||||
"prefix": {
|
|
||||||
"key_prefix": "aWJj"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"delay_period": "0",
|
|
||||||
"id": "connection-0",
|
|
||||||
"state": "STATE_OPEN",
|
|
||||||
"versions": [
|
|
||||||
{
|
|
||||||
"features": [
|
|
||||||
"ORDER_ORDERED",
|
|
||||||
"ORDER_UNORDERED"
|
|
||||||
],
|
|
||||||
"identifier": "1"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"next_connection_sequence": "0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mint": {
|
"mint": {
|
||||||
"minter": {
|
"minter": {
|
||||||
"annual_provisions": "0.000000000000000000",
|
"annual_provisions": "0.000000000000000000",
|
||||||
@ -890,14 +619,6 @@
|
|||||||
"unbonding_delegations": [],
|
"unbonding_delegations": [],
|
||||||
"validators": []
|
"validators": []
|
||||||
},
|
},
|
||||||
"transfer": {
|
|
||||||
"denom_traces": [],
|
|
||||||
"params": {
|
|
||||||
"receive_enabled": true,
|
|
||||||
"send_enabled": true
|
|
||||||
},
|
|
||||||
"port_id": "transfer"
|
|
||||||
},
|
|
||||||
"upgrade": {},
|
"upgrade": {},
|
||||||
"vesting": {}
|
"vesting": {}
|
||||||
},
|
},
|
||||||
@ -920,6 +641,6 @@
|
|||||||
},
|
},
|
||||||
"version": {}
|
"version": {}
|
||||||
},
|
},
|
||||||
"genesis_time": "2021-07-27T15:14:14.2361126Z",
|
"genesis_time": "2023-04-06T15:56:56.752766256Z",
|
||||||
"initial_height": "1"
|
"initial_height": "1"
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"simd-moniker","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy","validator_address":"cosmosvaloper12nt2hqjps8r065wc02qks88tvqzdeua06e982h","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"RbdkQ5nm1sv1P9UkAucotnK9sUTjzGfMMsVLOGEBqx0="},"value":{"denom":"ustake","amount":"3000000"}}],"memo":"0dbb06d8489ba6958ef0f77ab797a674ef2451a2@172.17.0.3:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A0RZ3+xLf9xJiySHQxQsQtW8HJYEcniJKbFxG2R9ZEQv"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["FUhoV9O/pb16AIvsWJ7bCBzktp9zq7iV/hF2PdcaDwpgc0+nsNX7lOv37EcaBrScDi1TBUGETjEzG80jD+L0zA=="]}
|
@ -1 +0,0 @@
|
|||||||
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"simd-moniker","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679","validator_address":"cosmosvaloper1urk9gy7cfws0ak9x5nu7lx4un9n6gqkrp230jk","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU="},"value":{"denom":"ustake","amount":"3000000"}}],"memo":"ad7cdbcfe545eaaaea99378bc70bf22eef3401a4@172.17.0.2:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AtDcuH4cX1eaxZrJ5shheLG3tXPAoV4awoIZmNQtQxmf"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["XCvdrkjv/gl819FCH0rnfDiBm6xIc3Kj1EiN3c3tI/MSekAEEBqNT4FuFFtjVOgs5WT6RZTY75h1JxvHmMfm4g=="]}
|
|
@ -1 +1 @@
|
|||||||
{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"VJWbZaD0jAkAh4VBLS9I2FDFwAKhbCYjs/ycVEDRNW6teVZgaxLnZ+mW3sMhvdIKY99DaD55h9L1MXkx8WsQ+g=="}}
|
{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"F5Kf9O8/zSJIllRI0IWdHnKflvaJyAI2EBKwlFDwgsZDOXoICISKQUmSuvCrAMyJOWh6xY37DjbeQP29XboSgA=="}}
|
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"address": "30AF3420A11D7357C54EB716B209D4C3707D1BF3",
|
"address": "05FD2790155E3F5827FA30C00CD0E7240160CC39",
|
||||||
"pub_key": {
|
"pub_key": {
|
||||||
"type": "tendermint/PubKeyEd25519",
|
"type": "tendermint/PubKeyEd25519",
|
||||||
"value": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU="
|
"value": "RbdkQ5nm1sv1P9UkAucotnK9sUTjzGfMMsVLOGEBqx0="
|
||||||
},
|
},
|
||||||
"priv_key": {
|
"priv_key": {
|
||||||
"type": "tendermint/PrivKeyEd25519",
|
"type": "tendermint/PrivKeyEd25519",
|
||||||
"value": "H/y/XQLnbLKzR3Ey6VCCw0tu87VbA3GO4goA+PPz7VRxQlEPAfK3Lxkw7dy1Ko+97Nw4/ZJinVIMId3X9KkC5Q=="
|
"value": "sZurlJ9J5pjwmHRRbfl2bbNjXC0wd+TsdECAl1FSsLhFt2RDmebWy/U/1SQC5yi2cr2xROPMZ8wyxUs4YQGrHQ=="
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1 +0,0 @@
|
|||||||
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42ODc0MDc3ICswMDAwIFVUQyBtPSswLjIyNTIwMDMwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjgtN0l6TXhWUmhrMGlBM2kifQ.9c48lG_ZZDrQ5esu0Tw45oacS4V22SLEIChtqW14z17rJtZuS7XYuw.aVNkJGer3Dv--lIR.ulhj65STVqG5ciBObgXc-oyYndKuOzvp03PH9wnh3WTg77SSjwxpEkIMwd9DpkcfBSL0qBvN7aXLAFEG59ydL5GamUTOU94xFISet6dKjxSWbkBmq4_zWmUbe0Qas4eVvPsb6U5w0PIyVTkZwAHDeMtdaEXthBU1JE4biOoi0uICCJkFyqO01q5nrbN7d45EE8vijdPusxfn-abtvSvXLUTcr50nt_w5_YbxsSZnG52Ty2TiV_fjn_Wq.Aj72rrWgBh9fHj1CIoJ7lA
|
|
@ -1 +1 @@
|
|||||||
$2a$10$PUzdQ9WON1SgvDtewSKIUerA9LxW51qGoHj2EGZ5TT6oKfHXU7hcK
|
$2a$10$9MgTtGMoSpMZgGyxZnSA4uZL3J6x0ABdCHi1w9JhOVGUtFMMBe2mO
|
1
scripts/simapp44/template_slow/.simapp/myvalidator.info
Normal file
1
scripts/simapp44/template_slow/.simapp/myvalidator.info
Normal file
@ -0,0 +1 @@
|
|||||||
|
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1Njo1Ny44OTE0ODEzNCArMDAwMCBVVEMgbT0rMC41NTc0MjU4NzciLCJlbmMiOiJBMjU2R0NNIiwicDJjIjo4MTkyLCJwMnMiOiJNRTFoZW54WkNyaUpfdmxvIn0.WvNOuNRR6MLvrKI6mm2kTPMUKErQwAYSnBIPVO1_XikyYLdfxvtPKg.hcGTDIQB2rJxtwga.TZ4LEwk65Zj5i9PFrVbKJdx1jF0myj4HXuZOR1nslFVvKaFy22t3t073DFogapi27RZzyzUwenDSOY2RsQ5a7NPxfIBQPZ0tjxO9W2c4j-HJod-O3ViFgec3x2AXHP1XYlOdGXiBhq6cDRAoIVd10-ANCL3-ijpXTqGFde0-JmlKkd242QZzNIrg68shhspIgUMho2jzzGfMw5-yPJeoqkJTgdu9vBkpbP4I-Ey3LLyQ48UCQuSS3_5EGPHIdjqm_L6OInMl6jB_dOT2TlsjSLSuk_r4eFr4v7B82IifBFsy-o1VdLc_CqdYhbJJjFvPBUI5ZOdHybxZE-BBoFbCvGsEnK7xHdLozjanMuszuI1Dr3YMnRw.63JsRzaYAOe04zXkbMVAdw
|
@ -1 +0,0 @@
|
|||||||
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42Njk0MzQ3ICswMDAwIFVUQyBtPSswLjIwNzI1MDUwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjB4YU1QYjR4RVVHS29JeW4ifQ.jLK0jNefYAdHELJr3MPhajfSFJfTAre0yBzqnvS1rhzxou2ZMyMJ3w.4h0CQ8NAekW0lshZ.Cusi2aIkUmPlVKdkzjK7SpgrN8xrFcm_L3mf1zTNFfS1GEKHIjMd7a-c7XVOM06hXF_MuIvdCrlHRsWAzX9HgSPQ_T4aQDx8dzdj6iRxv0rwAKjSVLMpuqT3ASSENuPkP21niOuPCnKohVYACq0hpsrYoEt0wMSqnUF7Smz7-hbYmp4EleCEcvwas4qs2LM_hZWvAEFnNdDGFWeyGrNTXXbwXBpCFnWXH-F9FHVtexlwo0OCTJscWFazn8LVGOepO4mQRnsQQ4XMG6WL18Yclz7TmPi3WKkOHOdyhydu7KX_tAISy-jVpMX41kb5OLABuxXYSM6Q1wnyY4SUHvExJ1b41lSER11tIopHbh_Au6ifRRtD.kbUtqwd5x8QH52nHddfwcA
|
|
@ -23,12 +23,14 @@ echo "Setting up validator ..."
|
|||||||
if ! simd keys show validator 2>/dev/null; then
|
if ! simd keys show validator 2>/dev/null; then
|
||||||
echo "Validator does not yet exist. Creating it ..."
|
echo "Validator does not yet exist. Creating it ..."
|
||||||
(
|
(
|
||||||
|
# Constant key to get the same validator operator address (cosmosvaloper1...) every time
|
||||||
|
echo "gather series sample skin gate mask gossip between equip knife total stereo"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
) | simd keys add validator
|
) | simd keys add myvalidator --recover
|
||||||
fi
|
fi
|
||||||
# hardcode the validator account for this instance
|
# hardcode the validator account for this instance
|
||||||
echo "$PASSWORD" | simd add-genesis-account validator "$START_BALANCE"
|
echo "$PASSWORD" | simd add-genesis-account myvalidator "$START_BALANCE"
|
||||||
|
|
||||||
echo "Setting up accounts ..."
|
echo "Setting up accounts ..."
|
||||||
# (optionally) add a few more genesis accounts
|
# (optionally) add a few more genesis accounts
|
||||||
@ -43,5 +45,5 @@ SELF_DELEGATION="3000000$STAKE" # 3 STAKE (leads to a voting power of 3)
|
|||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
) | simd gentx validator "$SELF_DELEGATION" --offline --chain-id "$CHAIN_ID" --moniker="$MONIKER"
|
) | simd gentx myvalidator "$SELF_DELEGATION" --offline --chain-id "$CHAIN_ID" --moniker="$MONIKER"
|
||||||
simd collect-gentxs
|
simd collect-gentxs
|
||||||
|
@ -23,12 +23,14 @@ echo "Setting up validator ..."
|
|||||||
if ! simd keys show validator 2>/dev/null; then
|
if ! simd keys show validator 2>/dev/null; then
|
||||||
echo "Validator does not yet exist. Creating it ..."
|
echo "Validator does not yet exist. Creating it ..."
|
||||||
(
|
(
|
||||||
|
# Constant key to get the same validator operator address (cosmosvaloper1...) every time
|
||||||
|
echo "gather series sample skin gate mask gossip between equip knife total stereo"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
) | simd keys add validator
|
) | simd keys add myvalidator --recover
|
||||||
fi
|
fi
|
||||||
# hardcode the validator account for this instance
|
# hardcode the validator account for this instance
|
||||||
echo "$PASSWORD" | simd add-genesis-account validator "$START_BALANCE"
|
echo "$PASSWORD" | simd add-genesis-account myvalidator "$START_BALANCE"
|
||||||
|
|
||||||
echo "Setting up accounts ..."
|
echo "Setting up accounts ..."
|
||||||
# (optionally) add a few more genesis accounts
|
# (optionally) add a few more genesis accounts
|
||||||
@ -43,5 +45,5 @@ SELF_DELEGATION="3000000$STAKE" # 3 STAKE (leads to a voting power of 3)
|
|||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
) | simd gentx validator "$SELF_DELEGATION" --offline --chain-id "$CHAIN_ID" --moniker="$MONIKER"
|
) | simd gentx myvalidator "$SELF_DELEGATION" --offline --chain-id "$CHAIN_ID" --moniker="$MONIKER"
|
||||||
simd collect-gentxs
|
simd collect-gentxs
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1NzoyMC42OTQ2MjAzMzcgKzAwMDAgVVRDIG09KzAuNzM3NzIzMjUyIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiTXo5UXRHRVl3NlJjb2VpZyJ9.2DT85Nm1O5isKC3BWTrKefRKul9BNlPi4akG8bVL7q7BV0RmUPf7jw.QGgq3_rJgWAVPLuF.F8CgkixSfqV-CEVTrNa7pWCQle2TGS6Uul3ODyJL9Qw1K673M0QKrPS1p489gAKj2gbrkl_k8HJbFnVD92Z_PuZ-AOblFLYrGgDtJopgE5vEX9_VdPhyuugTC0EzjEYn_Xpnt93eScsUIYatgtuNFdfDcxAD9KC559tdmr5HbpaieHbvz8ivzXOuiY3KlhJ9LBwaXau_JOi8Igqr6t_6YmGl9mOXav1rNgKH3alAvt8nhXEyLeqOyzX8qtJnZA.JFjwolsjzyaTtHis0DEhJg
|
@ -6,7 +6,7 @@
|
|||||||
{
|
{
|
||||||
"@type": "/cosmos.auth.v1beta1.BaseAccount",
|
"@type": "/cosmos.auth.v1beta1.BaseAccount",
|
||||||
"account_number": "0",
|
"account_number": "0",
|
||||||
"address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679",
|
"address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy",
|
||||||
"pub_key": null,
|
"pub_key": null,
|
||||||
"sequence": "0"
|
"sequence": "0"
|
||||||
},
|
},
|
||||||
@ -216,6 +216,19 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy",
|
||||||
|
"coins": [
|
||||||
|
{
|
||||||
|
"amount": "1000000000",
|
||||||
|
"denom": "ucosm"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"amount": "2000000000",
|
||||||
|
"denom": "ustake"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh",
|
"address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh",
|
||||||
"coins": [
|
"coins": [
|
||||||
@ -385,19 +398,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679",
|
|
||||||
"coins": [
|
|
||||||
{
|
|
||||||
"amount": "1000000000",
|
|
||||||
"denom": "ucosm"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"amount": "2000000000",
|
|
||||||
"denom": "ustake"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta",
|
"address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta",
|
||||||
"coins": [
|
"coins": [
|
||||||
@ -526,7 +526,7 @@
|
|||||||
},
|
},
|
||||||
"public_key": {
|
"public_key": {
|
||||||
"@type": "/cosmos.crypto.secp256k1.PubKey",
|
"@type": "/cosmos.crypto.secp256k1.PubKey",
|
||||||
"key": "AtDcuH4cX1eaxZrJ5shheLG3tXPAoV4awoIZmNQtQxmf"
|
"key": "A0RZ3+xLf9xJiySHQxQsQtW8HJYEcniJKbFxG2R9ZEQv"
|
||||||
},
|
},
|
||||||
"sequence": "0"
|
"sequence": "0"
|
||||||
}
|
}
|
||||||
@ -535,7 +535,7 @@
|
|||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"extension_options": [],
|
"extension_options": [],
|
||||||
"memo": "ad7cdbcfe545eaaaea99378bc70bf22eef3401a4@172.17.0.2:26656",
|
"memo": "fac0774ed201669bde408e825964bb7385dd480a@172.17.0.3:26656",
|
||||||
"messages": [
|
"messages": [
|
||||||
{
|
{
|
||||||
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
|
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
|
||||||
@ -544,7 +544,7 @@
|
|||||||
"max_rate": "0.200000000000000000",
|
"max_rate": "0.200000000000000000",
|
||||||
"rate": "0.100000000000000000"
|
"rate": "0.100000000000000000"
|
||||||
},
|
},
|
||||||
"delegator_address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679",
|
"delegator_address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy",
|
||||||
"description": {
|
"description": {
|
||||||
"details": "",
|
"details": "",
|
||||||
"identity": "",
|
"identity": "",
|
||||||
@ -555,9 +555,9 @@
|
|||||||
"min_self_delegation": "1",
|
"min_self_delegation": "1",
|
||||||
"pubkey": {
|
"pubkey": {
|
||||||
"@type": "/cosmos.crypto.ed25519.PubKey",
|
"@type": "/cosmos.crypto.ed25519.PubKey",
|
||||||
"key": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU="
|
"key": "SCFgErmHrgS2Bl21oa6DZu3Ir2nMm3uwxyuQ7VmlYqg="
|
||||||
},
|
},
|
||||||
"validator_address": "cosmosvaloper1urk9gy7cfws0ak9x5nu7lx4un9n6gqkrp230jk",
|
"validator_address": "cosmosvaloper12nt2hqjps8r065wc02qks88tvqzdeua06e982h",
|
||||||
"value": {
|
"value": {
|
||||||
"amount": "3000000",
|
"amount": "3000000",
|
||||||
"denom": "ustake"
|
"denom": "ustake"
|
||||||
@ -568,7 +568,7 @@
|
|||||||
"timeout_height": "0"
|
"timeout_height": "0"
|
||||||
},
|
},
|
||||||
"signatures": [
|
"signatures": [
|
||||||
"XCvdrkjv/gl819FCH0rnfDiBm6xIc3Kj1EiN3c3tI/MSekAEEBqNT4FuFFtjVOgs5WT6RZTY75h1JxvHmMfm4g=="
|
"sEz8JeEL11vaOQA2q/1eIj25yMMYpuZDp4e0b/jEnA4jCD/S1oGafkrswdidVFYg5pvhI9+Svr30s/g7uasLJw=="
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -675,6 +675,6 @@
|
|||||||
},
|
},
|
||||||
"version": {}
|
"version": {}
|
||||||
},
|
},
|
||||||
"genesis_time": "2022-08-03T15:03:38.08791355Z",
|
"genesis_time": "2023-04-06T15:57:19.191373211Z",
|
||||||
"initial_height": "1"
|
"initial_height": "1"
|
||||||
}
|
}
|
||||||
|
@ -1 +0,0 @@
|
|||||||
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"simd-moniker","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679","validator_address":"cosmosvaloper1urk9gy7cfws0ak9x5nu7lx4un9n6gqkrp230jk","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU="},"value":{"denom":"ustake","amount":"3000000"}}],"memo":"ad7cdbcfe545eaaaea99378bc70bf22eef3401a4@172.17.0.2:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AtDcuH4cX1eaxZrJ5shheLG3tXPAoV4awoIZmNQtQxmf"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["XCvdrkjv/gl819FCH0rnfDiBm6xIc3Kj1EiN3c3tI/MSekAEEBqNT4FuFFtjVOgs5WT6RZTY75h1JxvHmMfm4g=="]}
|
|
@ -0,0 +1 @@
|
|||||||
|
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"simd-moniker","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy","validator_address":"cosmosvaloper12nt2hqjps8r065wc02qks88tvqzdeua06e982h","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"SCFgErmHrgS2Bl21oa6DZu3Ir2nMm3uwxyuQ7VmlYqg="},"value":{"denom":"ustake","amount":"3000000"}}],"memo":"fac0774ed201669bde408e825964bb7385dd480a@172.17.0.3:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A0RZ3+xLf9xJiySHQxQsQtW8HJYEcniJKbFxG2R9ZEQv"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["sEz8JeEL11vaOQA2q/1eIj25yMMYpuZDp4e0b/jEnA4jCD/S1oGafkrswdidVFYg5pvhI9+Svr30s/g7uasLJw=="]}
|
@ -1 +1 @@
|
|||||||
{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"VJWbZaD0jAkAh4VBLS9I2FDFwAKhbCYjs/ycVEDRNW6teVZgaxLnZ+mW3sMhvdIKY99DaD55h9L1MXkx8WsQ+g=="}}
|
{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"gAwL1/aEwF6sJy9dK4SHELTnqH0mozMc3CK2hHRyROUh++1u0vUd+9CKodt86l1qo8RSePirC+YL5u66rGr12Q=="}}
|
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"address": "30AF3420A11D7357C54EB716B209D4C3707D1BF3",
|
"address": "2CBA7FDAFE390D789C1810CD43D09653E9102D6A",
|
||||||
"pub_key": {
|
"pub_key": {
|
||||||
"type": "tendermint/PubKeyEd25519",
|
"type": "tendermint/PubKeyEd25519",
|
||||||
"value": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU="
|
"value": "SCFgErmHrgS2Bl21oa6DZu3Ir2nMm3uwxyuQ7VmlYqg="
|
||||||
},
|
},
|
||||||
"priv_key": {
|
"priv_key": {
|
||||||
"type": "tendermint/PrivKeyEd25519",
|
"type": "tendermint/PrivKeyEd25519",
|
||||||
"value": "H/y/XQLnbLKzR3Ey6VCCw0tu87VbA3GO4goA+PPz7VRxQlEPAfK3Lxkw7dy1Ko+97Nw4/ZJinVIMId3X9KkC5Q=="
|
"value": "HxzSKqfhIFL5SLOrUcTUN88wddmDh8FPR1lEALIb2ihIIWASuYeuBLYGXbWhroNm7civacybe7DHK5DtWaViqA=="
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1 +0,0 @@
|
|||||||
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42ODc0MDc3ICswMDAwIFVUQyBtPSswLjIyNTIwMDMwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjgtN0l6TXhWUmhrMGlBM2kifQ.9c48lG_ZZDrQ5esu0Tw45oacS4V22SLEIChtqW14z17rJtZuS7XYuw.aVNkJGer3Dv--lIR.ulhj65STVqG5ciBObgXc-oyYndKuOzvp03PH9wnh3WTg77SSjwxpEkIMwd9DpkcfBSL0qBvN7aXLAFEG59ydL5GamUTOU94xFISet6dKjxSWbkBmq4_zWmUbe0Qas4eVvPsb6U5w0PIyVTkZwAHDeMtdaEXthBU1JE4biOoi0uICCJkFyqO01q5nrbN7d45EE8vijdPusxfn-abtvSvXLUTcr50nt_w5_YbxsSZnG52Ty2TiV_fjn_Wq.Aj72rrWgBh9fHj1CIoJ7lA
|
|
@ -1 +1 @@
|
|||||||
$2a$10$PUzdQ9WON1SgvDtewSKIUerA9LxW51qGoHj2EGZ5TT6oKfHXU7hcK
|
$2a$10$/c.WuY6WLyLkyLcVCPJ3Q.Y7EMWrstHlpPTaXcDH2sGkSHus0Ycee
|
1
scripts/simapp46/template/.simapp/myvalidator.info
Normal file
1
scripts/simapp46/template/.simapp/myvalidator.info
Normal file
@ -0,0 +1 @@
|
|||||||
|
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1NzoyMC42NjA4NjIwODcgKzAwMDAgVVRDIG09KzAuNzAzOTY1MTI3IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiV293U3lrdHVTdkZsODdrcCJ9.4ZjAuPqYwkUGbieIQbWNIJxzBAJxNV_8ZEq6nagjG5_IvGZ1TCZT9g.7IhGubfOhMlOoFbm.N6-UoPoMyv9ctjmM02zeh6UBZrq12ETOZ5xnvjgbeeHxfBFlGqSnjCEO0Stu-iCGjtmRUyvJd7xn9bW-KbamWtE5e_BiziT-LFLNkrnqOZ7iNPoer9WT83-qqa5ny0LKfaXRYF-g2DOlZiz_MlxnK_UI3MpA2DRbMmHHuz7UbdcNik_eFeW1J1zJYCg96apDfwqD1VvfauCU4Jl9uv7dEYDtbtm__kOJwCnLmExtc0YpUiZP23tveNPgsBO9amXFyU-6II8qa6Se1rIko-xFWfbjJ8cjLmPFxmjHVJYIsGmwVk_hKGKyE4yhltxD2idh5Gl19k1KyEeISfYOOUcoChK6ybAjDTNzggXixOOe4SlaUT_6LD1FNQMse4Dwid9KTGhtwmCusZmNmNSA4nzkVnSDZTeg5hYtA3lFnZaHMiX38tBpc1BALxK7Uos0pjsxnmwvvIhQdcLWsA.UTlA10QP95owbRiQfw2IvA
|
@ -1 +0,0 @@
|
|||||||
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42Njk0MzQ3ICswMDAwIFVUQyBtPSswLjIwNzI1MDUwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjB4YU1QYjR4RVVHS29JeW4ifQ.jLK0jNefYAdHELJr3MPhajfSFJfTAre0yBzqnvS1rhzxou2ZMyMJ3w.4h0CQ8NAekW0lshZ.Cusi2aIkUmPlVKdkzjK7SpgrN8xrFcm_L3mf1zTNFfS1GEKHIjMd7a-c7XVOM06hXF_MuIvdCrlHRsWAzX9HgSPQ_T4aQDx8dzdj6iRxv0rwAKjSVLMpuqT3ASSENuPkP21niOuPCnKohVYACq0hpsrYoEt0wMSqnUF7Smz7-hbYmp4EleCEcvwas4qs2LM_hZWvAEFnNdDGFWeyGrNTXXbwXBpCFnWXH-F9FHVtexlwo0OCTJscWFazn8LVGOepO4mQRnsQQ4XMG6WL18Yclz7TmPi3WKkOHOdyhydu7KX_tAISy-jVpMX41kb5OLABuxXYSM6Q1wnyY4SUHvExJ1b41lSER11tIopHbh_Au6ifRRtD.kbUtqwd5x8QH52nHddfwcA
|
|
@ -23,12 +23,14 @@ echo "Setting up validator ..."
|
|||||||
if ! simd keys show validator 2>/dev/null; then
|
if ! simd keys show validator 2>/dev/null; then
|
||||||
echo "Validator does not yet exist. Creating it ..."
|
echo "Validator does not yet exist. Creating it ..."
|
||||||
(
|
(
|
||||||
|
# Constant key to get the same validator operator address (cosmosvaloper1...) every time
|
||||||
|
echo "gather series sample skin gate mask gossip between equip knife total stereo"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
) | simd keys add validator
|
) | simd keys add myvalidator --recover
|
||||||
fi
|
fi
|
||||||
# hardcode the validator account for this instance
|
# hardcode the validator account for this instance
|
||||||
echo "$PASSWORD" | simd add-genesis-account validator "$START_BALANCE"
|
echo "$PASSWORD" | simd add-genesis-account myvalidator "$START_BALANCE"
|
||||||
|
|
||||||
echo "Setting up accounts ..."
|
echo "Setting up accounts ..."
|
||||||
# (optionally) add a few more genesis accounts
|
# (optionally) add a few more genesis accounts
|
||||||
@ -43,5 +45,5 @@ SELF_DELEGATION="3000000$STAKE" # 3 STAKE (leads to a voting power of 3)
|
|||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
) | simd gentx validator "$SELF_DELEGATION" --offline --chain-id "$CHAIN_ID" --moniker="$MONIKER"
|
) | simd gentx myvalidator "$SELF_DELEGATION" --offline --chain-id "$CHAIN_ID" --moniker="$MONIKER"
|
||||||
simd collect-gentxs
|
simd collect-gentxs
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1NzoyMC42OTQ2MjAzMzcgKzAwMDAgVVRDIG09KzAuNzM3NzIzMjUyIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiTXo5UXRHRVl3NlJjb2VpZyJ9.2DT85Nm1O5isKC3BWTrKefRKul9BNlPi4akG8bVL7q7BV0RmUPf7jw.QGgq3_rJgWAVPLuF.F8CgkixSfqV-CEVTrNa7pWCQle2TGS6Uul3ODyJL9Qw1K673M0QKrPS1p489gAKj2gbrkl_k8HJbFnVD92Z_PuZ-AOblFLYrGgDtJopgE5vEX9_VdPhyuugTC0EzjEYn_Xpnt93eScsUIYatgtuNFdfDcxAD9KC559tdmr5HbpaieHbvz8ivzXOuiY3KlhJ9LBwaXau_JOi8Igqr6t_6YmGl9mOXav1rNgKH3alAvt8nhXEyLeqOyzX8qtJnZA.JFjwolsjzyaTtHis0DEhJg
|
@ -6,7 +6,7 @@
|
|||||||
{
|
{
|
||||||
"@type": "/cosmos.auth.v1beta1.BaseAccount",
|
"@type": "/cosmos.auth.v1beta1.BaseAccount",
|
||||||
"account_number": "0",
|
"account_number": "0",
|
||||||
"address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679",
|
"address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy",
|
||||||
"pub_key": null,
|
"pub_key": null,
|
||||||
"sequence": "0"
|
"sequence": "0"
|
||||||
},
|
},
|
||||||
@ -216,6 +216,19 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy",
|
||||||
|
"coins": [
|
||||||
|
{
|
||||||
|
"amount": "1000000000",
|
||||||
|
"denom": "ucosm"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"amount": "2000000000",
|
||||||
|
"denom": "ustake"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh",
|
"address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh",
|
||||||
"coins": [
|
"coins": [
|
||||||
@ -385,19 +398,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679",
|
|
||||||
"coins": [
|
|
||||||
{
|
|
||||||
"amount": "1000000000",
|
|
||||||
"denom": "ucosm"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"amount": "2000000000",
|
|
||||||
"denom": "ustake"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta",
|
"address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta",
|
||||||
"coins": [
|
"coins": [
|
||||||
@ -526,7 +526,7 @@
|
|||||||
},
|
},
|
||||||
"public_key": {
|
"public_key": {
|
||||||
"@type": "/cosmos.crypto.secp256k1.PubKey",
|
"@type": "/cosmos.crypto.secp256k1.PubKey",
|
||||||
"key": "AtDcuH4cX1eaxZrJ5shheLG3tXPAoV4awoIZmNQtQxmf"
|
"key": "A0RZ3+xLf9xJiySHQxQsQtW8HJYEcniJKbFxG2R9ZEQv"
|
||||||
},
|
},
|
||||||
"sequence": "0"
|
"sequence": "0"
|
||||||
}
|
}
|
||||||
@ -535,7 +535,7 @@
|
|||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"extension_options": [],
|
"extension_options": [],
|
||||||
"memo": "ad7cdbcfe545eaaaea99378bc70bf22eef3401a4@172.17.0.2:26656",
|
"memo": "fac0774ed201669bde408e825964bb7385dd480a@172.17.0.3:26656",
|
||||||
"messages": [
|
"messages": [
|
||||||
{
|
{
|
||||||
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
|
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
|
||||||
@ -544,7 +544,7 @@
|
|||||||
"max_rate": "0.200000000000000000",
|
"max_rate": "0.200000000000000000",
|
||||||
"rate": "0.100000000000000000"
|
"rate": "0.100000000000000000"
|
||||||
},
|
},
|
||||||
"delegator_address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679",
|
"delegator_address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy",
|
||||||
"description": {
|
"description": {
|
||||||
"details": "",
|
"details": "",
|
||||||
"identity": "",
|
"identity": "",
|
||||||
@ -555,9 +555,9 @@
|
|||||||
"min_self_delegation": "1",
|
"min_self_delegation": "1",
|
||||||
"pubkey": {
|
"pubkey": {
|
||||||
"@type": "/cosmos.crypto.ed25519.PubKey",
|
"@type": "/cosmos.crypto.ed25519.PubKey",
|
||||||
"key": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU="
|
"key": "SCFgErmHrgS2Bl21oa6DZu3Ir2nMm3uwxyuQ7VmlYqg="
|
||||||
},
|
},
|
||||||
"validator_address": "cosmosvaloper1urk9gy7cfws0ak9x5nu7lx4un9n6gqkrp230jk",
|
"validator_address": "cosmosvaloper12nt2hqjps8r065wc02qks88tvqzdeua06e982h",
|
||||||
"value": {
|
"value": {
|
||||||
"amount": "3000000",
|
"amount": "3000000",
|
||||||
"denom": "ustake"
|
"denom": "ustake"
|
||||||
@ -568,7 +568,7 @@
|
|||||||
"timeout_height": "0"
|
"timeout_height": "0"
|
||||||
},
|
},
|
||||||
"signatures": [
|
"signatures": [
|
||||||
"XCvdrkjv/gl819FCH0rnfDiBm6xIc3Kj1EiN3c3tI/MSekAEEBqNT4FuFFtjVOgs5WT6RZTY75h1JxvHmMfm4g=="
|
"sEz8JeEL11vaOQA2q/1eIj25yMMYpuZDp4e0b/jEnA4jCD/S1oGafkrswdidVFYg5pvhI9+Svr30s/g7uasLJw=="
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -675,6 +675,6 @@
|
|||||||
},
|
},
|
||||||
"version": {}
|
"version": {}
|
||||||
},
|
},
|
||||||
"genesis_time": "2022-08-03T15:03:38.08791355Z",
|
"genesis_time": "2023-04-06T15:57:19.191373211Z",
|
||||||
"initial_height": "1"
|
"initial_height": "1"
|
||||||
}
|
}
|
||||||
|
@ -1 +0,0 @@
|
|||||||
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"simd-moniker","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679","validator_address":"cosmosvaloper1urk9gy7cfws0ak9x5nu7lx4un9n6gqkrp230jk","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU="},"value":{"denom":"ustake","amount":"3000000"}}],"memo":"ad7cdbcfe545eaaaea99378bc70bf22eef3401a4@172.17.0.2:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AtDcuH4cX1eaxZrJ5shheLG3tXPAoV4awoIZmNQtQxmf"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["XCvdrkjv/gl819FCH0rnfDiBm6xIc3Kj1EiN3c3tI/MSekAEEBqNT4FuFFtjVOgs5WT6RZTY75h1JxvHmMfm4g=="]}
|
|
@ -0,0 +1 @@
|
|||||||
|
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"simd-moniker","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy","validator_address":"cosmosvaloper12nt2hqjps8r065wc02qks88tvqzdeua06e982h","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"SCFgErmHrgS2Bl21oa6DZu3Ir2nMm3uwxyuQ7VmlYqg="},"value":{"denom":"ustake","amount":"3000000"}}],"memo":"fac0774ed201669bde408e825964bb7385dd480a@172.17.0.3:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A0RZ3+xLf9xJiySHQxQsQtW8HJYEcniJKbFxG2R9ZEQv"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["sEz8JeEL11vaOQA2q/1eIj25yMMYpuZDp4e0b/jEnA4jCD/S1oGafkrswdidVFYg5pvhI9+Svr30s/g7uasLJw=="]}
|
@ -1 +1 @@
|
|||||||
{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"VJWbZaD0jAkAh4VBLS9I2FDFwAKhbCYjs/ycVEDRNW6teVZgaxLnZ+mW3sMhvdIKY99DaD55h9L1MXkx8WsQ+g=="}}
|
{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"gAwL1/aEwF6sJy9dK4SHELTnqH0mozMc3CK2hHRyROUh++1u0vUd+9CKodt86l1qo8RSePirC+YL5u66rGr12Q=="}}
|
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"address": "30AF3420A11D7357C54EB716B209D4C3707D1BF3",
|
"address": "2CBA7FDAFE390D789C1810CD43D09653E9102D6A",
|
||||||
"pub_key": {
|
"pub_key": {
|
||||||
"type": "tendermint/PubKeyEd25519",
|
"type": "tendermint/PubKeyEd25519",
|
||||||
"value": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU="
|
"value": "SCFgErmHrgS2Bl21oa6DZu3Ir2nMm3uwxyuQ7VmlYqg="
|
||||||
},
|
},
|
||||||
"priv_key": {
|
"priv_key": {
|
||||||
"type": "tendermint/PrivKeyEd25519",
|
"type": "tendermint/PrivKeyEd25519",
|
||||||
"value": "H/y/XQLnbLKzR3Ey6VCCw0tu87VbA3GO4goA+PPz7VRxQlEPAfK3Lxkw7dy1Ko+97Nw4/ZJinVIMId3X9KkC5Q=="
|
"value": "HxzSKqfhIFL5SLOrUcTUN88wddmDh8FPR1lEALIb2ihIIWASuYeuBLYGXbWhroNm7civacybe7DHK5DtWaViqA=="
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1 +0,0 @@
|
|||||||
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42ODc0MDc3ICswMDAwIFVUQyBtPSswLjIyNTIwMDMwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjgtN0l6TXhWUmhrMGlBM2kifQ.9c48lG_ZZDrQ5esu0Tw45oacS4V22SLEIChtqW14z17rJtZuS7XYuw.aVNkJGer3Dv--lIR.ulhj65STVqG5ciBObgXc-oyYndKuOzvp03PH9wnh3WTg77SSjwxpEkIMwd9DpkcfBSL0qBvN7aXLAFEG59ydL5GamUTOU94xFISet6dKjxSWbkBmq4_zWmUbe0Qas4eVvPsb6U5w0PIyVTkZwAHDeMtdaEXthBU1JE4biOoi0uICCJkFyqO01q5nrbN7d45EE8vijdPusxfn-abtvSvXLUTcr50nt_w5_YbxsSZnG52Ty2TiV_fjn_Wq.Aj72rrWgBh9fHj1CIoJ7lA
|
|
@ -1 +1 @@
|
|||||||
$2a$10$PUzdQ9WON1SgvDtewSKIUerA9LxW51qGoHj2EGZ5TT6oKfHXU7hcK
|
$2a$10$/c.WuY6WLyLkyLcVCPJ3Q.Y7EMWrstHlpPTaXcDH2sGkSHus0Ycee
|
1
scripts/simapp46/template_slow/.simapp/myvalidator.info
Normal file
1
scripts/simapp46/template_slow/.simapp/myvalidator.info
Normal file
@ -0,0 +1 @@
|
|||||||
|
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1NzoyMC42NjA4NjIwODcgKzAwMDAgVVRDIG09KzAuNzAzOTY1MTI3IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiV293U3lrdHVTdkZsODdrcCJ9.4ZjAuPqYwkUGbieIQbWNIJxzBAJxNV_8ZEq6nagjG5_IvGZ1TCZT9g.7IhGubfOhMlOoFbm.N6-UoPoMyv9ctjmM02zeh6UBZrq12ETOZ5xnvjgbeeHxfBFlGqSnjCEO0Stu-iCGjtmRUyvJd7xn9bW-KbamWtE5e_BiziT-LFLNkrnqOZ7iNPoer9WT83-qqa5ny0LKfaXRYF-g2DOlZiz_MlxnK_UI3MpA2DRbMmHHuz7UbdcNik_eFeW1J1zJYCg96apDfwqD1VvfauCU4Jl9uv7dEYDtbtm__kOJwCnLmExtc0YpUiZP23tveNPgsBO9amXFyU-6II8qa6Se1rIko-xFWfbjJ8cjLmPFxmjHVJYIsGmwVk_hKGKyE4yhltxD2idh5Gl19k1KyEeISfYOOUcoChK6ybAjDTNzggXixOOe4SlaUT_6LD1FNQMse4Dwid9KTGhtwmCusZmNmNSA4nzkVnSDZTeg5hYtA3lFnZaHMiX38tBpc1BALxK7Uos0pjsxnmwvvIhQdcLWsA.UTlA10QP95owbRiQfw2IvA
|
@ -1 +0,0 @@
|
|||||||
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42Njk0MzQ3ICswMDAwIFVUQyBtPSswLjIwNzI1MDUwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjB4YU1QYjR4RVVHS29JeW4ifQ.jLK0jNefYAdHELJr3MPhajfSFJfTAre0yBzqnvS1rhzxou2ZMyMJ3w.4h0CQ8NAekW0lshZ.Cusi2aIkUmPlVKdkzjK7SpgrN8xrFcm_L3mf1zTNFfS1GEKHIjMd7a-c7XVOM06hXF_MuIvdCrlHRsWAzX9HgSPQ_T4aQDx8dzdj6iRxv0rwAKjSVLMpuqT3ASSENuPkP21niOuPCnKohVYACq0hpsrYoEt0wMSqnUF7Smz7-hbYmp4EleCEcvwas4qs2LM_hZWvAEFnNdDGFWeyGrNTXXbwXBpCFnWXH-F9FHVtexlwo0OCTJscWFazn8LVGOepO4mQRnsQQ4XMG6WL18Yclz7TmPi3WKkOHOdyhydu7KX_tAISy-jVpMX41kb5OLABuxXYSM6Q1wnyY4SUHvExJ1b41lSER11tIopHbh_Au6ifRRtD.kbUtqwd5x8QH52nHddfwcA
|
|
@ -23,12 +23,14 @@ echo "Setting up validator ..."
|
|||||||
if ! simd keys show validator 2>/dev/null; then
|
if ! simd keys show validator 2>/dev/null; then
|
||||||
echo "Validator does not yet exist. Creating it ..."
|
echo "Validator does not yet exist. Creating it ..."
|
||||||
(
|
(
|
||||||
|
# Constant key to get the same validator operator address (cosmosvaloper1...) every time
|
||||||
|
echo "gather series sample skin gate mask gossip between equip knife total stereo"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
) | simd keys add validator
|
) | simd keys add myvalidator --recover
|
||||||
fi
|
fi
|
||||||
# hardcode the validator account for this instance
|
# hardcode the validator account for this instance
|
||||||
echo "$PASSWORD" | simd add-genesis-account validator "$START_BALANCE"
|
echo "$PASSWORD" | simd add-genesis-account myvalidator "$START_BALANCE"
|
||||||
|
|
||||||
echo "Setting up accounts ..."
|
echo "Setting up accounts ..."
|
||||||
# (optionally) add a few more genesis accounts
|
# (optionally) add a few more genesis accounts
|
||||||
@ -43,5 +45,5 @@ SELF_DELEGATION="3000000$STAKE" # 3 STAKE (leads to a voting power of 3)
|
|||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
echo "$PASSWORD"
|
echo "$PASSWORD"
|
||||||
) | simd gentx validator "$SELF_DELEGATION" --offline --chain-id "$CHAIN_ID" --moniker="$MONIKER"
|
) | simd gentx myvalidator "$SELF_DELEGATION" --offline --chain-id "$CHAIN_ID" --moniker="$MONIKER"
|
||||||
simd collect-gentxs
|
simd collect-gentxs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user