diff --git a/fixture/service.go b/fixture/service.go index 8448d84..2b7b05e 100644 --- a/fixture/service.go +++ b/fixture/service.go @@ -5,7 +5,6 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - // "github.com/jmoiron/sqlx" snapt "github.com/vulcanize/eth-pg-ipfs-state-snapshot/pkg/types" ) diff --git a/pkg/snapshot/file/publisher.go b/pkg/snapshot/file/publisher.go index b1e09c0..8abc8be 100644 --- a/pkg/snapshot/file/publisher.go +++ b/pkg/snapshot/file/publisher.go @@ -285,7 +285,7 @@ func (p *publisher) logNodeCounters() { } func (p *publisher) printNodeCounters(msg string) { - log.WithFields(log.Fields{ + logrus.WithFields(logrus.Fields{ "runtime": time.Now().Sub(p.startTime).String(), "state nodes": atomic.LoadUint64(&p.stateNodeCounter), "storage nodes": atomic.LoadUint64(&p.storageNodeCounter), diff --git a/pkg/snapshot/mock/util.go b/pkg/snapshot/mock/util.go index 99106ed..e6f5430 100644 --- a/pkg/snapshot/mock/util.go +++ b/pkg/snapshot/mock/util.go @@ -1,7 +1,10 @@ package mock -import "fmt" -import "github.com/golang/mock/gomock" +import ( + "fmt" + + "github.com/golang/mock/gomock" +) type anyOfMatcher struct { values []interface{}