[project][pkg] README, add master debug env flag

pull/24/head
Edgar Aroutiounian 5 years ago
parent 719f1431bf
commit 81b2e29a2f
  1. 3
      README.md
  2. 4
      cmd/subcommands/custom-flags.go
  3. 5
      pkg/common/values.go

@ -3,6 +3,9 @@
This is a go layer on top of the Harmony RPC, included is a CLI tool that you can build with a
simple invocation of `make`
See https://docs.harmony.one/sdk-wiki/command-line-interface/using-the-harmony-cli-tool for detailed
documentation on how to use the `hmy` CLI tools
# Build
Invoke `make` to build the `hmy` binary.

@ -24,7 +24,7 @@ func (oneAddress *oneAddress) Set(s string) error {
}
func (oneAddress oneAddress) Type() string {
return ""
return "string"
}
type chainIDWrapper struct {
@ -45,5 +45,5 @@ func (chainIDWrapper *chainIDWrapper) Set(s string) error {
}
func (chainIDWrapper chainIDWrapper) Type() string {
return ""
return "string"
}

@ -27,4 +27,9 @@ func init() {
if _, enabled := os.LookupEnv("HMY_TX_DEBUG"); enabled != false {
DebugTransaction = true
}
if _, enabled := os.LookupEnv("HMY_ALL_DEBUG"); enabled != false {
DebugRPC = true
DebugTransaction = true
}
}

Loading…
Cancel
Save