Skip to content

Commit

Permalink
fix: provide a fee in single node script (#3206)
Browse files Browse the repository at this point in the history
Closes #3205

## Testing

```shell
./scripts/single-node.sh

celestia-app home: /Users/rootulp/.celestia-app
celestia-app version: 1.0.0-rc0-588-g952a455b

Are you sure you want to delete: /Users/rootulp/.celestia-app? [y/n] y
Deleting /Users/rootulp/.celestia-app...
Initializing validator and node config files...
Adding a new key to the keyring...
Adding genesis account...
Creating a genesis tx...
Collecting genesis txs...
Starting celestia-app...

// no error
```
  • Loading branch information
rootulp authored Mar 22, 2024
1 parent 952a455 commit eba62c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/single-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ COINS="1000000000000000utia"
DELEGATION_AMOUNT="5000000000utia"
CELESTIA_APP_HOME="${HOME}/.celestia-app"
CELESTIA_APP_VERSION=$(celestia-appd version 2>&1)
FEES="500utia"

echo "celestia-app home: ${CELESTIA_APP_HOME}"
echo "celestia-app version: ${CELESTIA_APP_VERSION}"
Expand Down Expand Up @@ -51,6 +52,7 @@ celestia-appd add-genesis-account \

echo "Creating a genesis tx..."
celestia-appd gentx ${KEY_NAME} ${DELEGATION_AMOUNT} \
--fees ${FEES} \
--keyring-backend=${KEYRING_BACKEND} \
--chain-id ${CHAIN_ID} \
--home ${CELESTIA_APP_HOME} \
Expand Down

0 comments on commit eba62c9

Please sign in to comment.