forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from vulcanize/rebase
Rebase and GasOracle
- Loading branch information
Showing
1,846 changed files
with
7,124 additions
and
872,487 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ build/_vendor/pkg | |
|
||
# used by the Makefile | ||
/build/_workspace/ | ||
/build/cache/ | ||
/build/bin/ | ||
/geth*.zip | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# This file configures github.com/golangci/golangci-lint. | ||
|
||
run: | ||
timeout: 2m | ||
tests: true | ||
# default is true. Enables skipping of directories: | ||
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ | ||
skip-dirs-use-default: true | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
- deadcode | ||
- goconst | ||
- goimports | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- misspell | ||
# - staticcheck | ||
- unconvert | ||
# - unused | ||
- varcheck | ||
|
||
linters-settings: | ||
gofmt: | ||
simplify: true | ||
goconst: | ||
min-len: 3 # minimum length of string constant | ||
min-occurrences: 6 # minimum number of occurrences | ||
|
||
issues: | ||
exclude-rules: | ||
- path: crypto/blake2b/ | ||
linters: | ||
- deadcode | ||
- path: crypto/bn256/cloudflare | ||
linters: | ||
- deadcode | ||
- path: p2p/discv5/ | ||
linters: | ||
- deadcode | ||
- path: core/vm/instructions_test.go | ||
linters: | ||
- goconst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,8 @@ jobs: | |
os: linux | ||
dist: xenial | ||
go: 1.11.x | ||
env: | ||
- GO111MODULE=on | ||
script: | ||
- go run build/ci.go install | ||
- go run build/ci.go test -coverage $TEST_PACKAGES | ||
|
@@ -27,13 +29,26 @@ jobs: | |
os: linux | ||
dist: xenial | ||
go: 1.12.x | ||
env: | ||
- GO111MODULE=on | ||
script: | ||
- go run build/ci.go install | ||
- go run build/ci.go test -coverage $TEST_PACKAGES | ||
|
||
# These are the latest Go versions. | ||
- stage: build | ||
os: linux | ||
arch: amd64 | ||
dist: xenial | ||
go: 1.13.x | ||
script: | ||
- go run build/ci.go install | ||
- go run build/ci.go test -coverage $TEST_PACKAGES | ||
|
||
- stage: build | ||
if: type = pull_request | ||
os: linux | ||
arch: arm64 | ||
dist: xenial | ||
go: 1.13.x | ||
script: | ||
|
@@ -42,6 +57,7 @@ jobs: | |
|
||
- stage: build | ||
os: osx | ||
osx_image: xcode11.3 | ||
go: 1.13.x | ||
script: | ||
- echo "Increase the maximum number of open file descriptors on macOS" | ||
|
@@ -75,12 +91,9 @@ jobs: | |
- fakeroot | ||
- python-bzrlib | ||
- python-paramiko | ||
cache: | ||
directories: | ||
- $HOME/.gobundle | ||
script: | ||
- echo '|1|7SiYPr9xl3uctzovOTj4gMwAC1M=|t6ReES75Bo/PxlOPJ6/GsGbTrM0= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0aKz5UTUndYgIGG7dQBV+HaeuEZJ2xPHo2DS2iSKvUL4xNMSAY4UguNW+pX56nAQmZKIZZ8MaEvSj6zMEDiq6HFfn5JcTlM80UwlnyKe8B8p7Nk06PPQLrnmQt5fh0HmEcZx+JU9TZsfCHPnX7MNz4ELfZE6cFsclClrKim3BHUIGq//t93DllB+h4O9LHjEUsQ1Sr63irDLSutkLJD6RXchjROXkNirlcNVHH/jwLWR5RcYilNX7S5bIkK8NlWPjsn/8Ua5O7I9/YoE97PpO6i73DTGLh5H9JN/SITwCKBkgSDWUt61uPK3Y11Gty7o2lWsBjhBUm2Y38CBsoGmBw==' >> ~/.ssh/known_hosts | ||
- go run build/ci.go debsrc -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <[email protected]>" -goversion 1.13.4 -gohash 95dbeab442ee2746b9acf0934c8e2fc26414a0565c008631b04addb8c02e7624 -gobundle $HOME/.gobundle/go.tar.gz | ||
- go run build/ci.go debsrc -goversion 1.13.4 -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <[email protected]>" | ||
|
||
# This builder does the Linux Azure uploads | ||
- stage: build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.