From 43c4358e1e9fd3c00411b00abfbd6bed667475e9 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 6 Apr 2023 18:02:33 +0200 Subject: [PATCH] Use new validator address for simapp44 and 46 --- scripts/simapp44/setup.sh | 8 +- ...824181c6fd51d87a81681ceb6004dcf3af.address | 1 + .../simapp44/template/.simapp/config/app.toml | 49 ++- .../template/.simapp/config/client.toml | 17 + .../template/.simapp/config/config.toml | 10 +- .../template/.simapp/config/genesis.json | 56 ++- ...b06d8489ba6958ef0f77ab797a674ef2451a2.json | 1 + ...cdbcfe545eaaaea99378bc70bf22eef3401a4.json | 1 - .../template/.simapp/config/node_key.json | 2 +- .../.simapp/config/priv_validator_key.json | 6 +- .../.simapp/data/priv_validator_state.json | 2 +- ...13d84ba0fed8a6a4f9ef9abc9967a402c3.address | 1 - scripts/simapp44/template/.simapp/keyhash | 2 +- .../template/.simapp/myvalidator.info | 1 + .../simapp44/template/.simapp/validator.info | 1 - scripts/simapp44/template/setup.sh | 8 +- ...824181c6fd51d87a81681ceb6004dcf3af.address | 1 + .../template_slow/.simapp/config/app.toml | 49 ++- .../template_slow/.simapp/config/client.toml | 17 + .../template_slow/.simapp/config/config.toml | 10 +- .../template_slow/.simapp/config/genesis.json | 333 ++---------------- ...b06d8489ba6958ef0f77ab797a674ef2451a2.json | 1 + ...cdbcfe545eaaaea99378bc70bf22eef3401a4.json | 1 - .../.simapp/config/node_key.json | 2 +- .../.simapp/config/priv_validator_key.json | 6 +- ...13d84ba0fed8a6a4f9ef9abc9967a402c3.address | 1 - .../simapp44/template_slow/.simapp/keyhash | 2 +- .../template_slow/.simapp/myvalidator.info | 1 + .../template_slow/.simapp/validator.info | 1 - scripts/simapp44/template_slow/setup.sh | 8 +- scripts/simapp46/setup.sh | 8 +- ...824181c6fd51d87a81681ceb6004dcf3af.address | 1 + .../template/.simapp/config/genesis.json | 42 +-- ...cdbcfe545eaaaea99378bc70bf22eef3401a4.json | 1 - ...0774ed201669bde408e825964bb7385dd480a.json | 1 + .../template/.simapp/config/node_key.json | 2 +- .../.simapp/config/priv_validator_key.json | 6 +- ...13d84ba0fed8a6a4f9ef9abc9967a402c3.address | 1 - scripts/simapp46/template/.simapp/keyhash | 2 +- .../template/.simapp/myvalidator.info | 1 + .../simapp46/template/.simapp/validator.info | 1 - scripts/simapp46/template/setup.sh | 8 +- ...824181c6fd51d87a81681ceb6004dcf3af.address | 1 + .../template_slow/.simapp/config/genesis.json | 42 +-- ...cdbcfe545eaaaea99378bc70bf22eef3401a4.json | 1 - ...0774ed201669bde408e825964bb7385dd480a.json | 1 + .../.simapp/config/node_key.json | 2 +- .../.simapp/config/priv_validator_key.json | 6 +- ...13d84ba0fed8a6a4f9ef9abc9967a402c3.address | 1 - .../simapp46/template_slow/.simapp/keyhash | 2 +- .../template_slow/.simapp/myvalidator.info | 1 + .../template_slow/.simapp/validator.info | 1 - scripts/simapp46/template_slow/setup.sh | 8 +- 53 files changed, 307 insertions(+), 432 deletions(-) create mode 100644 scripts/simapp44/template/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address create mode 100644 scripts/simapp44/template/.simapp/config/client.toml create mode 100644 scripts/simapp44/template/.simapp/config/gentx/gentx-0dbb06d8489ba6958ef0f77ab797a674ef2451a2.json delete mode 100644 scripts/simapp44/template/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json delete mode 100644 scripts/simapp44/template/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address create mode 100644 scripts/simapp44/template/.simapp/myvalidator.info delete mode 100644 scripts/simapp44/template/.simapp/validator.info create mode 100644 scripts/simapp44/template_slow/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address create mode 100644 scripts/simapp44/template_slow/.simapp/config/client.toml create mode 100644 scripts/simapp44/template_slow/.simapp/config/gentx/gentx-0dbb06d8489ba6958ef0f77ab797a674ef2451a2.json delete mode 100644 scripts/simapp44/template_slow/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json delete mode 100644 scripts/simapp44/template_slow/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address create mode 100644 scripts/simapp44/template_slow/.simapp/myvalidator.info delete mode 100644 scripts/simapp44/template_slow/.simapp/validator.info create mode 100644 scripts/simapp46/template/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address delete mode 100644 scripts/simapp46/template/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json create mode 100644 scripts/simapp46/template/.simapp/config/gentx/gentx-fac0774ed201669bde408e825964bb7385dd480a.json delete mode 100644 scripts/simapp46/template/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address create mode 100644 scripts/simapp46/template/.simapp/myvalidator.info delete mode 100644 scripts/simapp46/template/.simapp/validator.info create mode 100644 scripts/simapp46/template_slow/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address delete mode 100644 scripts/simapp46/template_slow/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json create mode 100644 scripts/simapp46/template_slow/.simapp/config/gentx/gentx-fac0774ed201669bde408e825964bb7385dd480a.json delete mode 100644 scripts/simapp46/template_slow/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address create mode 100644 scripts/simapp46/template_slow/.simapp/myvalidator.info delete mode 100644 scripts/simapp46/template_slow/.simapp/validator.info diff --git a/scripts/simapp44/setup.sh b/scripts/simapp44/setup.sh index 23648554..74888b43 100644 --- a/scripts/simapp44/setup.sh +++ b/scripts/simapp44/setup.sh @@ -23,12 +23,14 @@ echo "Setting up validator ..." if ! simd keys show validator 2>/dev/null; then 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" - ) | simd keys add validator + ) | simd keys add myvalidator --recover fi # 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 ..." # (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" -) | 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 diff --git a/scripts/simapp44/template/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address b/scripts/simapp44/template/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address new file mode 100644 index 00000000..b14a012a --- /dev/null +++ b/scripts/simapp44/template/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1Njo1Ny45MjYzNzk4ODIgKzAwMDAgVVRDIG09KzAuNTkyMzI0NTQzIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiTDFlYmQwa3ctVUZYN0NibSJ9.hIuLIr8AdbU8xnyNgHZ5MsG6srKoKZz9VJtVN2fc8y7vF77aArSpSw.Ak-8Jsy32o2ORSvZ.aQhvsd6kiOs_qvaLGS5sZAdg2k3UXwWKkZYqfLdGXT62m0f5hkOtzfaRGcVNDbQLawLig3PQlhZumPC776uUYN-OrlRQu1pcpforJRgWdtL8f2wj_paSMaxBWpOQ-qDHnumTLgIGbweDHg_eWVBNt4BOC6DNebA4snWJz1tlTr_2X54E8wpPd-p4oLwKGIrBKQnzVoGW-SfoXmrPeEWI9FIy2biqOqdDR9QTCmH5r7ejdng_XfWSnyLNSmC5zQ.fxxKnbD0FBqjjeBMUgHERQ \ No newline at end of file diff --git a/scripts/simapp44/template/.simapp/config/app.toml b/scripts/simapp44/template/.simapp/config/app.toml index 4855c250..c5c264cf 100644 --- a/scripts/simapp44/template/.simapp/config/app.toml +++ b/scripts/simapp44/template/.simapp/config/app.toml @@ -8,7 +8,7 @@ # 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 # 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 # 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). 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 ### ############################################################################### @@ -136,6 +160,22 @@ enable = true # Address defines the gRPC server address to bind to. 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 ### ############################################################################### @@ -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 = 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 \ No newline at end of file diff --git a/scripts/simapp44/template/.simapp/config/client.toml b/scripts/simapp44/template/.simapp/config/client.toml new file mode 100644 index 00000000..222695a3 --- /dev/null +++ b/scripts/simapp44/template/.simapp/config/client.toml @@ -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" +# : to Tendermint RPC interface for this chain +node = "tcp://localhost:26657" +# Transaction broadcasting mode (sync|async|block) +broadcast-mode = "sync" diff --git a/scripts/simapp44/template/.simapp/config/config.toml b/scripts/simapp44/template/.simapp/config/config.toml index 288d1d98..907046cb 100644 --- a/scripts/simapp44/template/.simapp/config/config.toml +++ b/scripts/simapp44/template/.simapp/config/config.toml @@ -177,7 +177,8 @@ laddr = "tcp://0.0.0.0:26656" # Address to advertise to peers for them to dial # If empty, will use the same port as the laddr, # 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 = "" # 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. 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 ### ####################################################### diff --git a/scripts/simapp44/template/.simapp/config/genesis.json b/scripts/simapp44/template/.simapp/config/genesis.json index 2ee88700..471e7a94 100644 --- a/scripts/simapp44/template/.simapp/config/genesis.json +++ b/scripts/simapp44/template/.simapp/config/genesis.json @@ -6,7 +6,7 @@ { "@type": "/cosmos.auth.v1beta1.BaseAccount", "account_number": "0", - "address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679", + "address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy", "pub_key": null, "sequence": "0" }, @@ -159,6 +159,9 @@ "tx_size_cost_per_byte": "10" } }, + "authz": { + "authorization": [] + }, "bank": { "balances": [ { @@ -213,6 +216,19 @@ } ] }, + { + "address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy", + "coins": [ + { + "amount": "1000000000", + "denom": "ucosm" + }, + { + "amount": "2000000000", + "denom": "ustake" + } + ] + }, { "address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh", "coins": [ @@ -382,19 +398,6 @@ } ] }, - { - "address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679", - "coins": [ - { - "amount": "1000000000", - "denom": "ucosm" - }, - { - "amount": "2000000000", - "denom": "ustake" - } - ] - }, { "address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta", "coins": [ @@ -501,6 +504,9 @@ "evidence": { "evidence": [] }, + "feegrant": { + "allowances": [] + }, "genutil": { "gen_txs": [ { @@ -520,7 +526,7 @@ }, "public_key": { "@type": "/cosmos.crypto.secp256k1.PubKey", - "key": "AtDcuH4cX1eaxZrJ5shheLG3tXPAoV4awoIZmNQtQxmf" + "key": "A0RZ3+xLf9xJiySHQxQsQtW8HJYEcniJKbFxG2R9ZEQv" }, "sequence": "0" } @@ -528,7 +534,7 @@ }, "body": { "extension_options": [], - "memo": "ad7cdbcfe545eaaaea99378bc70bf22eef3401a4@172.17.0.2:26656", + "memo": "0dbb06d8489ba6958ef0f77ab797a674ef2451a2@172.17.0.3:26656", "messages": [ { "@type": "/cosmos.staking.v1beta1.MsgCreateValidator", @@ -537,7 +543,7 @@ "max_rate": "0.200000000000000000", "rate": "0.100000000000000000" }, - "delegator_address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679", + "delegator_address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy", "description": { "details": "", "identity": "", @@ -548,9 +554,9 @@ "min_self_delegation": "1", "pubkey": { "@type": "/cosmos.crypto.ed25519.PubKey", - "key": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU=" + "key": "RbdkQ5nm1sv1P9UkAucotnK9sUTjzGfMMsVLOGEBqx0=" }, - "validator_address": "cosmosvaloper1urk9gy7cfws0ak9x5nu7lx4un9n6gqkrp230jk", + "validator_address": "cosmosvaloper12nt2hqjps8r065wc02qks88tvqzdeua06e982h", "value": { "amount": "3000000", "denom": "ustake" @@ -561,7 +567,7 @@ "timeout_height": "0" }, "signatures": [ - "XCvdrkjv/gl819FCH0rnfDiBm6xIc3Kj1EiN3c3tI/MSekAEEBqNT4FuFFtjVOgs5WT6RZTY75h1JxvHmMfm4g==" + "FUhoV9O/pb16AIvsWJ7bCBzktp9zq7iV/hF2PdcaDwpgc0+nsNX7lOv37EcaBrScDi1TBUGETjEzG80jD+L0zA==" ] } ] @@ -631,14 +637,6 @@ "unbonding_delegations": [], "validators": [] }, - "transfer": { - "denom_traces": [], - "params": { - "receive_enabled": true, - "send_enabled": true - }, - "port_id": "transfer" - }, "upgrade": {}, "vesting": {} }, @@ -661,6 +659,6 @@ }, "version": {} }, - "genesis_time": "2021-07-27T15:14:14.2361126Z", + "genesis_time": "2023-04-06T15:56:56.752766256Z", "initial_height": "1" } diff --git a/scripts/simapp44/template/.simapp/config/gentx/gentx-0dbb06d8489ba6958ef0f77ab797a674ef2451a2.json b/scripts/simapp44/template/.simapp/config/gentx/gentx-0dbb06d8489ba6958ef0f77ab797a674ef2451a2.json new file mode 100644 index 00000000..cfd4edbb --- /dev/null +++ b/scripts/simapp44/template/.simapp/config/gentx/gentx-0dbb06d8489ba6958ef0f77ab797a674ef2451a2.json @@ -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=="]} diff --git a/scripts/simapp44/template/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json b/scripts/simapp44/template/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json deleted file mode 100644 index 88c7c613..00000000 --- a/scripts/simapp44/template/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json +++ /dev/null @@ -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=="]} diff --git a/scripts/simapp44/template/.simapp/config/node_key.json b/scripts/simapp44/template/.simapp/config/node_key.json index 8eb3f72f..794f2589 100644 --- a/scripts/simapp44/template/.simapp/config/node_key.json +++ b/scripts/simapp44/template/.simapp/config/node_key.json @@ -1 +1 @@ -{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"VJWbZaD0jAkAh4VBLS9I2FDFwAKhbCYjs/ycVEDRNW6teVZgaxLnZ+mW3sMhvdIKY99DaD55h9L1MXkx8WsQ+g=="}} \ No newline at end of file +{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"F5Kf9O8/zSJIllRI0IWdHnKflvaJyAI2EBKwlFDwgsZDOXoICISKQUmSuvCrAMyJOWh6xY37DjbeQP29XboSgA=="}} \ No newline at end of file diff --git a/scripts/simapp44/template/.simapp/config/priv_validator_key.json b/scripts/simapp44/template/.simapp/config/priv_validator_key.json index cbb56b7a..f05292ae 100644 --- a/scripts/simapp44/template/.simapp/config/priv_validator_key.json +++ b/scripts/simapp44/template/.simapp/config/priv_validator_key.json @@ -1,11 +1,11 @@ { - "address": "30AF3420A11D7357C54EB716B209D4C3707D1BF3", + "address": "05FD2790155E3F5827FA30C00CD0E7240160CC39", "pub_key": { "type": "tendermint/PubKeyEd25519", - "value": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU=" + "value": "RbdkQ5nm1sv1P9UkAucotnK9sUTjzGfMMsVLOGEBqx0=" }, "priv_key": { "type": "tendermint/PrivKeyEd25519", - "value": "H/y/XQLnbLKzR3Ey6VCCw0tu87VbA3GO4goA+PPz7VRxQlEPAfK3Lxkw7dy1Ko+97Nw4/ZJinVIMId3X9KkC5Q==" + "value": "sZurlJ9J5pjwmHRRbfl2bbNjXC0wd+TsdECAl1FSsLhFt2RDmebWy/U/1SQC5yi2cr2xROPMZ8wyxUs4YQGrHQ==" } } \ No newline at end of file diff --git a/scripts/simapp44/template/.simapp/data/priv_validator_state.json b/scripts/simapp44/template/.simapp/data/priv_validator_state.json index 4dfbafad..48f3b67e 100644 --- a/scripts/simapp44/template/.simapp/data/priv_validator_state.json +++ b/scripts/simapp44/template/.simapp/data/priv_validator_state.json @@ -2,4 +2,4 @@ "height": "0", "round": 0, "step": 0 -} +} \ No newline at end of file diff --git a/scripts/simapp44/template/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address b/scripts/simapp44/template/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address deleted file mode 100644 index e79a087b..00000000 --- a/scripts/simapp44/template/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42ODc0MDc3ICswMDAwIFVUQyBtPSswLjIyNTIwMDMwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjgtN0l6TXhWUmhrMGlBM2kifQ.9c48lG_ZZDrQ5esu0Tw45oacS4V22SLEIChtqW14z17rJtZuS7XYuw.aVNkJGer3Dv--lIR.ulhj65STVqG5ciBObgXc-oyYndKuOzvp03PH9wnh3WTg77SSjwxpEkIMwd9DpkcfBSL0qBvN7aXLAFEG59ydL5GamUTOU94xFISet6dKjxSWbkBmq4_zWmUbe0Qas4eVvPsb6U5w0PIyVTkZwAHDeMtdaEXthBU1JE4biOoi0uICCJkFyqO01q5nrbN7d45EE8vijdPusxfn-abtvSvXLUTcr50nt_w5_YbxsSZnG52Ty2TiV_fjn_Wq.Aj72rrWgBh9fHj1CIoJ7lA \ No newline at end of file diff --git a/scripts/simapp44/template/.simapp/keyhash b/scripts/simapp44/template/.simapp/keyhash index 80f4992a..774737a1 100755 --- a/scripts/simapp44/template/.simapp/keyhash +++ b/scripts/simapp44/template/.simapp/keyhash @@ -1 +1 @@ -$2a$10$PUzdQ9WON1SgvDtewSKIUerA9LxW51qGoHj2EGZ5TT6oKfHXU7hcK \ No newline at end of file +$2a$10$9MgTtGMoSpMZgGyxZnSA4uZL3J6x0ABdCHi1w9JhOVGUtFMMBe2mO \ No newline at end of file diff --git a/scripts/simapp44/template/.simapp/myvalidator.info b/scripts/simapp44/template/.simapp/myvalidator.info new file mode 100644 index 00000000..4be7c566 --- /dev/null +++ b/scripts/simapp44/template/.simapp/myvalidator.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1Njo1Ny44OTE0ODEzNCArMDAwMCBVVEMgbT0rMC41NTc0MjU4NzciLCJlbmMiOiJBMjU2R0NNIiwicDJjIjo4MTkyLCJwMnMiOiJNRTFoZW54WkNyaUpfdmxvIn0.WvNOuNRR6MLvrKI6mm2kTPMUKErQwAYSnBIPVO1_XikyYLdfxvtPKg.hcGTDIQB2rJxtwga.TZ4LEwk65Zj5i9PFrVbKJdx1jF0myj4HXuZOR1nslFVvKaFy22t3t073DFogapi27RZzyzUwenDSOY2RsQ5a7NPxfIBQPZ0tjxO9W2c4j-HJod-O3ViFgec3x2AXHP1XYlOdGXiBhq6cDRAoIVd10-ANCL3-ijpXTqGFde0-JmlKkd242QZzNIrg68shhspIgUMho2jzzGfMw5-yPJeoqkJTgdu9vBkpbP4I-Ey3LLyQ48UCQuSS3_5EGPHIdjqm_L6OInMl6jB_dOT2TlsjSLSuk_r4eFr4v7B82IifBFsy-o1VdLc_CqdYhbJJjFvPBUI5ZOdHybxZE-BBoFbCvGsEnK7xHdLozjanMuszuI1Dr3YMnRw.63JsRzaYAOe04zXkbMVAdw \ No newline at end of file diff --git a/scripts/simapp44/template/.simapp/validator.info b/scripts/simapp44/template/.simapp/validator.info deleted file mode 100644 index 5c2daa91..00000000 --- a/scripts/simapp44/template/.simapp/validator.info +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42Njk0MzQ3ICswMDAwIFVUQyBtPSswLjIwNzI1MDUwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjB4YU1QYjR4RVVHS29JeW4ifQ.jLK0jNefYAdHELJr3MPhajfSFJfTAre0yBzqnvS1rhzxou2ZMyMJ3w.4h0CQ8NAekW0lshZ.Cusi2aIkUmPlVKdkzjK7SpgrN8xrFcm_L3mf1zTNFfS1GEKHIjMd7a-c7XVOM06hXF_MuIvdCrlHRsWAzX9HgSPQ_T4aQDx8dzdj6iRxv0rwAKjSVLMpuqT3ASSENuPkP21niOuPCnKohVYACq0hpsrYoEt0wMSqnUF7Smz7-hbYmp4EleCEcvwas4qs2LM_hZWvAEFnNdDGFWeyGrNTXXbwXBpCFnWXH-F9FHVtexlwo0OCTJscWFazn8LVGOepO4mQRnsQQ4XMG6WL18Yclz7TmPi3WKkOHOdyhydu7KX_tAISy-jVpMX41kb5OLABuxXYSM6Q1wnyY4SUHvExJ1b41lSER11tIopHbh_Au6ifRRtD.kbUtqwd5x8QH52nHddfwcA \ No newline at end of file diff --git a/scripts/simapp44/template/setup.sh b/scripts/simapp44/template/setup.sh index 23648554..74888b43 100755 --- a/scripts/simapp44/template/setup.sh +++ b/scripts/simapp44/template/setup.sh @@ -23,12 +23,14 @@ echo "Setting up validator ..." if ! simd keys show validator 2>/dev/null; then 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" - ) | simd keys add validator + ) | simd keys add myvalidator --recover fi # 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 ..." # (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" -) | 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 diff --git a/scripts/simapp44/template_slow/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address b/scripts/simapp44/template_slow/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address new file mode 100644 index 00000000..b14a012a --- /dev/null +++ b/scripts/simapp44/template_slow/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1Njo1Ny45MjYzNzk4ODIgKzAwMDAgVVRDIG09KzAuNTkyMzI0NTQzIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiTDFlYmQwa3ctVUZYN0NibSJ9.hIuLIr8AdbU8xnyNgHZ5MsG6srKoKZz9VJtVN2fc8y7vF77aArSpSw.Ak-8Jsy32o2ORSvZ.aQhvsd6kiOs_qvaLGS5sZAdg2k3UXwWKkZYqfLdGXT62m0f5hkOtzfaRGcVNDbQLawLig3PQlhZumPC776uUYN-OrlRQu1pcpforJRgWdtL8f2wj_paSMaxBWpOQ-qDHnumTLgIGbweDHg_eWVBNt4BOC6DNebA4snWJz1tlTr_2X54E8wpPd-p4oLwKGIrBKQnzVoGW-SfoXmrPeEWI9FIy2biqOqdDR9QTCmH5r7ejdng_XfWSnyLNSmC5zQ.fxxKnbD0FBqjjeBMUgHERQ \ No newline at end of file diff --git a/scripts/simapp44/template_slow/.simapp/config/app.toml b/scripts/simapp44/template_slow/.simapp/config/app.toml index 4855c250..c5c264cf 100644 --- a/scripts/simapp44/template_slow/.simapp/config/app.toml +++ b/scripts/simapp44/template_slow/.simapp/config/app.toml @@ -8,7 +8,7 @@ # 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 # 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 # 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). 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 ### ############################################################################### @@ -136,6 +160,22 @@ enable = true # Address defines the gRPC server address to bind to. 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 ### ############################################################################### @@ -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 = 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 \ No newline at end of file diff --git a/scripts/simapp44/template_slow/.simapp/config/client.toml b/scripts/simapp44/template_slow/.simapp/config/client.toml new file mode 100644 index 00000000..222695a3 --- /dev/null +++ b/scripts/simapp44/template_slow/.simapp/config/client.toml @@ -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" +# : to Tendermint RPC interface for this chain +node = "tcp://localhost:26657" +# Transaction broadcasting mode (sync|async|block) +broadcast-mode = "sync" diff --git a/scripts/simapp44/template_slow/.simapp/config/config.toml b/scripts/simapp44/template_slow/.simapp/config/config.toml index f00db58f..3bdff876 100644 --- a/scripts/simapp44/template_slow/.simapp/config/config.toml +++ b/scripts/simapp44/template_slow/.simapp/config/config.toml @@ -177,7 +177,8 @@ laddr = "tcp://0.0.0.0:26656" # Address to advertise to peers for them to dial # If empty, will use the same port as the laddr, # 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 = "" # 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. 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 ### ####################################################### diff --git a/scripts/simapp44/template_slow/.simapp/config/genesis.json b/scripts/simapp44/template_slow/.simapp/config/genesis.json index e9c0fb4f..a4bab1f9 100644 --- a/scripts/simapp44/template_slow/.simapp/config/genesis.json +++ b/scripts/simapp44/template_slow/.simapp/config/genesis.json @@ -6,7 +6,7 @@ { "@type": "/cosmos.auth.v1beta1.BaseAccount", "account_number": "0", - "address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679", + "address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy", "pub_key": null, "sequence": "0" }, @@ -159,6 +159,9 @@ "tx_size_cost_per_byte": "10" } }, + "authz": { + "authorization": [] + }, "bank": { "balances": [ { @@ -213,6 +216,19 @@ } ] }, + { + "address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy", + "coins": [ + { + "amount": "1000000000", + "denom": "ucosm" + }, + { + "amount": "2000000000", + "denom": "ustake" + } + ] + }, { "address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh", "coins": [ @@ -382,19 +398,6 @@ } ] }, - { - "address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679", - "coins": [ - { - "amount": "1000000000", - "denom": "ucosm" - }, - { - "amount": "2000000000", - "denom": "ustake" - } - ] - }, { "address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta", "coins": [ @@ -483,6 +486,9 @@ "evidence": { "evidence": [] }, + "feegrant": { + "allowances": [] + }, "genutil": { "gen_txs": [ { @@ -502,7 +508,7 @@ }, "public_key": { "@type": "/cosmos.crypto.secp256k1.PubKey", - "key": "AtDcuH4cX1eaxZrJ5shheLG3tXPAoV4awoIZmNQtQxmf" + "key": "A0RZ3+xLf9xJiySHQxQsQtW8HJYEcniJKbFxG2R9ZEQv" }, "sequence": "0" } @@ -510,7 +516,7 @@ }, "body": { "extension_options": [], - "memo": "ad7cdbcfe545eaaaea99378bc70bf22eef3401a4@172.17.0.2:26656", + "memo": "0dbb06d8489ba6958ef0f77ab797a674ef2451a2@172.17.0.3:26656", "messages": [ { "@type": "/cosmos.staking.v1beta1.MsgCreateValidator", @@ -519,7 +525,7 @@ "max_rate": "0.200000000000000000", "rate": "0.100000000000000000" }, - "delegator_address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679", + "delegator_address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy", "description": { "details": "", "identity": "", @@ -530,9 +536,9 @@ "min_self_delegation": "1", "pubkey": { "@type": "/cosmos.crypto.ed25519.PubKey", - "key": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU=" + "key": "RbdkQ5nm1sv1P9UkAucotnK9sUTjzGfMMsVLOGEBqx0=" }, - "validator_address": "cosmosvaloper1urk9gy7cfws0ak9x5nu7lx4un9n6gqkrp230jk", + "validator_address": "cosmosvaloper12nt2hqjps8r065wc02qks88tvqzdeua06e982h", "value": { "amount": "3000000", "denom": "ustake" @@ -543,7 +549,7 @@ "timeout_height": "0" }, "signatures": [ - "XCvdrkjv/gl819FCH0rnfDiBm6xIc3Kj1EiN3c3tI/MSekAEEBqNT4FuFFtjVOgs5WT6RZTY75h1JxvHmMfm4g==" + "FUhoV9O/pb16AIvsWJ7bCBzktp9zq7iV/hF2PdcaDwpgc0+nsNX7lOv37EcaBrScDi1TBUGETjEzG80jD+L0zA==" ] } ] @@ -571,283 +577,6 @@ "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": { "minter": { "annual_provisions": "0.000000000000000000", @@ -890,14 +619,6 @@ "unbonding_delegations": [], "validators": [] }, - "transfer": { - "denom_traces": [], - "params": { - "receive_enabled": true, - "send_enabled": true - }, - "port_id": "transfer" - }, "upgrade": {}, "vesting": {} }, @@ -920,6 +641,6 @@ }, "version": {} }, - "genesis_time": "2021-07-27T15:14:14.2361126Z", + "genesis_time": "2023-04-06T15:56:56.752766256Z", "initial_height": "1" } diff --git a/scripts/simapp44/template_slow/.simapp/config/gentx/gentx-0dbb06d8489ba6958ef0f77ab797a674ef2451a2.json b/scripts/simapp44/template_slow/.simapp/config/gentx/gentx-0dbb06d8489ba6958ef0f77ab797a674ef2451a2.json new file mode 100644 index 00000000..cfd4edbb --- /dev/null +++ b/scripts/simapp44/template_slow/.simapp/config/gentx/gentx-0dbb06d8489ba6958ef0f77ab797a674ef2451a2.json @@ -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=="]} diff --git a/scripts/simapp44/template_slow/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json b/scripts/simapp44/template_slow/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json deleted file mode 100644 index 88c7c613..00000000 --- a/scripts/simapp44/template_slow/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json +++ /dev/null @@ -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=="]} diff --git a/scripts/simapp44/template_slow/.simapp/config/node_key.json b/scripts/simapp44/template_slow/.simapp/config/node_key.json index 8eb3f72f..794f2589 100644 --- a/scripts/simapp44/template_slow/.simapp/config/node_key.json +++ b/scripts/simapp44/template_slow/.simapp/config/node_key.json @@ -1 +1 @@ -{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"VJWbZaD0jAkAh4VBLS9I2FDFwAKhbCYjs/ycVEDRNW6teVZgaxLnZ+mW3sMhvdIKY99DaD55h9L1MXkx8WsQ+g=="}} \ No newline at end of file +{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"F5Kf9O8/zSJIllRI0IWdHnKflvaJyAI2EBKwlFDwgsZDOXoICISKQUmSuvCrAMyJOWh6xY37DjbeQP29XboSgA=="}} \ No newline at end of file diff --git a/scripts/simapp44/template_slow/.simapp/config/priv_validator_key.json b/scripts/simapp44/template_slow/.simapp/config/priv_validator_key.json index cbb56b7a..f05292ae 100644 --- a/scripts/simapp44/template_slow/.simapp/config/priv_validator_key.json +++ b/scripts/simapp44/template_slow/.simapp/config/priv_validator_key.json @@ -1,11 +1,11 @@ { - "address": "30AF3420A11D7357C54EB716B209D4C3707D1BF3", + "address": "05FD2790155E3F5827FA30C00CD0E7240160CC39", "pub_key": { "type": "tendermint/PubKeyEd25519", - "value": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU=" + "value": "RbdkQ5nm1sv1P9UkAucotnK9sUTjzGfMMsVLOGEBqx0=" }, "priv_key": { "type": "tendermint/PrivKeyEd25519", - "value": "H/y/XQLnbLKzR3Ey6VCCw0tu87VbA3GO4goA+PPz7VRxQlEPAfK3Lxkw7dy1Ko+97Nw4/ZJinVIMId3X9KkC5Q==" + "value": "sZurlJ9J5pjwmHRRbfl2bbNjXC0wd+TsdECAl1FSsLhFt2RDmebWy/U/1SQC5yi2cr2xROPMZ8wyxUs4YQGrHQ==" } } \ No newline at end of file diff --git a/scripts/simapp44/template_slow/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address b/scripts/simapp44/template_slow/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address deleted file mode 100644 index e79a087b..00000000 --- a/scripts/simapp44/template_slow/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42ODc0MDc3ICswMDAwIFVUQyBtPSswLjIyNTIwMDMwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjgtN0l6TXhWUmhrMGlBM2kifQ.9c48lG_ZZDrQ5esu0Tw45oacS4V22SLEIChtqW14z17rJtZuS7XYuw.aVNkJGer3Dv--lIR.ulhj65STVqG5ciBObgXc-oyYndKuOzvp03PH9wnh3WTg77SSjwxpEkIMwd9DpkcfBSL0qBvN7aXLAFEG59ydL5GamUTOU94xFISet6dKjxSWbkBmq4_zWmUbe0Qas4eVvPsb6U5w0PIyVTkZwAHDeMtdaEXthBU1JE4biOoi0uICCJkFyqO01q5nrbN7d45EE8vijdPusxfn-abtvSvXLUTcr50nt_w5_YbxsSZnG52Ty2TiV_fjn_Wq.Aj72rrWgBh9fHj1CIoJ7lA \ No newline at end of file diff --git a/scripts/simapp44/template_slow/.simapp/keyhash b/scripts/simapp44/template_slow/.simapp/keyhash index 80f4992a..774737a1 100755 --- a/scripts/simapp44/template_slow/.simapp/keyhash +++ b/scripts/simapp44/template_slow/.simapp/keyhash @@ -1 +1 @@ -$2a$10$PUzdQ9WON1SgvDtewSKIUerA9LxW51qGoHj2EGZ5TT6oKfHXU7hcK \ No newline at end of file +$2a$10$9MgTtGMoSpMZgGyxZnSA4uZL3J6x0ABdCHi1w9JhOVGUtFMMBe2mO \ No newline at end of file diff --git a/scripts/simapp44/template_slow/.simapp/myvalidator.info b/scripts/simapp44/template_slow/.simapp/myvalidator.info new file mode 100644 index 00000000..4be7c566 --- /dev/null +++ b/scripts/simapp44/template_slow/.simapp/myvalidator.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1Njo1Ny44OTE0ODEzNCArMDAwMCBVVEMgbT0rMC41NTc0MjU4NzciLCJlbmMiOiJBMjU2R0NNIiwicDJjIjo4MTkyLCJwMnMiOiJNRTFoZW54WkNyaUpfdmxvIn0.WvNOuNRR6MLvrKI6mm2kTPMUKErQwAYSnBIPVO1_XikyYLdfxvtPKg.hcGTDIQB2rJxtwga.TZ4LEwk65Zj5i9PFrVbKJdx1jF0myj4HXuZOR1nslFVvKaFy22t3t073DFogapi27RZzyzUwenDSOY2RsQ5a7NPxfIBQPZ0tjxO9W2c4j-HJod-O3ViFgec3x2AXHP1XYlOdGXiBhq6cDRAoIVd10-ANCL3-ijpXTqGFde0-JmlKkd242QZzNIrg68shhspIgUMho2jzzGfMw5-yPJeoqkJTgdu9vBkpbP4I-Ey3LLyQ48UCQuSS3_5EGPHIdjqm_L6OInMl6jB_dOT2TlsjSLSuk_r4eFr4v7B82IifBFsy-o1VdLc_CqdYhbJJjFvPBUI5ZOdHybxZE-BBoFbCvGsEnK7xHdLozjanMuszuI1Dr3YMnRw.63JsRzaYAOe04zXkbMVAdw \ No newline at end of file diff --git a/scripts/simapp44/template_slow/.simapp/validator.info b/scripts/simapp44/template_slow/.simapp/validator.info deleted file mode 100644 index 5c2daa91..00000000 --- a/scripts/simapp44/template_slow/.simapp/validator.info +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42Njk0MzQ3ICswMDAwIFVUQyBtPSswLjIwNzI1MDUwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjB4YU1QYjR4RVVHS29JeW4ifQ.jLK0jNefYAdHELJr3MPhajfSFJfTAre0yBzqnvS1rhzxou2ZMyMJ3w.4h0CQ8NAekW0lshZ.Cusi2aIkUmPlVKdkzjK7SpgrN8xrFcm_L3mf1zTNFfS1GEKHIjMd7a-c7XVOM06hXF_MuIvdCrlHRsWAzX9HgSPQ_T4aQDx8dzdj6iRxv0rwAKjSVLMpuqT3ASSENuPkP21niOuPCnKohVYACq0hpsrYoEt0wMSqnUF7Smz7-hbYmp4EleCEcvwas4qs2LM_hZWvAEFnNdDGFWeyGrNTXXbwXBpCFnWXH-F9FHVtexlwo0OCTJscWFazn8LVGOepO4mQRnsQQ4XMG6WL18Yclz7TmPi3WKkOHOdyhydu7KX_tAISy-jVpMX41kb5OLABuxXYSM6Q1wnyY4SUHvExJ1b41lSER11tIopHbh_Au6ifRRtD.kbUtqwd5x8QH52nHddfwcA \ No newline at end of file diff --git a/scripts/simapp44/template_slow/setup.sh b/scripts/simapp44/template_slow/setup.sh index 23648554..74888b43 100755 --- a/scripts/simapp44/template_slow/setup.sh +++ b/scripts/simapp44/template_slow/setup.sh @@ -23,12 +23,14 @@ echo "Setting up validator ..." if ! simd keys show validator 2>/dev/null; then 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" - ) | simd keys add validator + ) | simd keys add myvalidator --recover fi # 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 ..." # (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" -) | 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 diff --git a/scripts/simapp46/setup.sh b/scripts/simapp46/setup.sh index 23648554..74888b43 100644 --- a/scripts/simapp46/setup.sh +++ b/scripts/simapp46/setup.sh @@ -23,12 +23,14 @@ echo "Setting up validator ..." if ! simd keys show validator 2>/dev/null; then 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" - ) | simd keys add validator + ) | simd keys add myvalidator --recover fi # 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 ..." # (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" -) | 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 diff --git a/scripts/simapp46/template/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address b/scripts/simapp46/template/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address new file mode 100644 index 00000000..fadfadfa --- /dev/null +++ b/scripts/simapp46/template/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1NzoyMC42OTQ2MjAzMzcgKzAwMDAgVVRDIG09KzAuNzM3NzIzMjUyIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiTXo5UXRHRVl3NlJjb2VpZyJ9.2DT85Nm1O5isKC3BWTrKefRKul9BNlPi4akG8bVL7q7BV0RmUPf7jw.QGgq3_rJgWAVPLuF.F8CgkixSfqV-CEVTrNa7pWCQle2TGS6Uul3ODyJL9Qw1K673M0QKrPS1p489gAKj2gbrkl_k8HJbFnVD92Z_PuZ-AOblFLYrGgDtJopgE5vEX9_VdPhyuugTC0EzjEYn_Xpnt93eScsUIYatgtuNFdfDcxAD9KC559tdmr5HbpaieHbvz8ivzXOuiY3KlhJ9LBwaXau_JOi8Igqr6t_6YmGl9mOXav1rNgKH3alAvt8nhXEyLeqOyzX8qtJnZA.JFjwolsjzyaTtHis0DEhJg \ No newline at end of file diff --git a/scripts/simapp46/template/.simapp/config/genesis.json b/scripts/simapp46/template/.simapp/config/genesis.json index 5a1d3cf5..e2afd9bc 100644 --- a/scripts/simapp46/template/.simapp/config/genesis.json +++ b/scripts/simapp46/template/.simapp/config/genesis.json @@ -6,7 +6,7 @@ { "@type": "/cosmos.auth.v1beta1.BaseAccount", "account_number": "0", - "address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679", + "address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy", "pub_key": null, "sequence": "0" }, @@ -216,6 +216,19 @@ } ] }, + { + "address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy", + "coins": [ + { + "amount": "1000000000", + "denom": "ucosm" + }, + { + "amount": "2000000000", + "denom": "ustake" + } + ] + }, { "address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh", "coins": [ @@ -385,19 +398,6 @@ } ] }, - { - "address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679", - "coins": [ - { - "amount": "1000000000", - "denom": "ucosm" - }, - { - "amount": "2000000000", - "denom": "ustake" - } - ] - }, { "address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta", "coins": [ @@ -526,7 +526,7 @@ }, "public_key": { "@type": "/cosmos.crypto.secp256k1.PubKey", - "key": "AtDcuH4cX1eaxZrJ5shheLG3tXPAoV4awoIZmNQtQxmf" + "key": "A0RZ3+xLf9xJiySHQxQsQtW8HJYEcniJKbFxG2R9ZEQv" }, "sequence": "0" } @@ -535,7 +535,7 @@ }, "body": { "extension_options": [], - "memo": "ad7cdbcfe545eaaaea99378bc70bf22eef3401a4@172.17.0.2:26656", + "memo": "fac0774ed201669bde408e825964bb7385dd480a@172.17.0.3:26656", "messages": [ { "@type": "/cosmos.staking.v1beta1.MsgCreateValidator", @@ -544,7 +544,7 @@ "max_rate": "0.200000000000000000", "rate": "0.100000000000000000" }, - "delegator_address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679", + "delegator_address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy", "description": { "details": "", "identity": "", @@ -555,9 +555,9 @@ "min_self_delegation": "1", "pubkey": { "@type": "/cosmos.crypto.ed25519.PubKey", - "key": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU=" + "key": "SCFgErmHrgS2Bl21oa6DZu3Ir2nMm3uwxyuQ7VmlYqg=" }, - "validator_address": "cosmosvaloper1urk9gy7cfws0ak9x5nu7lx4un9n6gqkrp230jk", + "validator_address": "cosmosvaloper12nt2hqjps8r065wc02qks88tvqzdeua06e982h", "value": { "amount": "3000000", "denom": "ustake" @@ -568,7 +568,7 @@ "timeout_height": "0" }, "signatures": [ - "XCvdrkjv/gl819FCH0rnfDiBm6xIc3Kj1EiN3c3tI/MSekAEEBqNT4FuFFtjVOgs5WT6RZTY75h1JxvHmMfm4g==" + "sEz8JeEL11vaOQA2q/1eIj25yMMYpuZDp4e0b/jEnA4jCD/S1oGafkrswdidVFYg5pvhI9+Svr30s/g7uasLJw==" ] } ] @@ -675,6 +675,6 @@ }, "version": {} }, - "genesis_time": "2022-08-03T15:03:38.08791355Z", + "genesis_time": "2023-04-06T15:57:19.191373211Z", "initial_height": "1" } diff --git a/scripts/simapp46/template/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json b/scripts/simapp46/template/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json deleted file mode 100644 index 88c7c613..00000000 --- a/scripts/simapp46/template/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json +++ /dev/null @@ -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=="]} diff --git a/scripts/simapp46/template/.simapp/config/gentx/gentx-fac0774ed201669bde408e825964bb7385dd480a.json b/scripts/simapp46/template/.simapp/config/gentx/gentx-fac0774ed201669bde408e825964bb7385dd480a.json new file mode 100644 index 00000000..426344f5 --- /dev/null +++ b/scripts/simapp46/template/.simapp/config/gentx/gentx-fac0774ed201669bde408e825964bb7385dd480a.json @@ -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=="]} diff --git a/scripts/simapp46/template/.simapp/config/node_key.json b/scripts/simapp46/template/.simapp/config/node_key.json index 8eb3f72f..3eb29c08 100644 --- a/scripts/simapp46/template/.simapp/config/node_key.json +++ b/scripts/simapp46/template/.simapp/config/node_key.json @@ -1 +1 @@ -{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"VJWbZaD0jAkAh4VBLS9I2FDFwAKhbCYjs/ycVEDRNW6teVZgaxLnZ+mW3sMhvdIKY99DaD55h9L1MXkx8WsQ+g=="}} \ No newline at end of file +{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"gAwL1/aEwF6sJy9dK4SHELTnqH0mozMc3CK2hHRyROUh++1u0vUd+9CKodt86l1qo8RSePirC+YL5u66rGr12Q=="}} \ No newline at end of file diff --git a/scripts/simapp46/template/.simapp/config/priv_validator_key.json b/scripts/simapp46/template/.simapp/config/priv_validator_key.json index cbb56b7a..aeaf130d 100644 --- a/scripts/simapp46/template/.simapp/config/priv_validator_key.json +++ b/scripts/simapp46/template/.simapp/config/priv_validator_key.json @@ -1,11 +1,11 @@ { - "address": "30AF3420A11D7357C54EB716B209D4C3707D1BF3", + "address": "2CBA7FDAFE390D789C1810CD43D09653E9102D6A", "pub_key": { "type": "tendermint/PubKeyEd25519", - "value": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU=" + "value": "SCFgErmHrgS2Bl21oa6DZu3Ir2nMm3uwxyuQ7VmlYqg=" }, "priv_key": { "type": "tendermint/PrivKeyEd25519", - "value": "H/y/XQLnbLKzR3Ey6VCCw0tu87VbA3GO4goA+PPz7VRxQlEPAfK3Lxkw7dy1Ko+97Nw4/ZJinVIMId3X9KkC5Q==" + "value": "HxzSKqfhIFL5SLOrUcTUN88wddmDh8FPR1lEALIb2ihIIWASuYeuBLYGXbWhroNm7civacybe7DHK5DtWaViqA==" } } \ No newline at end of file diff --git a/scripts/simapp46/template/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address b/scripts/simapp46/template/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address deleted file mode 100644 index e79a087b..00000000 --- a/scripts/simapp46/template/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42ODc0MDc3ICswMDAwIFVUQyBtPSswLjIyNTIwMDMwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjgtN0l6TXhWUmhrMGlBM2kifQ.9c48lG_ZZDrQ5esu0Tw45oacS4V22SLEIChtqW14z17rJtZuS7XYuw.aVNkJGer3Dv--lIR.ulhj65STVqG5ciBObgXc-oyYndKuOzvp03PH9wnh3WTg77SSjwxpEkIMwd9DpkcfBSL0qBvN7aXLAFEG59ydL5GamUTOU94xFISet6dKjxSWbkBmq4_zWmUbe0Qas4eVvPsb6U5w0PIyVTkZwAHDeMtdaEXthBU1JE4biOoi0uICCJkFyqO01q5nrbN7d45EE8vijdPusxfn-abtvSvXLUTcr50nt_w5_YbxsSZnG52Ty2TiV_fjn_Wq.Aj72rrWgBh9fHj1CIoJ7lA \ No newline at end of file diff --git a/scripts/simapp46/template/.simapp/keyhash b/scripts/simapp46/template/.simapp/keyhash index 80f4992a..6329e618 100755 --- a/scripts/simapp46/template/.simapp/keyhash +++ b/scripts/simapp46/template/.simapp/keyhash @@ -1 +1 @@ -$2a$10$PUzdQ9WON1SgvDtewSKIUerA9LxW51qGoHj2EGZ5TT6oKfHXU7hcK \ No newline at end of file +$2a$10$/c.WuY6WLyLkyLcVCPJ3Q.Y7EMWrstHlpPTaXcDH2sGkSHus0Ycee \ No newline at end of file diff --git a/scripts/simapp46/template/.simapp/myvalidator.info b/scripts/simapp46/template/.simapp/myvalidator.info new file mode 100644 index 00000000..03897004 --- /dev/null +++ b/scripts/simapp46/template/.simapp/myvalidator.info @@ -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 \ No newline at end of file diff --git a/scripts/simapp46/template/.simapp/validator.info b/scripts/simapp46/template/.simapp/validator.info deleted file mode 100644 index 5c2daa91..00000000 --- a/scripts/simapp46/template/.simapp/validator.info +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42Njk0MzQ3ICswMDAwIFVUQyBtPSswLjIwNzI1MDUwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjB4YU1QYjR4RVVHS29JeW4ifQ.jLK0jNefYAdHELJr3MPhajfSFJfTAre0yBzqnvS1rhzxou2ZMyMJ3w.4h0CQ8NAekW0lshZ.Cusi2aIkUmPlVKdkzjK7SpgrN8xrFcm_L3mf1zTNFfS1GEKHIjMd7a-c7XVOM06hXF_MuIvdCrlHRsWAzX9HgSPQ_T4aQDx8dzdj6iRxv0rwAKjSVLMpuqT3ASSENuPkP21niOuPCnKohVYACq0hpsrYoEt0wMSqnUF7Smz7-hbYmp4EleCEcvwas4qs2LM_hZWvAEFnNdDGFWeyGrNTXXbwXBpCFnWXH-F9FHVtexlwo0OCTJscWFazn8LVGOepO4mQRnsQQ4XMG6WL18Yclz7TmPi3WKkOHOdyhydu7KX_tAISy-jVpMX41kb5OLABuxXYSM6Q1wnyY4SUHvExJ1b41lSER11tIopHbh_Au6ifRRtD.kbUtqwd5x8QH52nHddfwcA \ No newline at end of file diff --git a/scripts/simapp46/template/setup.sh b/scripts/simapp46/template/setup.sh index 23648554..74888b43 100755 --- a/scripts/simapp46/template/setup.sh +++ b/scripts/simapp46/template/setup.sh @@ -23,12 +23,14 @@ echo "Setting up validator ..." if ! simd keys show validator 2>/dev/null; then 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" - ) | simd keys add validator + ) | simd keys add myvalidator --recover fi # 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 ..." # (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" -) | 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 diff --git a/scripts/simapp46/template_slow/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address b/scripts/simapp46/template_slow/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address new file mode 100644 index 00000000..fadfadfa --- /dev/null +++ b/scripts/simapp46/template_slow/.simapp/54d6ab824181c6fd51d87a81681ceb6004dcf3af.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wNC0wNiAxNTo1NzoyMC42OTQ2MjAzMzcgKzAwMDAgVVRDIG09KzAuNzM3NzIzMjUyIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiTXo5UXRHRVl3NlJjb2VpZyJ9.2DT85Nm1O5isKC3BWTrKefRKul9BNlPi4akG8bVL7q7BV0RmUPf7jw.QGgq3_rJgWAVPLuF.F8CgkixSfqV-CEVTrNa7pWCQle2TGS6Uul3ODyJL9Qw1K673M0QKrPS1p489gAKj2gbrkl_k8HJbFnVD92Z_PuZ-AOblFLYrGgDtJopgE5vEX9_VdPhyuugTC0EzjEYn_Xpnt93eScsUIYatgtuNFdfDcxAD9KC559tdmr5HbpaieHbvz8ivzXOuiY3KlhJ9LBwaXau_JOi8Igqr6t_6YmGl9mOXav1rNgKH3alAvt8nhXEyLeqOyzX8qtJnZA.JFjwolsjzyaTtHis0DEhJg \ No newline at end of file diff --git a/scripts/simapp46/template_slow/.simapp/config/genesis.json b/scripts/simapp46/template_slow/.simapp/config/genesis.json index 5a1d3cf5..e2afd9bc 100644 --- a/scripts/simapp46/template_slow/.simapp/config/genesis.json +++ b/scripts/simapp46/template_slow/.simapp/config/genesis.json @@ -6,7 +6,7 @@ { "@type": "/cosmos.auth.v1beta1.BaseAccount", "account_number": "0", - "address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679", + "address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy", "pub_key": null, "sequence": "0" }, @@ -216,6 +216,19 @@ } ] }, + { + "address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy", + "coins": [ + { + "amount": "1000000000", + "denom": "ucosm" + }, + { + "amount": "2000000000", + "denom": "ustake" + } + ] + }, { "address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh", "coins": [ @@ -385,19 +398,6 @@ } ] }, - { - "address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679", - "coins": [ - { - "amount": "1000000000", - "denom": "ucosm" - }, - { - "amount": "2000000000", - "denom": "ustake" - } - ] - }, { "address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta", "coins": [ @@ -526,7 +526,7 @@ }, "public_key": { "@type": "/cosmos.crypto.secp256k1.PubKey", - "key": "AtDcuH4cX1eaxZrJ5shheLG3tXPAoV4awoIZmNQtQxmf" + "key": "A0RZ3+xLf9xJiySHQxQsQtW8HJYEcniJKbFxG2R9ZEQv" }, "sequence": "0" } @@ -535,7 +535,7 @@ }, "body": { "extension_options": [], - "memo": "ad7cdbcfe545eaaaea99378bc70bf22eef3401a4@172.17.0.2:26656", + "memo": "fac0774ed201669bde408e825964bb7385dd480a@172.17.0.3:26656", "messages": [ { "@type": "/cosmos.staking.v1beta1.MsgCreateValidator", @@ -544,7 +544,7 @@ "max_rate": "0.200000000000000000", "rate": "0.100000000000000000" }, - "delegator_address": "cosmos1urk9gy7cfws0ak9x5nu7lx4un9n6gqkry79679", + "delegator_address": "cosmos12nt2hqjps8r065wc02qks88tvqzdeua0ld3jxy", "description": { "details": "", "identity": "", @@ -555,9 +555,9 @@ "min_self_delegation": "1", "pubkey": { "@type": "/cosmos.crypto.ed25519.PubKey", - "key": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU=" + "key": "SCFgErmHrgS2Bl21oa6DZu3Ir2nMm3uwxyuQ7VmlYqg=" }, - "validator_address": "cosmosvaloper1urk9gy7cfws0ak9x5nu7lx4un9n6gqkrp230jk", + "validator_address": "cosmosvaloper12nt2hqjps8r065wc02qks88tvqzdeua06e982h", "value": { "amount": "3000000", "denom": "ustake" @@ -568,7 +568,7 @@ "timeout_height": "0" }, "signatures": [ - "XCvdrkjv/gl819FCH0rnfDiBm6xIc3Kj1EiN3c3tI/MSekAEEBqNT4FuFFtjVOgs5WT6RZTY75h1JxvHmMfm4g==" + "sEz8JeEL11vaOQA2q/1eIj25yMMYpuZDp4e0b/jEnA4jCD/S1oGafkrswdidVFYg5pvhI9+Svr30s/g7uasLJw==" ] } ] @@ -675,6 +675,6 @@ }, "version": {} }, - "genesis_time": "2022-08-03T15:03:38.08791355Z", + "genesis_time": "2023-04-06T15:57:19.191373211Z", "initial_height": "1" } diff --git a/scripts/simapp46/template_slow/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json b/scripts/simapp46/template_slow/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json deleted file mode 100644 index 88c7c613..00000000 --- a/scripts/simapp46/template_slow/.simapp/config/gentx/gentx-ad7cdbcfe545eaaaea99378bc70bf22eef3401a4.json +++ /dev/null @@ -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=="]} diff --git a/scripts/simapp46/template_slow/.simapp/config/gentx/gentx-fac0774ed201669bde408e825964bb7385dd480a.json b/scripts/simapp46/template_slow/.simapp/config/gentx/gentx-fac0774ed201669bde408e825964bb7385dd480a.json new file mode 100644 index 00000000..426344f5 --- /dev/null +++ b/scripts/simapp46/template_slow/.simapp/config/gentx/gentx-fac0774ed201669bde408e825964bb7385dd480a.json @@ -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=="]} diff --git a/scripts/simapp46/template_slow/.simapp/config/node_key.json b/scripts/simapp46/template_slow/.simapp/config/node_key.json index 8eb3f72f..3eb29c08 100644 --- a/scripts/simapp46/template_slow/.simapp/config/node_key.json +++ b/scripts/simapp46/template_slow/.simapp/config/node_key.json @@ -1 +1 @@ -{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"VJWbZaD0jAkAh4VBLS9I2FDFwAKhbCYjs/ycVEDRNW6teVZgaxLnZ+mW3sMhvdIKY99DaD55h9L1MXkx8WsQ+g=="}} \ No newline at end of file +{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"gAwL1/aEwF6sJy9dK4SHELTnqH0mozMc3CK2hHRyROUh++1u0vUd+9CKodt86l1qo8RSePirC+YL5u66rGr12Q=="}} \ No newline at end of file diff --git a/scripts/simapp46/template_slow/.simapp/config/priv_validator_key.json b/scripts/simapp46/template_slow/.simapp/config/priv_validator_key.json index cbb56b7a..aeaf130d 100644 --- a/scripts/simapp46/template_slow/.simapp/config/priv_validator_key.json +++ b/scripts/simapp46/template_slow/.simapp/config/priv_validator_key.json @@ -1,11 +1,11 @@ { - "address": "30AF3420A11D7357C54EB716B209D4C3707D1BF3", + "address": "2CBA7FDAFE390D789C1810CD43D09653E9102D6A", "pub_key": { "type": "tendermint/PubKeyEd25519", - "value": "cUJRDwHyty8ZMO3ctSqPvezcOP2SYp1SDCHd1/SpAuU=" + "value": "SCFgErmHrgS2Bl21oa6DZu3Ir2nMm3uwxyuQ7VmlYqg=" }, "priv_key": { "type": "tendermint/PrivKeyEd25519", - "value": "H/y/XQLnbLKzR3Ey6VCCw0tu87VbA3GO4goA+PPz7VRxQlEPAfK3Lxkw7dy1Ko+97Nw4/ZJinVIMId3X9KkC5Q==" + "value": "HxzSKqfhIFL5SLOrUcTUN88wddmDh8FPR1lEALIb2ihIIWASuYeuBLYGXbWhroNm7civacybe7DHK5DtWaViqA==" } } \ No newline at end of file diff --git a/scripts/simapp46/template_slow/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address b/scripts/simapp46/template_slow/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address deleted file mode 100644 index e79a087b..00000000 --- a/scripts/simapp46/template_slow/.simapp/e0ec5413d84ba0fed8a6a4f9ef9abc9967a402c3.address +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42ODc0MDc3ICswMDAwIFVUQyBtPSswLjIyNTIwMDMwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjgtN0l6TXhWUmhrMGlBM2kifQ.9c48lG_ZZDrQ5esu0Tw45oacS4V22SLEIChtqW14z17rJtZuS7XYuw.aVNkJGer3Dv--lIR.ulhj65STVqG5ciBObgXc-oyYndKuOzvp03PH9wnh3WTg77SSjwxpEkIMwd9DpkcfBSL0qBvN7aXLAFEG59ydL5GamUTOU94xFISet6dKjxSWbkBmq4_zWmUbe0Qas4eVvPsb6U5w0PIyVTkZwAHDeMtdaEXthBU1JE4biOoi0uICCJkFyqO01q5nrbN7d45EE8vijdPusxfn-abtvSvXLUTcr50nt_w5_YbxsSZnG52Ty2TiV_fjn_Wq.Aj72rrWgBh9fHj1CIoJ7lA \ No newline at end of file diff --git a/scripts/simapp46/template_slow/.simapp/keyhash b/scripts/simapp46/template_slow/.simapp/keyhash index 80f4992a..6329e618 100755 --- a/scripts/simapp46/template_slow/.simapp/keyhash +++ b/scripts/simapp46/template_slow/.simapp/keyhash @@ -1 +1 @@ -$2a$10$PUzdQ9WON1SgvDtewSKIUerA9LxW51qGoHj2EGZ5TT6oKfHXU7hcK \ No newline at end of file +$2a$10$/c.WuY6WLyLkyLcVCPJ3Q.Y7EMWrstHlpPTaXcDH2sGkSHus0Ycee \ No newline at end of file diff --git a/scripts/simapp46/template_slow/.simapp/myvalidator.info b/scripts/simapp46/template_slow/.simapp/myvalidator.info new file mode 100644 index 00000000..03897004 --- /dev/null +++ b/scripts/simapp46/template_slow/.simapp/myvalidator.info @@ -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 \ No newline at end of file diff --git a/scripts/simapp46/template_slow/.simapp/validator.info b/scripts/simapp46/template_slow/.simapp/validator.info deleted file mode 100644 index 5c2daa91..00000000 --- a/scripts/simapp46/template_slow/.simapp/validator.info +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wNy0yNyAxNToxNDoxNC42Njk0MzQ3ICswMDAwIFVUQyBtPSswLjIwNzI1MDUwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IjB4YU1QYjR4RVVHS29JeW4ifQ.jLK0jNefYAdHELJr3MPhajfSFJfTAre0yBzqnvS1rhzxou2ZMyMJ3w.4h0CQ8NAekW0lshZ.Cusi2aIkUmPlVKdkzjK7SpgrN8xrFcm_L3mf1zTNFfS1GEKHIjMd7a-c7XVOM06hXF_MuIvdCrlHRsWAzX9HgSPQ_T4aQDx8dzdj6iRxv0rwAKjSVLMpuqT3ASSENuPkP21niOuPCnKohVYACq0hpsrYoEt0wMSqnUF7Smz7-hbYmp4EleCEcvwas4qs2LM_hZWvAEFnNdDGFWeyGrNTXXbwXBpCFnWXH-F9FHVtexlwo0OCTJscWFazn8LVGOepO4mQRnsQQ4XMG6WL18Yclz7TmPi3WKkOHOdyhydu7KX_tAISy-jVpMX41kb5OLABuxXYSM6Q1wnyY4SUHvExJ1b41lSER11tIopHbh_Au6ifRRtD.kbUtqwd5x8QH52nHddfwcA \ No newline at end of file diff --git a/scripts/simapp46/template_slow/setup.sh b/scripts/simapp46/template_slow/setup.sh index 23648554..74888b43 100755 --- a/scripts/simapp46/template_slow/setup.sh +++ b/scripts/simapp46/template_slow/setup.sh @@ -23,12 +23,14 @@ echo "Setting up validator ..." if ! simd keys show validator 2>/dev/null; then 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" - ) | simd keys add validator + ) | simd keys add myvalidator --recover fi # 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 ..." # (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" -) | 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