Skip to content

Commit

Permalink
also address constantly changing files
Browse files Browse the repository at this point in the history
  • Loading branch information
okdas committed Oct 6, 2023
1 parent 330f42e commit 0ef2f82
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 43 deletions.
8 changes: 3 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ go.work
bin
!bin/.keep

# Why: pocketd CLI should use the same keys as the node that runs inside the cluster to
# allow commands such as `pocketd tx stake` for work.
# Before we provision the localnet, `ignite` creates the accounts, genesis, etc. for us
# As many of the files are dynamic, we only preserve the config files in git history.
localnet/pocketd/*
# !localnet/pocketd/keyring-test/
# !localnet/pocketd/keyring-test/*
!localnet/*/config/
localnet/*/config/
!localnet/*/config/{app.toml,client.toml,config.toml}

# Macos
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ localnet_regenesis: # Regenerate the localnet genesis file
ignite chain init --skip-proto
cp -r ${HOME}/.pocket/keyring-test $(POCKETD_HOME)
cp ${HOME}/.pocket/config/*_key.json $(POCKETD_HOME)/config/
cp ${HOME}/.pocket/config/genesis.json ./localnet/
cp ${HOME}/.pocket/config/genesis.json $(POCKETD_HOME)/config/

#############
### Tests ###
Expand Down
37 changes: 0 additions & 37 deletions localnet/regenesis.sh

This file was deleted.

0 comments on commit 0ef2f82

Please sign in to comment.