diff options
author | aaronbuchwald <[email protected]> | 2020-12-14 19:32:25 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-14 19:32:25 -0500 |
commit | 95cc7cb766d5bb23a771da35b3774159b2e1e1d1 (patch) | |
tree | 25b8a74353b87544f62f25f23ce0f721861a80f1 /core | |
parent | ac8d216710a533e1dae2f1215ff41e7f0fc2effe (diff) | |
parent | de9c3bc629f7e712b3cd84b280db6a32b9bc7030 (diff) |
Merge pull request #70 from ava-labs/fix-linting
Fix linting and add to CI
Diffstat (limited to 'core')
-rw-r--r-- | core/state/statedb.go | 1 | ||||
-rw-r--r-- | core/types/block.go | 2 | ||||
-rw-r--r-- | core/vm/instructions.go | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/core/state/statedb.go b/core/state/statedb.go index c4d926d..f75428b 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -43,7 +43,6 @@ type revision struct { var ( // emptyRoot is the known root hash of an empty trie. emptyRoot = common.HexToHash("56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421") - zeroRoot = common.HexToHash("0000000000000000000000000000000000000000000000000000000000000000") ) type proofList [][]byte diff --git a/core/types/block.go b/core/types/block.go index 8e23488..b293ae7 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -86,7 +86,7 @@ type Header struct { Extra []byte `json:"extraData" gencodec:"required"` MixDigest common.Hash `json:"mixHash"` Nonce BlockNonce `json:"nonce"` - ExtDataHash common.Hash `json:"extDataHash" gencodec:"required"` + ExtDataHash common.Hash `json:"extDataHash" gencodec:"required"` } // field type overrides for gencodec diff --git a/core/vm/instructions.go b/core/vm/instructions.go index e1eb25e..3e1da26 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -18,6 +18,7 @@ package vm import ( "errors" + "github.com/ava-labs/coreth/core/types" "github.com/ava-labs/coreth/params" "github.com/ethereum/go-ethereum/common" |