Skip to content

Commit

Permalink
chore(local setup): changed setup local defaults to match rollapp qui…
Browse files Browse the repository at this point in the history
…ck start (#844)

Co-authored-by: Michael Tsitrin <[email protected]>
  • Loading branch information
omritoptix and mtsitrin committed Apr 14, 2024
1 parent cffe421 commit b0e997d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export PATH=$PATH:$(go env GOPATH)/bin

```sh
export CHAIN_ID="dymension_100-1"
export KEY_NAME="local-user"
export KEY_NAME="hub-user"
export MONIKER_NAME="local"
```

Expand Down
2 changes: 1 addition & 1 deletion scripts/setup_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ APP_CONFIG_FILE="$CONFIG_DIRECTORY/app.toml"
GENESIS_FILE="$CONFIG_DIRECTORY/genesis.json"
CHAIN_ID=${CHAIN_ID:-"dymension_100-1"}
MONIKER_NAME=${MONIKER_NAME:-"local"}
KEY_NAME=${KEY_NAME:-"local-user"}
KEY_NAME=${KEY_NAME:-"hub-user"}
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"

# Setting non-default ports to avoid port conflicts when running local rollapp
Expand Down
2 changes: 1 addition & 1 deletion scripts/src/genesis_config_commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set_hub_params() {
sed -i'' -e 's/bond_denom": ".*"/bond_denom": "adym"/' "$GENESIS_FILE"
sed -i'' -e 's/mint_denom": ".*"/mint_denom": "adym"/' "$GENESIS_FILE"

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

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

0 comments on commit b0e997d

Please sign in to comment.