diff options
author | Dan Laine <[email protected]> | 2020-09-18 15:33:20 -0400 |
---|---|---|
committer | Dan Laine <[email protected]> | 2020-09-18 15:33:20 -0400 |
commit | df35a9b248b51fd47e9d3038489fec876be761f3 (patch) | |
tree | f4018618c3a5165e83d5989ea51f6f45e092002d /plugin/evm | |
parent | d048937c48753d9eaef771bf71820cf95d79df26 (diff) |
add no-op health endpoint
Diffstat (limited to 'plugin/evm')
-rw-r--r-- | plugin/evm/health.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugin/evm/health.go b/plugin/evm/health.go new file mode 100644 index 0000000..ea618d2 --- /dev/null +++ b/plugin/evm/health.go @@ -0,0 +1,9 @@ +package evm + +// Health returns nil if this chain is healthy. +// Also returns details, which should be one of: +// string, []byte, map[string]string +func (vm *VM) Health() (interface{}, error) { + // TODO perform actual health check + return nil, nil +} |