Skip to content
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

[LocalNet] Add gas fees #940

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ acc_balance_total_supply: ## Query the total supply of the network
# (PNF was selected ambigously) to make sure their public keys are populated.
# TODO_TECHDEBT: One of the accounts involved in this command always errors
# so we need to understand why and fix it.

# --gas=auto \
# --gas-prices=0.000000001upokt \

.PHONY: acc_initialize_pubkeys
acc_initialize_pubkeys: ## Make sure the account keeper has public keys for all available accounts
$(eval ADDRESSES=$(shell make -s ignite_acc_list | grep pokt | awk '{printf "%s ", $$2}' | sed 's/.$$//'))
Expand All @@ -269,7 +273,7 @@ acc_initialize_pubkeys: ## Make sure the account keeper has public keys for all
$(addr) $(PNF_ADDRESS) 1000upokt \
--yes \
--home=$(POKTROLLD_HOME) \
--node $(POCKET_NODE);)
--node=$(POCKET_NODE);)

######################
### Ignite Helpers ###
Expand Down
4 changes: 3 additions & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ validators:
# DEV_NOTE: Ignite does not carry over all defaults, so we are going to match `minimum-gas-prices` with `cmd/config.go`.
# See the enhancement request here: https://github.com/ignite/cli/issues/4340
# TODO_BETA(@okdas, #794): turn on `minimum-gas-prices` back
# minimum-gas-prices: 0.000000001upokt
minimum-gas-prices: 0.000000001upokt
telemetry:
enabled: true
poktroll:
Expand All @@ -106,6 +106,8 @@ validators:
log_level: "info"
client:
chain-id: poktroll
gas-prices: 0.000000001upokt
gas: auto

# We can persist arbitrary genesis values via 1 to 1 mapping to genesis.json
genesis:
Expand Down
2 changes: 1 addition & 1 deletion localnet/poktrolld/config/app.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ iavl-disable-fastnode = false
index-events = []
inter-block-cache = true
min-retain-blocks = 0
minimum-gas-prices = "0upokt"
minimum-gas-prices = "0.000000001upokt"
pruning = "nothing"
pruning-interval = "0"
pruning-keep-recent = "0"
Expand Down
2 changes: 2 additions & 0 deletions localnet/poktrolld/config/client.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
broadcast-mode = "sync"
chain-id = "poktroll"
gas = "auto"
gas-prices = "0.000000001upokt"
keyring-backend = "test"
node = "tcp://localhost:26657"
output = "text"