From ecf86cda8762ea3d632da51730338ca3e51edfae Mon Sep 17 00:00:00 2001 From: Arash Deshmeh Date: Wed, 11 Dec 2024 10:00:28 -0500 Subject: [PATCH 1/2] Update the Makefile to use localhost in the default pocket node URL --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 200d37f06..c11bc9915 100644 --- a/Makefile +++ b/Makefile @@ -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 From a1212fd7519ead5bc211719ac4753005cde0c039 Mon Sep 17 00:00:00 2001 From: Arash <23505281+adshmh@users.noreply.github.com> Date: Mon, 13 Jan 2025 07:58:34 -0500 Subject: [PATCH 2/2] Update Makefile Co-authored-by: Daniel Olshansky --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c11bc9915..116aee4f5 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ POKTROLLD_HOME ?= ./localnet/poktrolld # 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 +# 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