Skip to content

Commit

Permalink
terra: iavl-disable-fastnode = true
Browse files Browse the repository at this point in the history
  • Loading branch information
baabeetaa committed Sep 13, 2023
1 parent 760ff2a commit 5141015
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snapshot/snapshot_restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ wget -O - "$URL" |pigz -dc |tar -xf -
[ ! -f $node_home/data/priv_validator_state.json ] && mv $node_home/config/priv_validator_state.json $node_home/data/

sed -i -e "s/^iavl-disable-fastnode *=.*/iavl-disable-fastnode = false/" $node_home/config/app.toml
if [[ $chain_name == "terra" ]]; then
sed -i -e "s/^iavl-disable-fastnode *=.*/iavl-disable-fastnode = true/" $node_home/config/app.toml
fi

# set minimum gas prices & rpc port...
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"$minimum_gas_prices\"/" $node_home/config/app.toml
Expand Down

0 comments on commit 5141015

Please sign in to comment.