Skip to content

Commit b0e997d

Browse files
omritoptixmtsitrin
andcommitted
chore(local setup): changed setup local defaults to match rollapp quick start (#844)
Co-authored-by: Michael Tsitrin <[email protected]>
1 parent cffe421 commit b0e997d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export PATH=$PATH:$(go env GOPATH)/bin
7373

7474
```sh
7575
export CHAIN_ID="dymension_100-1"
76-
export KEY_NAME="local-user"
76+
export KEY_NAME="hub-user"
7777
export MONIKER_NAME="local"
7878
```
7979

scripts/setup_local.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ APP_CONFIG_FILE="$CONFIG_DIRECTORY/app.toml"
1919
GENESIS_FILE="$CONFIG_DIRECTORY/genesis.json"
2020
CHAIN_ID=${CHAIN_ID:-"dymension_100-1"}
2121
MONIKER_NAME=${MONIKER_NAME:-"local"}
22-
KEY_NAME=${KEY_NAME:-"local-user"}
22+
KEY_NAME=${KEY_NAME:-"hub-user"}
2323
MNEMONIC="curtain hat remain song receive tower stereo hope frog cheap brown plate raccoon post reflect wool sail salmon game salon group glimpse adult shift"
2424

2525
# Setting non-default ports to avoid port conflicts when running local rollapp

scripts/src/genesis_config_commands.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set_hub_params() {
1414
sed -i'' -e 's/bond_denom": ".*"/bond_denom": "adym"/' "$GENESIS_FILE"
1515
sed -i'' -e 's/mint_denom": ".*"/mint_denom": "adym"/' "$GENESIS_FILE"
1616

17-
jq '.app_state.rollapp.params.dispute_period_in_blocks = "2"' "$GENESIS_FILE" > "$tmp" && mv "$tmp" "$GENESIS_FILE"
17+
jq '.app_state.rollapp.params.dispute_period_in_blocks = "50"' "$GENESIS_FILE" > "$tmp" && mv "$tmp" "$GENESIS_FILE"
1818

1919
#increase the tx size cost per byte from 10 to 100
2020
jq '.app_state.auth.params.tx_size_cost_per_byte = "100"' "$GENESIS_FILE" > "$tmp" && mv "$tmp" "$GENESIS_FILE"

0 commit comments

Comments
 (0)