Update simapp/simapp_slow templates

This commit is contained in:
Simon Warta
2022-08-03 17:10:53 +02:00
parent cad4352775
commit d987f4d077
12 changed files with 382 additions and 514 deletions
@@ -8,17 +8,16 @@
# 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
# default: the last 362880 states are kept, pruning at 10 block intervals
# nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node)
# everything: all saved states will be deleted, storing only the current state; pruning at 10 block intervals
# custom: allow pruning options to be manually specified through 'pruning-keep-recent', 'pruning-keep-every', and 'pruning-interval'
# everything: 2 latest states will be kept; pruning at 10 block intervals.
# custom: allow pruning options to be manually specified through 'pruning-keep-recent', and 'pruning-interval'
pruning = "default"
# These are applied if and only if the pruning strategy is custom.
pruning-keep-recent = "0"
pruning-keep-every = "0"
pruning-interval = "0"
# HaltHeight contains a non-zero block height at which a node will gracefully
@@ -60,6 +59,16 @@ inter-block-cache = true
# ["message.sender", "message.recipient"]
index-events = []
# IavlCacheSize set the size of the iavl tree cache.
# Default cache size is 50mb.
iavl-cache-size = 781250
# AppDBBackend defines the database backend type to use for the application and snapshots DBs.
# An empty string indicates that a fallback will be used.
# First fallback is the deprecated compile-time types.DBBackend value.
# Second fallback (if the types.DBBackend also isn't set), is the db-backend value set in Tendermint's config.toml.
app-db-backend = ""
###############################################################################
### Telemetry Configuration ###
###############################################################################
@@ -124,6 +133,42 @@ 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
# EnableDefaultSuggestedFee defines if the server should suggest fee by default.
# If 'construction/medata' is called without gas limit and gas price,
# suggested fee based on gas-to-suggest and denom-to-suggest will be given.
enable-fee-suggestion = false
# GasToSuggest defines gas limit when calculating the fee
gas-to-suggest = 200000
# DenomToSuggest defines the defult denom for fee suggestion.
# Price must be in minimum-gas-prices.
denom-to-suggest = "uatom"
###############################################################################
### gRPC Configuration ###
###############################################################################
@@ -136,6 +181,30 @@ enable = true
# Address defines the gRPC server address to bind to.
address = "0.0.0.0:9090"
# MaxRecvMsgSize defines the max message size in bytes the server can receive.
# The default value is 10MB.
max-recv-msg-size = "10485760"
# MaxSendMsgSize defines the max message size in bytes the server can send.
# The default value is math.MaxInt32.
max-send-msg-size = "2147483647"
###############################################################################
### 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 ###
###############################################################################
@@ -145,8 +214,15 @@ address = "0.0.0.0:9090"
[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.
# taken (0 to disable).
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
@@ -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 = "simd-testing"
# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory)
keyring-backend = "os"
# CLI output format (text|json)
output = "text"
# <host>:<port> to Tendermint RPC interface for this chain
node = "tcp://localhost:26657"
# Transaction broadcasting mode (sync|async|block)
broadcast-mode = "sync"
@@ -136,6 +136,33 @@ max_subscription_clients = 100
# the estimated # maximum number of broadcast_tx_commit calls per block.
max_subscriptions_per_client = 5
# Experimental parameter to specify the maximum number of events a node will
# buffer, per subscription, before returning an error and closing the
# subscription. Must be set to at least 100, but higher values will accommodate
# higher event throughput rates (and will use more memory).
experimental_subscription_buffer_size = 200
# Experimental parameter to specify the maximum number of RPC responses that
# can be buffered per WebSocket client. If clients cannot read from the
# WebSocket endpoint fast enough, they will be disconnected, so increasing this
# parameter may reduce the chances of them being disconnected (but will cause
# the node to use more memory).
#
# Must be at least the same as "experimental_subscription_buffer_size",
# otherwise connections could be dropped unnecessarily. This value should
# ideally be somewhat higher than "experimental_subscription_buffer_size" to
# accommodate non-subscription-related RPC responses.
experimental_websocket_write_buffer_size = 200
# If a WebSocket client cannot read fast enough, at present we may
# silently drop events instead of generating an error or disconnecting the
# client.
#
# Enabling this experimental parameter will cause the WebSocket connection to
# be closed instead if it cannot read fast enough, allowing for greater
# predictability in subscription behaviour.
experimental_close_on_slow_client = false
# How long to wait for a tx to be committed during /broadcast_tx_commit.
# WARNING: Using a value larger than 10s will result in increasing the
# global HTTP write timeout, which applies to all connections and endpoints.
@@ -177,7 +204,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
@@ -244,6 +272,11 @@ dial_timeout = "3s"
#######################################################
[mempool]
# Mempool version to use:
# 1) "v0" - (default) FIFO mempool.
# 2) "v1" - prioritized mempool.
version = "v0"
recheck = true
broadcast = true
wal_dir = ""
@@ -273,6 +306,22 @@ max_tx_bytes = 1048576
# XXX: Unused due to https://github.com/tendermint/tendermint/issues/5796
max_batch_bytes = 0
# ttl-duration, if non-zero, defines the maximum amount of time a transaction
# can exist for in the mempool.
#
# Note, if ttl-num-blocks is also defined, a transaction will be removed if it
# has existed in the mempool at least ttl-num-blocks number of blocks or if it's
# insertion time into the mempool is beyond ttl-duration.
ttl-duration = "0s"
# ttl-num-blocks, if non-zero, defines the maximum number of blocks a transaction
# can exist for in the mempool.
#
# Note, if ttl-duration is also defined, a transaction will be removed if it
# has existed in the mempool at least ttl-num-blocks number of blocks or if
# it's insertion time into the mempool is beyond ttl-duration.
ttl-num-blocks = 0
#######################################################
### State Sync Configuration Options ###
#######################################################
@@ -302,6 +351,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 ###
#######################################################
@@ -368,8 +424,14 @@ peer_query_maj23_sleep_duration = "2s"
# 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.
# 3) "psql" - the indexer services backed by PostgreSQL.
# When "kv" or "psql" is chosen "tx.height" and "tx.hash" will always be indexed.
indexer = "kv"
# The PostgreSQL connection configuration, the connection format:
# postgresql://<user>:<password>@<host>:<port>/<db>?<opts>
psql-conn = ""
#######################################################
### Instrumentation Configuration Options ###
#######################################################
@@ -159,6 +159,9 @@
"tx_size_cost_per_byte": "10"
}
},
"authz": {
"authorization": []
},
"bank": {
"balances": [
{
@@ -435,7 +438,25 @@
]
}
],
"denom_metadata": [],
"denom_metadata": [
{
"description": "The fee token of this test chain",
"denom_units": [
{
"denom": "ucosm",
"exponent": 0,
"aliases": []
},
{
"denom": "COSM",
"exponent": 6,
"aliases": []
}
],
"base": "ucosm",
"display": "COSM"
}
],
"params": {
"default_send_enabled": true,
"send_enabled": []
@@ -483,6 +504,9 @@
"evidence": {
"evidence": []
},
"feegrant": {
"allowances": []
},
"genutil": {
"gen_txs": [
{
@@ -506,7 +530,8 @@
},
"sequence": "0"
}
]
],
"tip": null
},
"body": {
"extension_options": [],
@@ -571,282 +596,15 @@
"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"
}
"group": {
"group_members": [],
"group_policies": [],
"group_policy_seq": "0",
"group_seq": "0",
"groups": [],
"proposal_seq": "0",
"proposals": [],
"votes": []
},
"mint": {
"minter": {
@@ -862,6 +620,10 @@
"mint_denom": "ustake"
}
},
"nft": {
"classes": [],
"entries": []
},
"params": null,
"slashing": {
"missed_blocks": [],
@@ -884,20 +646,13 @@
"historical_entries": 10000,
"max_entries": 7,
"max_validators": 100,
"min_commission_rate": "0.000000000000000000",
"unbonding_time": "1814400s"
},
"redelegations": [],
"unbonding_delegations": [],
"validators": []
},
"transfer": {
"denom_traces": [],
"params": {
"receive_enabled": true,
"send_enabled": true
},
"port_id": "transfer"
},
"upgrade": {},
"vesting": {}
},
@@ -920,6 +675,6 @@
},
"version": {}
},
"genesis_time": "2021-07-27T15:14:14.2361126Z",
"genesis_time": "2022-08-03T15:03:38.08791355Z",
"initial_height": "1"
}