From df35a9b248b51fd47e9d3038489fec876be761f3 Mon Sep 17 00:00:00 2001 From: Dan Laine Date: Fri, 18 Sep 2020 15:33:20 -0400 Subject: add no-op health endpoint --- plugin/evm/health.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 plugin/evm/health.go 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 +} -- cgit v1.2.3