aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm
diff options
context:
space:
mode:
authorTed Yin <[email protected]>2020-09-18 15:59:34 -0400
committerGitHub <[email protected]>2020-09-18 15:59:34 -0400
commitd0bbfb33f16a69ce24e123b01ebb30de8193ddc8 (patch)
treef4018618c3a5165e83d5989ea51f6f45e092002d /plugin/evm
parentd048937c48753d9eaef771bf71820cf95d79df26 (diff)
parentdf35a9b248b51fd47e9d3038489fec876be761f3 (diff)
Merge pull request #37 from ava-labs/add-healthv0.3.0-rc.6
add no-op health endpoint
Diffstat (limited to 'plugin/evm')
-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
+}