circleCI config and linting fixes (#3)

* Fixed circleci config and fixed linting warnings

* Updated circleCI for go version 1.12 and split jobs for build/testing

* updated go version to 1.12.5 for circleCI

* Go mod tidy dependencies

* Updated linting tools and cleared up code lint smells

* Added workflow to run build and test jobs

* Moved linting command to build workflow

* Get dependencies before linting by default

* Added go module flag to linter and increased deadline to pull packages
This commit is contained in:
Austin Abell
2019-07-02 15:36:22 -04:00
committed by GitHub
parent 18d57af55e
commit 69333ec1b3
15 changed files with 397 additions and 98 deletions
+2
View File
@@ -26,6 +26,8 @@ type ChainContext struct {
headersByNumber map[uint64]*ethtypes.Header
}
// NewChainContext generates new ChainContext based on Ethereum's core.ChainContext and
// consensus.Engine interfaces in order to process Ethereum transactions.
func NewChainContext() *ChainContext {
return &ChainContext{
headersByNumber: make(map[uint64]*ethtypes.Header),