From 13ad9bc97c843bfe82026aac04f135daf0ddd517 Mon Sep 17 00:00:00 2001 From: willclarktech Date: Wed, 14 Oct 2020 17:06:51 +0200 Subject: [PATCH] scripts: Regenerate simapp template --- ...82e77894cf2f08c9309625f05aa6c90d38.address | 1 + ...775ad5c8e370b310b61f5c9ff7694bb11e.address | 1 - .../simapp/template/.simapp/config/app.toml | 38 +++ .../template/.simapp/config/config.toml | 128 ++++++--- .../template/.simapp/config/genesis.json | 256 ++++++++++-------- ...5e08a4e3d552bbc115b23f12071887a2408a4.json | 1 + ...715f69ce88507acaa543f7de0d3f7e6cd20f8.json | 1 - .../template/.simapp/config/node_key.json | 2 +- .../.simapp/config/priv_validator_key.json | 6 +- .../.simapp/data/priv_validator_state.json | 2 +- scripts/simapp/template/.simapp/keyhash | 2 +- .../simapp/template/.simapp/validator.info | 2 +- 12 files changed, 287 insertions(+), 153 deletions(-) create mode 100644 scripts/simapp/template/.simapp/413ac082e77894cf2f08c9309625f05aa6c90d38.address delete mode 100644 scripts/simapp/template/.simapp/523658775ad5c8e370b310b61f5c9ff7694bb11e.address create mode 100644 scripts/simapp/template/.simapp/config/gentx/gentx-6045e08a4e3d552bbc115b23f12071887a2408a4.json delete mode 100644 scripts/simapp/template/.simapp/config/gentx/gentx-b02715f69ce88507acaa543f7de0d3f7e6cd20f8.json diff --git a/scripts/simapp/template/.simapp/413ac082e77894cf2f08c9309625f05aa6c90d38.address b/scripts/simapp/template/.simapp/413ac082e77894cf2f08c9309625f05aa6c90d38.address new file mode 100644 index 00000000..fdf7a2f9 --- /dev/null +++ b/scripts/simapp/template/.simapp/413ac082e77894cf2f08c9309625f05aa6c90d38.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMC0xMC0xNCAxMzoyNzoxMS44NDYwOTU0NDMgKzAwMDAgVVRDIG09KzAuMTgyOTA4OTQ1IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiYU9vdGFTMEhPbU92QWJLcCJ9.NjqqqELGGfi6ALkTw2G9oZU6SQU73aXd85Dy5rHDqz0M6F7ojb4TFA.VE4cs6N6FNHiqNLA.8Lkl-9v_b5KeXnlFH9cw7ySV6QVvoVqstUGOALd0ySJSajFf3ZIbt_ALecY7-HI6svnYKHA63jJEY_MKsL_fNoPueqcP5HgTH-1-UEjmoCKoiTnrAHmkeFA3utkUe2e20m-dNxE2ejzIJnaNFfu5X0UfAtQfrIar_AjtcqqMhVTupc9bB6kMXNMa9b-vNDOfC7JxfBjjDwIi4xWWb8IYut9BBuuMwvg1i2yvpZB4VqQ_d4EE3b0RFmeK.iWFG0QjhcltUz971Ig7A9A \ No newline at end of file diff --git a/scripts/simapp/template/.simapp/523658775ad5c8e370b310b61f5c9ff7694bb11e.address b/scripts/simapp/template/.simapp/523658775ad5c8e370b310b61f5c9ff7694bb11e.address deleted file mode 100644 index ee81f454..00000000 --- a/scripts/simapp/template/.simapp/523658775ad5c8e370b310b61f5c9ff7694bb11e.address +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMC0wOC0xMCAwNDozNDo1My44NTQ3MDIxICswMDAwIFVUQyBtPSswLjI5MDI1MTAwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IkhvMjN3ckNGOVpfcHlCUDUifQ.Z5qsfCNObumg_vwCiJ2D9Bvdod0bbanl8KDx9Af85MkSRsxI7mNFww.kzxxnpnP-PwmHl_F.ZSjnQ-fX3PsGxnGaqnVDADzbaQbHOU7xj-EYlImsaJ8w1CijR6UuJCARmeQldWz0xFHi9qfJ08GLfN0E-Zho6nhM_-UKE5D1dyk_vqfvcVusPLte-1z2yuxyrMBHS_E2s1qehmbwjE2m3qohrDsid73Ixgb27La2iTVDL40N9C4iOV3uv0L5YI-TOBT35dhFqpYwavXR6mbE9k-sFyU-J45Y6jpNfIWlhfpVb220RFiKv6FEGVDRrMgt.BgboYLH4EliMSzGWFozUmg \ No newline at end of file diff --git a/scripts/simapp/template/.simapp/config/app.toml b/scripts/simapp/template/.simapp/config/app.toml index b964cce7..4855c250 100644 --- a/scripts/simapp/template/.simapp/config/app.toml +++ b/scripts/simapp/template/.simapp/config/app.toml @@ -34,9 +34,32 @@ halt-height = 0 # Note: Commitment of state will be attempted on the corresponding block. halt-time = 0 +# MinRetainBlocks defines the minimum block height offset from the current +# block being committed, such that all blocks past this offset are pruned +# from Tendermint. It is used as part of the process of determining the +# ResponseCommit.RetainHeight value during ABCI Commit. A value of 0 indicates +# that no blocks should be pruned. +# +# This configuration value is only responsible for pruning Tendermint blocks. +# It has no bearing on application state pruning which is determined by the +# "pruning-*" configurations. +# +# Note: Tendermint block pruning is dependant on this parameter in conunction +# with the unbonding (safety threshold) period, state pruning and state sync +# snapshot parameters to determine the correct minimum value of +# ResponseCommit.RetainHeight. +min-retain-blocks = 0 + # InterBlockCache enables inter-block caching. inter-block-cache = true +# IndexEvents defines the set of events in the form {eventType}.{attributeKey}, +# which informs Tendermint what to index. If empty, all events will be indexed. +# +# Example: +# ["message.sender", "message.recipient"] +index-events = [] + ############################################################################### ### Telemetry Configuration ### ############################################################################### @@ -112,3 +135,18 @@ enable = true # Address defines the gRPC server address to bind to. address = "0.0.0.0:9090" + +############################################################################### +### State Sync Configuration ### +############################################################################### + +# State sync snapshots allow other nodes to rapidly join the network without replaying historical +# blocks, instead downloading and applying a snapshot of the application state at a given height. +[state-sync] + +# snapshot-interval specifies the block interval at which local state sync snapshots are +# taken (0 to disable). Must be a multiple of pruning-keep-every. +snapshot-interval = 0 + +# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all). +snapshot-keep-recent = 2 diff --git a/scripts/simapp/template/.simapp/config/config.toml b/scripts/simapp/template/.simapp/config/config.toml index 4d322819..5bef9818 100644 --- a/scripts/simapp/template/.simapp/config/config.toml +++ b/scripts/simapp/template/.simapp/config/config.toml @@ -6,7 +6,9 @@ # "$HOME/.tendermint" by default, but could be changed via $TMHOME env variable # or --home cmd flag. -##### main base config options ##### +####################################################################### +### Main Base Config Options ### +####################################################################### # TCP or UNIX socket address of the ABCI application, # or the name of an ABCI application compiled in with the Tendermint binary @@ -20,7 +22,7 @@ moniker = "simd-moniker" # and verifying their commits fast_sync = true -# Database backend: goleveldb | cleveldb | boltdb | rocksdb +# Database backend: goleveldb | cleveldb | boltdb | rocksdb | badgerdb # * goleveldb (github.com/syndtr/goleveldb - most popular implementation) # - pure go # - stable @@ -36,13 +38,16 @@ fast_sync = true # - EXPERIMENTAL # - requires gcc # - use rocksdb build tag (go build -tags rocksdb) +# * badgerdb (uses github.com/dgraph-io/badger) +# - EXPERIMENTAL +# - use badgerdb build tag (go build -tags badgerdb) db_backend = "goleveldb" # Database directory db_dir = "data" # Output level for logging, including package level options -log_level = "main:info,state:info,*:error" +log_level = "main:info,state:info,statesync:info,*:error" # Output format: 'plain' (colored text) or 'json' log_format = "plain" @@ -68,16 +73,18 @@ node_key_file = "config/node_key.json" # Mechanism to connect to the ABCI application: socket | grpc abci = "socket" -# TCP or UNIX socket address for the profiling server to listen on -prof_laddr = "localhost:6060" - # If true, query the ABCI app on connecting to a new peer # so the app can decide if we should keep the connection or not filter_peers = false -##### advanced configuration options ##### -##### rpc server configuration options ##### +####################################################################### +### Advanced Configuration Options ### +####################################################################### + +####################################################### +### RPC Server Configuration Options ### +####################################################### [rpc] # TCP or UNIX socket address for the RPC server to listen on @@ -156,7 +163,12 @@ tls_cert_file = "" # Otherwise, HTTP server is run. tls_key_file = "" -##### peer to peer configuration options ##### +# pprof listen address (https://golang.org/pkg/net/http/pprof) +pprof_laddr = "localhost:6060" + +####################################################### +### P2P Configuration Options ### +####################################################### [p2p] # Address to listen for incoming connections @@ -227,7 +239,9 @@ allow_duplicate_ip = false handshake_timeout = "20s" dial_timeout = "3s" -##### mempool configuration options ##### +####################################################### +### Mempool Configurattion Option ### +####################################################### [mempool] recheck = true @@ -246,31 +260,83 @@ max_txs_bytes = 1073741824 cache_size = 10000 # Maximum size of a single transaction. -# NOTE: the max size of a tx transmitted over the network is {max_tx_bytes} + {amino overhead}. +# NOTE: the max size of a tx transmitted over the network is {max_tx_bytes}. max_tx_bytes = 1048576 -##### fast sync configuration options ##### +# Maximum size of a batch of transactions to send to a peer +# Including space needed by encoding (one varint per transaction). +max_batch_bytes = 10485760 + +####################################################### +### State Sync Configuration Options ### +####################################################### +[statesync] +# State sync rapidly bootstraps a new node by discovering, fetching, and restoring a state machine +# snapshot from peers instead of fetching and replaying historical blocks. Requires some peers in +# the network to take and serve state machine snapshots. State sync is not attempted if the node +# has any local state (LastBlockHeight > 0). The node will have a truncated block history, +# starting from the height of the snapshot. +enable = false + +# RPC servers (comma-separated) for light client verification of the synced state machine and +# retrieval of state data for node bootstrapping. Also needs a trusted height and corresponding +# header hash obtained from a trusted source, and a period during which validators can be trusted. +# +# For Cosmos SDK-based chains, trust_period should usually be about 2/3 of the unbonding time (~2 +# weeks) during which they can be financially punished (slashed) for misbehavior. +rpc_servers = "" +trust_height = 0 +trust_hash = "" +trust_period = "168h0m0s" + +# Time to spend discovering snapshots before initiating a restore. +discovery_time = "15s" + +# Temporary directory for state sync snapshot chunks, defaults to the OS tempdir (typically /tmp). +# Will create a new, randomly named directory within, and remove it when done. +temp_dir = "" + +####################################################### +### Fast Sync Configuration Connections ### +####################################################### [fastsync] # Fast Sync version to use: # 1) "v0" (default) - the legacy fast sync implementation # 2) "v1" - refactor of v0 version for better testability -# 3) "v2" - refactor of v1 version for better usability +# 2) "v2" - complete redesign of v0, optimized for testability & readability version = "v0" -##### consensus configuration options ##### +####################################################### +### Consensus Configuration Options ### +####################################################### [consensus] wal_file = "data/cs.wal/wal" +# How long we wait for a proposal block before prevoting nil timeout_propose = "300ms" +# How much timeout_propose increases with each round timeout_propose_delta = "100ms" +# How long we wait after receiving +2/3 prevotes for “anything” (ie. not a single block or nil) timeout_prevote = "300ms" +# How much the timeout_prevote increases with each round timeout_prevote_delta = "100ms" +# How long we wait after receiving +2/3 precommits for “anything” (ie. not a single block or nil) timeout_precommit = "300ms" +# How much the timeout_precommit increases with each round timeout_precommit_delta = "100ms" +# How long we wait after committing a block, before starting on the new +# height (this gives us a chance to receive some more precommits, even +# though we already have +2/3). timeout_commit = "1s" +# How many blocks to look back to check existence of the node's consensus votes before joining consensus +# When non-zero, the node will panic upon restart +# if the same consensus key was used to sign {double_sign_check_height} last blocks. +# So, validators should stop the state machine, wait for some blocks, and then restart the state machine to avoid panic. +double_sign_check_height = 0 + # Make progress as soon as we have all the precommits (as if TimeoutCommit = 0) skip_timeout_commit = false @@ -282,39 +348,25 @@ create_empty_blocks_interval = "0s" peer_gossip_sleep_duration = "100ms" peer_query_maj23_sleep_duration = "2s" -##### transactions indexer configuration options ##### +####################################################### +### Transaction Indexer Configuration Options ### +####################################################### [tx_index] # What indexer to use for transactions # +# The application will set which txs to index. In some cases a node operator will be able +# to decide which txs to index based on configuration set in the application. +# # Options: # 1) "null" # 2) "kv" (default) - the simplest possible indexer, backed by key-value storage (defaults to levelDB; see DBBackend). +# - When "kv" is chosen "tx.height" and "tx.hash" will always be indexed. indexer = "kv" -# Comma-separated list of compositeKeys to index (by default the only key is "tx.hash") -# Remember that Event has the following structure: type.key -# type: [ -# key: value, -# ... -# ] -# -# You can also index transactions by height by adding "tx.height" key here. -# -# It's recommended to index only a subset of keys due to possible memory -# bloat. This is, of course, depends on the indexer's DB and the volume of -# transactions. -index_keys = "" - -# When set to true, tells indexer to index all compositeKeys (predefined keys: -# "tx.hash", "tx.height" and all keys from DeliverTx responses). -# -# Note this may be not desirable (see the comment above). IndexKeys has a -# precedence over IndexAllKeys (i.e. when given both, IndexKeys will be -# indexed). -index_all_keys = true - -##### instrumentation configuration options ##### +####################################################### +### Instrumentation Configuration Options ### +####################################################### [instrumentation] # When true, Prometheus metrics are served under /metrics on diff --git a/scripts/simapp/template/.simapp/config/genesis.json b/scripts/simapp/template/.simapp/config/genesis.json index f9f62284..52017f89 100644 --- a/scripts/simapp/template/.simapp/config/genesis.json +++ b/scripts/simapp/template/.simapp/config/genesis.json @@ -4,112 +4,130 @@ "auth": { "accounts": [ { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos12gm9sa666hywxu9nzzmp7hyl7a55hvg769w2kz" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos1gyavpqh80z2v7tcgeycfvf0st2nvjrfcp05dad", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos1xy4yqngt0nlkdcenxymg8tenrghmek4nmqm28k" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos1xy4yqngt0nlkdcenxymg8tenrghmek4nmqm28k", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos142u9fgcjdlycfcez3lw8x6x5h7rfjlnfhpw2lx" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos142u9fgcjdlycfcez3lw8x6x5h7rfjlnfhpw2lx", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos1hsm76p4ahyhl5yh3ve9ur49r5kemhp2r0dcjvx" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos1hsm76p4ahyhl5yh3ve9ur49r5kemhp2r0dcjvx", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos14qemq0vw6y3gc3u3e0aty2e764u4gs5le3hada" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos14qemq0vw6y3gc3u3e0aty2e764u4gs5le3hada", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos1hhg2rlu9jscacku2wwckws7932qqqu8x3gfgw0" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos1hhg2rlu9jscacku2wwckws7932qqqu8x3gfgw0", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos1xv9tklw7d82sezh9haa573wufgy59vmwe6xxe5" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos1xv9tklw7d82sezh9haa573wufgy59vmwe6xxe5", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos17yg9mssjenmc3jkqth6ulcwj9cxujrxxzezwta", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos1f7j7ryulwjfe9ljplvhtcaxa6wqgula3etktce" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos1f7j7ryulwjfe9ljplvhtcaxa6wqgula3etktce", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos1lvrwcvrqlc5ktzp2c4t22xgkx29q3y83lktgzl" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos1lvrwcvrqlc5ktzp2c4t22xgkx29q3y83lktgzl", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos1vkv9sfwaak76weyamqx0flmng2vuquxqcuqukh", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos106jwym4s9aujcmes26myzzwqsccw09sdm0v5au" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos106jwym4s9aujcmes26myzzwqsccw09sdm0v5au", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos1c7wpeen2uv8thayf7g8q2rgpm29clj0dgrdtzw" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos1c7wpeen2uv8thayf7g8q2rgpm29clj0dgrdtzw", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos1mjxpv9ft30wer7ma7kwfxhm42l379xutplrdk6" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos1mjxpv9ft30wer7ma7kwfxhm42l379xutplrdk6", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos1cjsxept9rkggzxztslae9ndgpdyt2408lk850u" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos1cjsxept9rkggzxztslae9ndgpdyt2408lk850u", + "pub_key": null, + "sequence": "0" }, { - "type": "cosmos-sdk/BaseAccount", - "value": { - "address": "cosmos17d0jcz59jf68g52vq38tuuncmwwjk42u6mcxej" - } + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "account_number": "0", + "address": "cosmos17d0jcz59jf68g52vq38tuuncmwwjk42u6mcxej", + "pub_key": null, + "sequence": "0" } ], "params": { @@ -162,7 +180,7 @@ ] }, { - "address": "cosmos1f7j7ryulwjfe9ljplvhtcaxa6wqgula3etktce", + "address": "cosmos1gyavpqh80z2v7tcgeycfvf0st2nvjrfcp05dad", "coins": [ { "amount": "1000000000", @@ -175,7 +193,7 @@ ] }, { - "address": "cosmos12gm9sa666hywxu9nzzmp7hyl7a55hvg769w2kz", + "address": "cosmos1f7j7ryulwjfe9ljplvhtcaxa6wqgula3etktce", "coins": [ { "amount": "1000000000", @@ -357,9 +375,10 @@ ] } ], - "denom_metadata": null, + "denom_metadata": [], "params": { - "default_send_enabled": true + "default_send_enabled": true, + "send_enabled": [] }, "supply": [] }, @@ -386,18 +405,24 @@ "community_tax": "0.020000000000000000", "withdraw_addr_enabled": true }, + "previous_proposer": "", "validator_accumulated_commissions": [], "validator_current_rewards": [], "validator_historical_rewards": [], "validator_slash_events": [] }, - "evidence": {}, + "evidence": { + "evidence": [] + }, "genutil": { - "gentxs": [ + "gen_txs": [ { "auth_info": { "fee": { - "gas_limit": "200000" + "amount": [], + "gas_limit": "200000", + "granter": "", + "payer": "" }, "signer_infos": [ { @@ -407,44 +432,53 @@ } }, "public_key": { - "secp256k1": "AnFadRAdh6Fl7robHe8jywDMKSWQQjB7SlpoqGsX9Ghw" - } + "@type": "/cosmos.crypto.secp256k1.PubKey", + "key": "A/Ltk7FONB0PJOKrLECIxJe5LcJMy9DcWG6X2WVA2xAi" + }, + "sequence": "0" } ] }, "body": { - "memo": "b02715f69ce88507acaa543f7de0d3f7e6cd20f8@172.17.0.2:26656", + "extension_options": [], + "memo": "6045e08a4e3d552bbc115b23f12071887a2408a4@172.17.0.2:26656", "messages": [ { - "@type": "/cosmos.staking.MsgCreateValidator", + "@type": "/cosmos.staking.v1beta1.MsgCreateValidator", "commission": { "max_change_rate": "0.010000000000000000", "max_rate": "0.200000000000000000", "rate": "0.100000000000000000" }, - "delegator_address": "cosmos12gm9sa666hywxu9nzzmp7hyl7a55hvg769w2kz", + "delegator_address": "cosmos1gyavpqh80z2v7tcgeycfvf0st2nvjrfcp05dad", "description": { - "moniker": "simd-moniker" + "details": "", + "identity": "", + "moniker": "simd-moniker", + "security_contact": "", + "website": "" }, "min_self_delegation": "1", - "pubkey": "cosmosvalconspub1zcjduepqcf6dt4wct4uk93lu0nc4vp8x8le8tqfe3wcmys53jn6lfa3fqvwsqktz95", - "validator_address": "cosmosvaloper12gm9sa666hywxu9nzzmp7hyl7a55hvg7l36l63", + "pubkey": "cosmosvalconspub1zcjduepqdmqcx90ra47mhk65afzl2f3ezlvuxhf9a3j5kzl0hp2ck226mxts8jzajn", + "validator_address": "cosmosvaloper1gyavpqh80z2v7tcgeycfvf0st2nvjrfcymqc37", "value": { "amount": "3000000", "denom": "ustake" } } - ] + ], + "non_critical_extension_options": [], + "timeout_height": "0" }, "signatures": [ - "VdidVRYryEAL1v3bMIyHpwswMVSPJncCoC+7+VJdKwR5e8ymOeY+qG7q0QVcWj2x1Z72fw5O5w58anw9msnmzg==" + "8pVuzBir0VJOA1X7KuCjazKN0WcGO68B0jZvKfPomis7d44Lrqo+MC6ALrtDHtA7tJMQf3cXrsdnF3ImcJQ5Rw==" ] } ] }, "gov": { "deposit_params": { - "max_deposit_period": "172800000000000", + "max_deposit_period": "172800s", "min_deposit": [ { "amount": "10000000", @@ -452,17 +486,17 @@ } ] }, - "deposits": null, - "proposals": null, + "deposits": [], + "proposals": [], "starting_proposal_id": "1", "tally_params": { "quorum": "0.334000000000000000", "threshold": "0.500000000000000000", - "veto": "0.334000000000000000" + "veto_threshold": "0.334000000000000000" }, - "votes": null, + "votes": [], "voting_params": { - "voting_period": "172800000000000" + "voting_period": "172800s" } }, "ibc": { @@ -476,7 +510,8 @@ }, "client_genesis": { "clients": [], - "clients_consensus": [] + "clients_consensus": [], + "create_localhost": true }, "connection_genesis": { "client_connection_paths": [], @@ -501,7 +536,7 @@ "slashing": { "missed_blocks": [], "params": { - "downtime_jail_duration": "600000000000", + "downtime_jail_duration": "600s", "min_signed_per_window": "0.500000000000000000", "signed_blocks_window": "100", "slash_fraction_double_sign": "0.050000000000000000", @@ -510,21 +545,27 @@ "signing_infos": [] }, "staking": { - "delegations": null, + "delegations": [], + "exported": false, "last_total_power": "0", - "last_validator_powers": null, + "last_validator_powers": [], "params": { "bond_denom": "ustake", "historical_entries": 100, "max_entries": 7, "max_validators": 100, - "unbonding_time": "1814400000000000" + "unbonding_time": "1814400s" }, - "redelegations": null, - "unbonding_delegations": null, - "validators": null + "redelegations": [], + "unbonding_delegations": [], + "validators": [] }, "transfer": { + "denom_traces": [], + "params": { + "receive_enabled": true, + "send_enabled": true + }, "port_id": "transfer" }, "upgrade": {} @@ -538,13 +579,16 @@ }, "evidence": { "max_age_duration": "172800000000000", - "max_age_num_blocks": "100000" + "max_age_num_blocks": "100000", + "max_num": 50 }, "validator": { "pub_key_types": [ "ed25519" ] - } + }, + "version": {} }, - "genesis_time": "2020-08-10T04:34:53.3772058Z" + "genesis_time": "2020-10-14T13:27:11.507897335Z", + "initial_height": "1" } diff --git a/scripts/simapp/template/.simapp/config/gentx/gentx-6045e08a4e3d552bbc115b23f12071887a2408a4.json b/scripts/simapp/template/.simapp/config/gentx/gentx-6045e08a4e3d552bbc115b23f12071887a2408a4.json new file mode 100644 index 00000000..88c2619e --- /dev/null +++ b/scripts/simapp/template/.simapp/config/gentx/gentx-6045e08a4e3d552bbc115b23f12071887a2408a4.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":"cosmos1gyavpqh80z2v7tcgeycfvf0st2nvjrfcp05dad","validator_address":"cosmosvaloper1gyavpqh80z2v7tcgeycfvf0st2nvjrfcymqc37","pubkey":"cosmosvalconspub1zcjduepqdmqcx90ra47mhk65afzl2f3ezlvuxhf9a3j5kzl0hp2ck226mxts8jzajn","value":{"denom":"ustake","amount":"3000000"}}],"memo":"6045e08a4e3d552bbc115b23f12071887a2408a4@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":"A/Ltk7FONB0PJOKrLECIxJe5LcJMy9DcWG6X2WVA2xAi"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["8pVuzBir0VJOA1X7KuCjazKN0WcGO68B0jZvKfPomis7d44Lrqo+MC6ALrtDHtA7tJMQf3cXrsdnF3ImcJQ5Rw=="]} diff --git a/scripts/simapp/template/.simapp/config/gentx/gentx-b02715f69ce88507acaa543f7de0d3f7e6cd20f8.json b/scripts/simapp/template/.simapp/config/gentx/gentx-b02715f69ce88507acaa543f7de0d3f7e6cd20f8.json deleted file mode 100644 index 2575c22c..00000000 --- a/scripts/simapp/template/.simapp/config/gentx/gentx-b02715f69ce88507acaa543f7de0d3f7e6cd20f8.json +++ /dev/null @@ -1 +0,0 @@ -{"body":{"messages":[{"@type":"/cosmos.staking.MsgCreateValidator","description":{"moniker":"simd-moniker"},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos12gm9sa666hywxu9nzzmp7hyl7a55hvg769w2kz","validator_address":"cosmosvaloper12gm9sa666hywxu9nzzmp7hyl7a55hvg7l36l63","pubkey":"cosmosvalconspub1zcjduepqcf6dt4wct4uk93lu0nc4vp8x8le8tqfe3wcmys53jn6lfa3fqvwsqktz95","value":{"denom":"ustake","amount":"3000000"}}],"memo":"b02715f69ce88507acaa543f7de0d3f7e6cd20f8@172.17.0.2:26656"},"auth_info":{"signer_infos":[{"public_key":{"secp256k1":"AnFadRAdh6Fl7robHe8jywDMKSWQQjB7SlpoqGsX9Ghw"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}}}],"fee":{"gas_limit":"200000"}},"signatures":["VdidVRYryEAL1v3bMIyHpwswMVSPJncCoC+7+VJdKwR5e8ymOeY+qG7q0QVcWj2x1Z72fw5O5w58anw9msnmzg=="]} diff --git a/scripts/simapp/template/.simapp/config/node_key.json b/scripts/simapp/template/.simapp/config/node_key.json index feaefac0..dc12bf11 100644 --- a/scripts/simapp/template/.simapp/config/node_key.json +++ b/scripts/simapp/template/.simapp/config/node_key.json @@ -1 +1 @@ -{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"SBwYIjYkPgEdajIt1al+FUZOQ+vMri9xPkES1pDlVISVMV3aGAIFv9hQA0EDCe6NDWJopE6TCmnI+Pca65YSCw=="}} \ No newline at end of file +{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"U/ZIZ8dhWwNZ40ZZZZlI5ettatjzGea7fZDyarOl+dK5/6cEDqQV1yqDQ2mhK+m5zxyewIAuDKZOJaLsu10kgA=="}} \ No newline at end of file diff --git a/scripts/simapp/template/.simapp/config/priv_validator_key.json b/scripts/simapp/template/.simapp/config/priv_validator_key.json index 432b4206..eb8d18e9 100644 --- a/scripts/simapp/template/.simapp/config/priv_validator_key.json +++ b/scripts/simapp/template/.simapp/config/priv_validator_key.json @@ -1,11 +1,11 @@ { - "address": "9B393572E82025BE3A6D2007304AAE69B55D62DC", + "address": "F828C78A9BF39831CE66D94A1AF09BBD81584A09", "pub_key": { "type": "tendermint/PubKeyEd25519", - "value": "wnTV1dhdeWLH/HzxVgTmP/J1gTmLsbJCkZT19PYpAx0=" + "value": "bsGDFePtfbvbVOpF9SY5F9nDXSXsZUsL77hViyla2Zc=" }, "priv_key": { "type": "tendermint/PrivKeyEd25519", - "value": "fPWqUiCrr+AlyHb29zpYglZ/9RLbz60fRQziZgVA+JjCdNXV2F15Ysf8fPFWBOY/8nWBOYuxskKRlPX09ikDHQ==" + "value": "7tnO0supEo6PVxhoe0VKNpFsEGVs0wBYqybN9O/bp+ZuwYMV4+19u9tU6kX1JjkX2cNdJexlSwvvuFWLKVrZlw==" } } \ No newline at end of file diff --git a/scripts/simapp/template/.simapp/data/priv_validator_state.json b/scripts/simapp/template/.simapp/data/priv_validator_state.json index ca3ad2f7..48f3b67e 100644 --- a/scripts/simapp/template/.simapp/data/priv_validator_state.json +++ b/scripts/simapp/template/.simapp/data/priv_validator_state.json @@ -1,5 +1,5 @@ { "height": "0", - "round": "0", + "round": 0, "step": 0 } \ No newline at end of file diff --git a/scripts/simapp/template/.simapp/keyhash b/scripts/simapp/template/.simapp/keyhash index 5296cb67..ddf99ee3 100755 --- a/scripts/simapp/template/.simapp/keyhash +++ b/scripts/simapp/template/.simapp/keyhash @@ -1 +1 @@ -$2a$10$2fI6FM3ObOD8pRF2.xRn8Op8SAzWw0PvhQZNwwDzzdf9mgmy1DFP. \ No newline at end of file +$2a$10$ydoOKhJitSWzIjgZvIM8teHFVeXxuI2QcVg.p7oC7mLppNccQPpSO \ No newline at end of file diff --git a/scripts/simapp/template/.simapp/validator.info b/scripts/simapp/template/.simapp/validator.info index dc5f7894..f2ec1b3e 100644 --- a/scripts/simapp/template/.simapp/validator.info +++ b/scripts/simapp/template/.simapp/validator.info @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMC0wOC0xMCAwNDozNDo1My44NDIzNDE2ICswMDAwIFVUQyBtPSswLjI3Nzg5MTQwMSIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IkxGbnlSVzBhbGNWaVQ4U0wifQ.AapFS3IPSX9Bt9Vz-wFg5mfoRobwImw8NcC0HJfBBLV1lm_56_b9qw.u2l6d7qrmOBEXyD8.aaGsuy_GMH_pyqkMcK80nxBZsIOyMJLTlR4slViy9q0T0qo2mtJFNUwtOoaN6wxewNYBdOJDJQ3GDtUtNZW6s9EoBigrsUxP-gTaBMtARx5u4Hn_VDCidxZJbgmoneX_P5K71vV8lVJ9sKhqZyDeKcwUrKB7EztKlxGDYt04NmsbLJkK8CNYnj3dYL5sCCz46B09eNSx83_rIpyE141WEzgwgOEayu5Nz2V7lFGp2WZfdeeqslyqKNwHMiQJGdzLjc787fgMPqleYusmBKHfNveUa2eaNIexnLGmkHkao9YH4-nJIpGOSBIGQZeG1dcUckFvaesq64gKZRmOKp37vfJkyqmuP7STVgeko93YvwcVlU6r.TfQIMmIaSUx-eddwt9zahg \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMC0xMC0xNCAxMzoyNzoxMS44MzI3NzY3MjYgKzAwMDAgVVRDIG09KzAuMTY5NTkwMjI3IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiZ2FTODdpamFRZi1qekUwayJ9.HxLiSFput-6b3gHRct4S7Rsy8LjdEiy4WOBaxAJFhlmD4BAmaQNWjQ._b26hJJsFHwjf8vh.BRCG5wulPHtsW500x1Odh15kfngP1hF2SCIPejR9mMSzt6hfdYUdwPA-vDFbajeUQc3vA5EpqpH9aqhmtVM2R9PblSH7e0FWmOUSR1y3rD574RyLFJzXHM8YTsH5SpMnzdqz1lzedea3fM9E7nbkCRVQQITrQhvo3Y_8pkkgDUCUnZMH-IQ6NNCA60w_3rn-mTipnrNlTGbMKoGX790UZbM-XMpTpqZhBxWoq1D7qNZ1iCdIOdyC3JIUuYUV1y0E6DdAUFXosQUN5sBCytcqYh_iZG-YUpFHrHtPUnNJRlGmGpTQVHlZpsGNXd1oquhA1XKYejyJOjyLNwHwp4FF3Nl11rGY-TCImvMk372kZvynAafi.S2hGEHZ0enyqhX89vpb0hg \ No newline at end of file