-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pantani
authored and
Pantani
committed
Feb 10, 2024
1 parent
1db1795
commit a252c1a
Showing
5 changed files
with
181 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[instrumentation] | ||
|
||
# When true, Prometheus metrics are served under /metrics on | ||
# PrometheusListenAddr. | ||
# Check out the documentation for the list of available metrics. | ||
prometheus = false | ||
|
||
# Address to listen for Prometheus collector(s) connections | ||
prometheus_listen_addr = ":26660" | ||
|
||
# Maximum number of simultaneous connections. | ||
# If you want to accept a larger number than the default, make sure | ||
# you increase your OS limits. | ||
# 0 - unlimited. | ||
max_open_connections = 3 | ||
|
||
# Instrumentation namespace | ||
namespace = "cometbft" | ||
|
||
[wasm] | ||
# Smart query gas limit is the max gas to be used in a smart query contract call | ||
query_gas_limit = 77 | ||
|
||
# in-memory cache for Wasm contracts. Set to 0 to disable. | ||
# The value is in MiB not bytes | ||
memory_cache_size = 888 | ||
|
||
# Simulation gas limit is the max gas to be used in a tx simulation call. | ||
# When not set the consensus max block gas is used instead | ||
simulation_gas_limit = 9999 |
18 changes: 18 additions & 0 deletions
18
official/wasm/pkg/config/testdata/config_without_wasm.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[instrumentation] | ||
|
||
# When true, Prometheus metrics are served under /metrics on | ||
# PrometheusListenAddr. | ||
# Check out the documentation for the list of available metrics. | ||
prometheus = false | ||
|
||
# Address to listen for Prometheus collector(s) connections | ||
prometheus_listen_addr = ":26660" | ||
|
||
# Maximum number of simultaneous connections. | ||
# If you want to accept a larger number than the default, make sure | ||
# you increase your OS limits. | ||
# 0 - unlimited. | ||
max_open_connections = 3 | ||
|
||
# Instrumentation namespace | ||
namespace = "cometbft" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters