Skip to content

Commit f77e0b4

Browse files
build: revert the changes to import lists
remove lint from travis go 1.9.x linux builder errors reported by varcheck -> delete the variables instead of commenting them out
1 parent b2e72fc commit f77e0b4

File tree

107 files changed

+95
-247
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+95
-247
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ matrix:
1313
- sudo chown root:$USER /etc/fuse.conf
1414
- go run build/ci.go install
1515
- go run build/ci.go test -coverage
16-
- go run build/ci.go lint
1716

1817
# These are the latest Go versions.
1918
- os: linux

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ test: all
4040
lint: ## Run linters. Use make install-linters first.
4141
build/env.sh go run build/ci.go lint
4242

43-
format: # Formats the code. Must have goimports installed
44-
build/gofmt.sh
45-
4643
clean:
4744
rm -fr build/_workspace/pkg/ $(GOBIN)/*
4845

accounts/abi/bind/bind_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ import (
2626
"strings"
2727
"testing"
2828

29-
"golang.org/x/tools/imports"
30-
3129
"github.com/ethereum/go-ethereum/common"
30+
"golang.org/x/tools/imports"
3231
)
3332

3433
var bindTests = []struct {

accounts/abi/event_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ import (
2525
"strings"
2626
"testing"
2727

28-
"github.com/stretchr/testify/assert"
29-
"github.com/stretchr/testify/require"
30-
3128
"github.com/ethereum/go-ethereum/common"
3229
"github.com/ethereum/go-ethereum/crypto"
30+
"github.com/stretchr/testify/assert"
31+
"github.com/stretchr/testify/require"
3332
)
3433

3534
var jsonEventTransfer = []byte(`{

accounts/abi/type_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import (
2222
"testing"
2323

2424
"github.com/davecgh/go-spew/spew"
25-
2625
"github.com/ethereum/go-ethereum/common"
2726
)
2827

accounts/abi/unpack_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ import (
2626
"strings"
2727
"testing"
2828

29-
"github.com/stretchr/testify/require"
30-
3129
"github.com/ethereum/go-ethereum/common"
30+
"github.com/stretchr/testify/require"
3231
)
3332

3433
type unpackTest struct {

accounts/keystore/account_cache.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ import (
2727
"sync"
2828
"time"
2929

30-
"gopkg.in/fatih/set.v0"
31-
3230
"github.com/ethereum/go-ethereum/accounts"
3331
"github.com/ethereum/go-ethereum/common"
3432
"github.com/ethereum/go-ethereum/log"
33+
"gopkg.in/fatih/set.v0"
3534
)
3635

3736
// Minimum amount of time between cache reloads. This limit applies if the platform does

accounts/keystore/account_cache_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import (
2929

3030
"github.com/cespare/cp"
3131
"github.com/davecgh/go-spew/spew"
32-
3332
"github.com/ethereum/go-ethereum/accounts"
3433
"github.com/ethereum/go-ethereum/common"
3534
)

accounts/keystore/key.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ import (
2929
"strings"
3030
"time"
3131

32-
"github.com/pborman/uuid"
33-
3432
"github.com/ethereum/go-ethereum/accounts"
3533
"github.com/ethereum/go-ethereum/common"
3634
"github.com/ethereum/go-ethereum/crypto"
35+
"github.com/pborman/uuid"
3736
)
3837

3938
const (

accounts/keystore/keystore_passphrase.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,13 @@ import (
3636
"io/ioutil"
3737
"path/filepath"
3838

39-
"github.com/pborman/uuid"
40-
"golang.org/x/crypto/pbkdf2"
41-
"golang.org/x/crypto/scrypt"
42-
4339
"github.com/ethereum/go-ethereum/common"
4440
"github.com/ethereum/go-ethereum/common/math"
4541
"github.com/ethereum/go-ethereum/crypto"
4642
"github.com/ethereum/go-ethereum/crypto/randentropy"
43+
"github.com/pborman/uuid"
44+
"golang.org/x/crypto/pbkdf2"
45+
"golang.org/x/crypto/scrypt"
4746
)
4847

4948
const (

0 commit comments

Comments
 (0)