Apply custom settings to app.toml

This commit is contained in:
Simon Warta
2020-08-06 09:41:24 +02:00
parent be1dc1ed8d
commit 7ec4939194
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -60,4 +60,10 @@ function inline_jq() {
-e 's/^timeout_precommit_delta =.*$/timeout_precommit_delta = "100ms"/' \
-e 's/^timeout_commit =.*$/timeout_commit = "1s"/' \
"template/.simapp/config/config.toml"
# Custom settings app.toml
sed -i "" \
-e 's/^enable =.*$/enable = true/' \
-e 's/^enabled-unsafe-cors =.*$/enabled-unsafe-cors = true/' \
"template/.simapp/config/app.toml"
)