aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/static_service.go
diff options
context:
space:
mode:
authorStephen Buttolph <sjb274@cornell.edu>2020-04-16 01:02:16 -0400
committerGitHub <noreply@github.com>2020-04-16 01:02:16 -0400
commit6ac9ecf8a736e06a5dba6b971e632342fe6eef66 (patch)
tree2c8314f1c69b9afaf30e71a887cd9734fceb0023 /plugin/evm/static_service.go
parentae13dfb64a82d35d6c9607bc61dcf1ac21e59f85 (diff)
Revert "Added the EVM as a plugin"
Diffstat (limited to 'plugin/evm/static_service.go')
-rw-r--r--plugin/evm/static_service.go22
1 files changed, 0 insertions, 22 deletions
diff --git a/plugin/evm/static_service.go b/plugin/evm/static_service.go
deleted file mode 100644
index d3870ca..0000000
--- a/plugin/evm/static_service.go
+++ /dev/null
@@ -1,22 +0,0 @@
-// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
-// See the file LICENSE for licensing terms.
-
-package evm
-
-import (
- "context"
- "encoding/json"
-
- "github.com/ava-labs/coreth/core"
- "github.com/ava-labs/gecko/utils/formatting"
-)
-
-// StaticService defines the static API services exposed by the evm
-type StaticService struct{}
-
-// BuildGenesis returns the UTXOs such that at least one address in [args.Addresses] is
-// referenced in the UTXO.
-func (*StaticService) BuildGenesis(_ context.Context, args *core.Genesis) (formatting.CB58, error) {
- bytes, err := json.Marshal(args)
- return formatting.CB58{Bytes: bytes}, err
-}