sonr/pkl/sonr.net/App.pkl
Prad Nukala d69c2a9d53
feature/refactor ui (#1205)
* fix: correct HTTP error handling in gateway

* refactor: migrate database and ORM to internal modules

* feat: introduce taskfile build system for improved workflow management

* refactor: update taskfiles to use relative paths

* feat: add profile status field

* refactor: move rendering logic to context package

* fix: improve error handling in credentials retrieval

* refactor: optimize HTTP request handling in Wasm environment

* refactor: refactor config loading in motr command

* chore: add process-compose for service management

* chore: remove default task and update gum format command

* fix: update project dependencies

* refactor: improve code readability and maintainability

* refactor: consolidate error handling components

* refactor: update index handler to use new context package

* refactor: consolidate database scripts and move to deploy directory

* feat: Update flake.nix with development tools and environment configuration

* fix: ignore flake.lock file

* refactor: migrate build process to use taskfiles for improved modularity and maintainability

* refactor: improve GatewayContext and reorganize handlers

* refactor: Remove unused profile creation functions

* (chore): templ generation

* test: add test file for vaults.go

* maintenance: remove defunct Discord server link

* docs: update checks workflow documentation

* test: remove obsolete vaults test file

* refactor: move version bumping logic to release workflow
2024-12-22 17:01:11 -05:00

79 lines
1.4 KiB
Plaintext

module sonr.net.App
import "package://pkg.pkl-lang.org/pkl-pantry/pkl.toml@1.0.0#/toml.pkl"
`minimum-gas-prices` = "0usnr"
`query-gas-limit` = "0"
pruning = "default"
`pruning-keep-recent` = "0"
`pruning-interval` = "0"
`halt-height` = 0
`halt-time` = 0
`min-retain-blocks` = 0
`inter-block-cache` = true
`index-events` = new Listing {}
`iavl-cache-size` = 781250
`iavl-disable-fastnode` = false
`app-db-backend` = ""
telemetry = new {
`service-name` = ""
enabled = true
`enable-hostname` = true
`enable-hostname-label` = false
`enable-service-label` = false
`prometheus-retention-time` = 60
`global-labels` = new Listing {
new Listing {
"chain_id"
"sonr-testnet-1"
}
}
`metrics-sink` = ""
`statsd-addr` = ""
`datadog-hostname` = ""
}
api = new {
enable = true
swagger = false
address = "tcp://0.0.0.0:1317"
`max-open-connections` = 1000
`rpc-read-timeout` = 10
`rpc-write-timeout` = 0
`rpc-max-body-bytes` = 1000000
`enabled-unsafe-cors` = false
}
grpc = new {
enable = true
address = "0.0.0.0:9090"
`max-recv-msg-size` = "10485760"
`max-send-msg-size` = "2147483647"
}
`grpc-web` = new {
enable = true
}
`state-sync` = new {
`snapshot-interval` = 0
`snapshot-keep-recent` = 2
}
streaming = new {
abci = new {
keys = new Listing {}
plugin = ""
`stop-node-on-err` = true
}
}
mempool = new {
`max-txs` = 5000
}
output {
renderer = new toml.Renderer {}
}