tari icon indicating copy to clipboard operation
tari copied to clipboard

update envVars usage and help feedback

Open SWvheerden opened this issue 11 months ago • 0 comments

shell envVars, like MINOTARI_NODE_ENABLE_GRPC as reported in the help screen, is not working. following variation also not working:

MINOTARI_NODE__GRPC_ENABLED=true
MINOTARI_NODE__GRPC_ADDRESS=/ip4/0.0.0.0/tcp/18142
MINOTARI_NODE_GRPC_ENABLED=true
MINOTARI_NODE_GRPC_ADDRESS=/ip4/0.0.0.0/tcp/18142
MINOTARI_BASE_NODE_GRPC_ENABLED=true
MINOTARI_BASE_NODE_GRPC_ADDRESS=/ip4/0.0.0.0/tcp/18142
MINOTARI_BASE_NODE__GRPC_ENABLED=true
MINOTARI_BASE_NODE__GRPC_ADDRESS=/ip4/0.0.0.0/tcp/18142

What did work was

TARI_BASE_NODE__GRPC_ENABLED=true
TARI_BASE_NODE__GRPC_ADDRESS="/ip4/0.0.0.0/tcp/18142

Would be great if we could resolve the

"Invalid value for `base_node`: invalid type: string" ... "expected a sequence"

for an envVar like

TARI_BASE_NODE__P2P__TRANSPORT__TOR__PROXY_BYPASS_ADDRESSES='["/ip4/192.168.101.50/tcp/12997","/ip4/192.168.101.54/tcp/12997","/ip4/192.168.101.50/tcp/12998","/ip4/192.168.101.54/tcp/12998"]'

SWvheerden avatar Mar 13 '24 15:03 SWvheerden