coreth
coreth copied to clipboard
Non-nil pointer values of plugin/evm.Config are logged as addresses instead of values
Describe the bug
When avalalanchego starts up and coreth logs its configuration, non-nil pointer values are output as addresses rather than values.
To Reproduce
Start avalanchego configured with state-sync-enabled: true and check the log line INFO <C Chain> plugin/evm/vm.go:411 Initializing Coreth VM... for StateSyncEnabled:<address> rather than StateSyncEnabled:true.
Expected behavior
Non-nil pointer fields of Config should be output as values.
I suspect that Config needs to implement TerminalStringer.