diff --git a/contrib/testnets/test_platform/templates/app.toml b/contrib/testnets/test_platform/templates/app.toml index 95ffc8c462..5537acf053 100644 --- a/contrib/testnets/test_platform/templates/app.toml +++ b/contrib/testnets/test_platform/templates/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 = "0.25stake" # 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) @@ -137,6 +137,23 @@ enable = true # Address defines the gRPC server address to bind to. address = ":" +############################################################################### +### 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" +address = ":" + +# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk). +enable-unsafe-cors = false + ############################################################################### ### State Sync Configuration ### ############################################################################### @@ -151,3 +168,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/contrib/testnets/test_platform/templates/replacement_defaults.txt b/contrib/testnets/test_platform/templates/replacement_defaults.txt index 23ffda4e3a..d4224e5b82 100644 --- a/contrib/testnets/test_platform/templates/replacement_defaults.txt +++ b/contrib/testnets/test_platform/templates/replacement_defaults.txt @@ -15,6 +15,8 @@ GRPC_LADDR=tcp://0.0.0.0 GRPC_LADDR_PORT=26659 GRPC_APP_ADDR=0.0.0.0 GRPC_APP_ADDR_PORT=9090 +GRPC_WEB_APP_ADDR=0.0.0.0 +GRPC_WEB_APP_ADDR_PORT=9091 PROMETHEUS_LISTEN_ADDR= PROMETHEUS_LISTEN_ADDR_PORT=26660 MONIKER=node0