Skip to content

Commit

Permalink
Update the Makefile to use localhost in the default pocket node URL
Browse files Browse the repository at this point in the history
  • Loading branch information
adshmh committed Dec 11, 2024
1 parent 5d8c6dc commit ecf86cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
SHELL = /bin/sh

POKTROLLD_HOME ?= ./localnet/poktrolld
POCKET_NODE ?= tcp://127.0.0.1:26657 # The pocket node (validator in the localnet context)
# TODO_TECHDEBT(@adshmh): Track down why using the loopback address 127.0.0.1 instead of `localhost` results in an error when sending TXs on some LocalNet setups.
# e.g.: poktrolld tx bank send $addr $PNF_ADDRESS 1000upokt --yes --home=${POKTROLLD_HOME} --node=${POCKET_NODE}
# Results in the following error:
# # rpc error: code = InvalidArgument desc = invalid Bech32 prefix; expected cosmos, got pokt: invalid request
POCKET_NODE ?= tcp://localhost:26657 # The pocket node (validator in the localnet context)
TESTNET_RPC ?= https://testnet-validated-validator-rpc.poktroll.com/ # TestNet RPC endpoint for validator maintained by Grove. Needs to be update if there's another "primary" testnet.
PATH_URL ?= http://localhost:3000
POCKET_ADDR_PREFIX = pokt
Expand Down

0 comments on commit ecf86cd

Please sign in to comment.