-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove volatile market #1263
Remove volatile market #1263
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -189,7 +189,7 @@ create_validators() { | |
# Using "@" as a subscript results in separate args: "dydx1..." "dydx1..." "dydx1..." | ||
# Note: `edit_genesis` must be called before `add-genesis-account`. | ||
edit_genesis "$VAL_CONFIG_DIR" "${TEST_ACCOUNTS[*]}" "${FAUCET_ACCOUNTS[*]}" "" "" "" "" | ||
update_genesis_use_test_volatile_market "$VAL_CONFIG_DIR" | ||
# update_genesis_use_test_volatile_market "$VAL_CONFIG_DIR" | ||
update_genesis_complete_bridge_delay "$VAL_CONFIG_DIR" "600" | ||
|
||
for acct in "${TEST_ACCOUNTS[@]}"; do | ||
Comment on lines
189
to
195
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Similar to the - dydxprotocold add-genesis-account "$acct" 100000000000000000$USDC_DENOM,$TESTNET_VALIDATOR_NATIVE_TOKEN_BALANCE$NATIVE_TOKEN --home "$VAL_HOME_DIR"
+ dydxprotocold add-genesis-account "$acct" "100000000000000000$USDC_DENOM,$TESTNET_VALIDATOR_NATIVE_TOKEN_BALANCE$NATIVE_TOKEN" --home "$VAL_HOME_DIR" Also applies to: 199-199, 202-202 |
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's recommended to double-quote variables in shell scripts to prevent globbing and word splitting. This applies to the usage of
$USDC_DENOM
and$NATIVE_TOKEN
within thedydxprotocold add-genesis-account
command.Also applies to: 145-145, 148-148