File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2020 echo " $GENESIS_FILE does not exist. Generating..."
2121
2222 junod init --chain-id " $CHAIN_ID " " $MONIKER "
23- junod add-ica-config
2423 # staking/governance token is hardcoded in config, change this
25- sed -i " s/\" stake \" /\" $STAKE \" /" " $GENESIS_FILE "
24+ sed -i " s/\" ujuno \" /\" $STAKE \" /" " $GENESIS_FILE "
2625 # this is essential for sub-1s block times (or header times go crazy)
2726 sed -i ' s/"time_iota_ms": "1000"/"time_iota_ms": "10"/' " $GENESIS_FILE "
2827 # change gas limit to mainnet value
@@ -42,6 +41,8 @@ if [ -n "$UNSAFE_CORS" ]; then
4241 # ...and breathe
4342 sed -i " s/enabled-unsafe-cors = false/enabled-unsafe-cors = true/" " $APP_TOML_CONFIG "
4443 sed -i " s/cors_allowed_origins = \[\]/cors_allowed_origins = \[\" \*\" \]/" " $CONFIG_TOML_CONFIG "
44+ else
45+ echo " Unsafe cors not set, skipping changing app.toml"
4546fi
4647
4748# speed up block times for testing environments
You can’t perform that action at this time.
0 commit comments