coreth icon indicating copy to clipboard operation
coreth copied to clipboard

Non-nil pointer values of plugin/evm.Config are logged as addresses instead of values

Open marun opened this issue 1 year ago • 1 comments

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.

marun avatar Sep 11 '24 19:09 marun

I suspect that Config needs to implement TerminalStringer.

ARR4N avatar Sep 11 '24 19:09 ARR4N