aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Laine <[email protected]>2020-09-18 15:33:20 -0400
committerDan Laine <[email protected]>2020-09-18 15:33:20 -0400
commitdf35a9b248b51fd47e9d3038489fec876be761f3 (patch)
treef4018618c3a5165e83d5989ea51f6f45e092002d
parentd048937c48753d9eaef771bf71820cf95d79df26 (diff)
add no-op health endpoint
-rw-r--r--plugin/evm/health.go9
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
+}