aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Stock <[email protected]>2020-12-21 12:04:54 -0500
committerTodd Stock <[email protected]>2020-12-21 12:04:54 -0500
commit3f485d21b7f0be08ee2256a26b7ff856fcd448cf (patch)
treebec129ff0425cd2f94dbca010f5c91fe198c8e4a
parentee2823fff37a59bcc4a4898966159c9109d98ce1 (diff)
lint
-rw-r--r--plugin/evm/tx.go2
-rw-r--r--plugin/evm/vm.go9
2 files changed, 6 insertions, 5 deletions
diff --git a/plugin/evm/tx.go b/plugin/evm/tx.go
index c13592c..f325159 100644
--- a/plugin/evm/tx.go
+++ b/plugin/evm/tx.go
@@ -11,11 +11,11 @@ import (
"github.com/ava-labs/coreth/core/state"
+ "github.com/ava-labs/avalanchego/codec"
"github.com/ava-labs/avalanchego/database"
"github.com/ava-labs/avalanchego/ids"
"github.com/ava-labs/avalanchego/snow"
"github.com/ava-labs/avalanchego/utils"
- "github.com/ava-labs/avalanchego/codec"
"github.com/ava-labs/avalanchego/utils/crypto"
"github.com/ava-labs/avalanchego/utils/hashing"
"github.com/ava-labs/avalanchego/vms/components/verify"
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go
index fa5d3f5..7634ca7 100644
--- a/plugin/evm/vm.go
+++ b/plugin/evm/vm.go
@@ -8,14 +8,15 @@ import (
"encoding/json"
"errors"
"fmt"
- "github.com/ava-labs/avalanchego/codec/linearcodec"
- "github.com/ava-labs/avalanchego/codec/reflectcodec"
"math/big"
"strings"
"sync"
"sync/atomic"
"time"
+ "github.com/ava-labs/avalanchego/codec/linearcodec"
+ "github.com/ava-labs/avalanchego/codec/reflectcodec"
+
"github.com/ava-labs/coreth"
"github.com/ava-labs/coreth/core"
"github.com/ava-labs/coreth/core/state"
@@ -36,13 +37,13 @@ import (
"github.com/ava-labs/avalanchego/api/admin"
"github.com/ava-labs/avalanchego/cache"
+ "github.com/ava-labs/avalanchego/codec"
"github.com/ava-labs/avalanchego/database"
"github.com/ava-labs/avalanchego/database/prefixdb"
"github.com/ava-labs/avalanchego/ids"
"github.com/ava-labs/avalanchego/snow"
"github.com/ava-labs/avalanchego/snow/choices"
"github.com/ava-labs/avalanchego/snow/consensus/snowman"
- "github.com/ava-labs/avalanchego/codec"
"github.com/ava-labs/avalanchego/utils/constants"
"github.com/ava-labs/avalanchego/utils/crypto"
"github.com/ava-labs/avalanchego/utils/formatting"
@@ -124,7 +125,7 @@ var Codec codec.Manager
func init() {
Codec = codec.NewDefaultManager()
- c := linearcodec.New(reflectcodec.DefaultTagName, 1<<20)
+ c := linearcodec.New(reflectcodec.DefaultTagName, 1<<20)
errs := wrappers.Errs{}
errs.Add(