Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Upgrade] Go-Ethereum release v1.9.24 #1219

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
c995914
params: begin v1.9.23 release cycle
karalabe Sep 28, 2020
420b786
accounts/abi: ABI explicit difference between Unpack and UnpackIntoIn…
MariusVanDerWijden Sep 28, 2020
a90e645
mobile: added constructor for big int (#21597)
MariusVanDerWijden Sep 28, 2020
0ddd461
core/vm, params: make 2200 in line with spec (#21605)
holiman Sep 28, 2020
eebfb13
core: free pointer from slice after popping element from price heap (…
aaronbuchwald Sep 28, 2020
a04294d
internal/web3ext: improve eth_getBlockByNumber and eth_getBlockByHash…
mrFranklin Sep 28, 2020
b007df8
light: fix wrong description in a comment (#21573)
azuchi Sep 28, 2020
6660929
p2p/enode: remove unused code (#21612)
mrFranklin Sep 28, 2020
901471f
build: keep geth-sources.jar build result for JavaDoc (#21596)
MariusVanDerWijden Sep 28, 2020
4ee11b0
cmd/bootnode,internal/debug: fix some comments (#21623)
mrFranklin Sep 29, 2020
6c8310e
trie: use stacktrie for Derivesha operation (#21407)
gballet Sep 29, 2020
dad2658
accounts, signer: implement gnosis safe support (#21593)
holiman Sep 29, 2020
053ed9c
trie: polishes to trie committer (#21351)
rjl493456442 Sep 30, 2020
9d1e202
trie: add Commit-sequence tests for stacktrie commit (#21643)
holiman Sep 30, 2020
a15d71a
core/state/snapshot: stop generator if it hits missing trie nodes (#2…
karalabe Oct 5, 2020
d9890a6
cmd/faucet: enable DNS discovery for known networks (#21636)
fjl Oct 5, 2020
2b2fd74
params: update goerli testnet bootnodes (#21659)
q9f Oct 6, 2020
eb87121
core/bloombits: faster generator (#21625)
holiman Oct 6, 2020
e43d827
core/types: optimize bloom filters (#21624)
holiman Oct 6, 2020
716864d
cmd/devp2p/internal/ethtest: improve eth test suite (#21615)
renaynay Oct 7, 2020
015e789
node: relax websocket connection header check (#21646)
fjl Oct 7, 2020
6d29e19
signer/core: don't mismatch reject and no accounts (#21677)
holiman Oct 8, 2020
5e86e4e
p2p/discover: remove use of shared hash instance for key derivation (…
fjl Oct 8, 2020
43cd31e
core/vm: dedup config check in markdown logger (#21655)
gballet Oct 8, 2020
905ed10
eth/downloader: fix data race around the ancientlimit (#21681)
rjl493456442 Oct 9, 2020
19a1c95
eth/downloader: cache parent hash instead of recomputing (#21678)
MariusVanDerWijden Oct 9, 2020
706f5e3
core: fix txpool off-by-one error (#21683)
holiman Oct 9, 2020
86dd005
trie: polish commit function (#21692)
rjl493456442 Oct 12, 2020
66c3eb2
accouts, consensus, core: fix some comments (#21617)
mrFranklin Oct 12, 2020
32341f8
console: fix admin.sleepBlocks (#21629)
de1acr0ix Oct 13, 2020
c37e68e
all: replace RWMutex with Mutex in places where RLock is not used (#2…
mrFranklin Oct 13, 2020
94d1f58
consensus/clique: unexport calcDifficulty and improve comment (#21619)
mrFranklin Oct 13, 2020
348c3bc
trie: fix flaw in stacktrie pool reuse (#21699)
holiman Oct 13, 2020
5c6155f
internal/web3ext: improve some web3 apis (#21639)
mrFranklin Oct 13, 2020
7a5a822
eth, p2p: use truncated names (#21698)
holiman Oct 13, 2020
2a9ea6b
cmd/geth, cmd/utils: fixed flags name (#21700)
Neurone Oct 13, 2020
1e10489
miner: don't interrupt mining after successful sync (#21701)
holiman Oct 13, 2020
1fed223
accounts/keystore: fix flaky test (#21703)
MariusVanDerWijden Oct 13, 2020
bdc7554
params: update CHTs (#21706)
rjl493456442 Oct 14, 2020
4eb01b2
miner: set etherbase even if mining isn't possible at the moment (#21…
holiman Oct 14, 2020
524aaf5
p2p/discover: implement v5.1 wire protocol (#21647)
fjl Oct 14, 2020
8c2f271
params: go-ethereum v1.9.23 stable
fjl Oct 15, 2020
51d026c
params: begin v1.9.24 release cycle
fjl Oct 15, 2020
b305591
core/vm: marshall returnData as hexstring in trace logs (#21715)
MariusVanDerWijden Oct 16, 2020
cef3e2d
console: don't exit on ctrl-c, only on ctrl-d (#21660)
renaynay Oct 20, 2020
6e71371
miner: fixed race condition in tests (#21664)
MariusVanDerWijden Oct 20, 2020
9d25f34
core: track and improve tx indexing/unindexing (#21331)
rjl493456442 Oct 20, 2020
3e82c9e
eth/api: fix potential nil deref in AccountRange (#21710)
aaronbuchwald Oct 20, 2020
85d81b2
les: remove clientPeerSet and serverSet (#21566)
zsfelfoldi Oct 21, 2020
91c4607
core: fix blockchain insert report time interval calculation (#21723)
hwanjo Oct 21, 2020
fb2c79d
accounts/usbwallet: fix ledger version check (#21733)
svenski123 Oct 21, 2020
6487c00
all: implement EIP-2929 (gas cost increases for state access opcodes)…
holiman Oct 23, 2020
95f720f
cmd/devp2p/internal/ethtest: update test chain (#21742)
fjl Oct 23, 2020
f5182c7
utils, params: add yolov2 bootnode
holiman Oct 23, 2020
8a94aa9
Merge pull request #21745 from holiman/yolov2_bootnodes
karalabe Oct 23, 2020
68ac4eb
params: update yolov2 bootnode with elastic ip
holiman Oct 23, 2020
7b748e5
Merge pull request #21747 from holiman/yolov2update
karalabe Oct 23, 2020
1a55e20
cmd/geth: fix dir path in geth attach for yolov2 network (#21749)
prestwich Oct 26, 2020
296a27d
accounts/abi/bind: restore error functionality (#21743)
MariusVanDerWijden Oct 27, 2020
18145ad
core/state: maintain one more diff layer (#21730)
rjl493456442 Oct 28, 2020
43c278c
core/state: disable snapshot iteration if it's not fully constructed …
rjl493456442 Oct 28, 2020
b63e3c3
core: improve snapshot journal recovery (#21594)
rjl493456442 Oct 29, 2020
b63bffe
les, p2p/simulations/adapters: fix issues found while simulating les …
rjl493456442 Oct 30, 2020
3eebf34
common: remove ToHex and ToHexArray (#21610)
MariusVanDerWijden Nov 4, 2020
e640267
core/state/snapshot: fix journal recovery from generating old journal…
rjl493456442 Nov 4, 2020
5d20fbb
cmd/devp2p, internal/utesting: implement TAP output (#21760)
fjl Nov 4, 2020
36bb7ac
cmd/devp2p/internal/ethtest: add correct chain files and improve test…
renaynay Nov 4, 2020
175506e
core/types, rlp: optimize derivesha (#21728)
holiman Nov 4, 2020
6cfe494
build: stop verbose output to keep travis from overflowing
karalabe Nov 5, 2020
97fc1c3
Merge pull request #21787 from karalabe/pod-non-verbose
karalabe Nov 5, 2020
81ff700
consensus/ethash: fix the percentage progress report
holiman Nov 9, 2020
7b7b327
core/state/snapshot: update generator marker in sync with flushes
karalabe Nov 9, 2020
8167897
trie, tests/fuzzers: implement a stacktrie fuzzer + stacktrie fixes (…
holiman Nov 9, 2020
eb694ea
travis: drop Go 1.13 builders as it's not supported any more
karalabe Nov 9, 2020
1143dc6
build: stop building for Ubuntu Eoan, not supported any more
karalabe Nov 9, 2020
9e688fb
Merge pull request #21806 from karalabe/deprecate-eoan
karalabe Nov 9, 2020
040928d
Merge pull request #21805 from karalabe/travis-drop-1.13
karalabe Nov 9, 2020
7c30f4d
Merge pull request #21804 from karalabe/snapshot-marker-sync
karalabe Nov 9, 2020
0c34eae
Merge pull request #21803 from holiman/ethash
karalabe Nov 9, 2020
c52dfd5
p2p/simulations/adapters/exec: fix some issues (#21801)
rjl493456442 Nov 10, 2020
941d8b5
scripts: create oss-fuzz script in go-ethereum (#21808)
holiman Nov 10, 2020
70868b1
fuzzers: removed fuzzbuzz configuration (#21813)
MariusVanDerWijden Nov 10, 2020
27d93c1
build: add -dlgo flag in ci.go (#21824)
fjl Nov 11, 2020
d990df9
consensus/ethash: use 64bit indexes for the DAG generation (#21793)
slavikus Nov 11, 2020
d494074
build: fix regressions with the -dlgo change (#21831)
fjl Nov 11, 2020
920a287
.travis.yml: move test builders after install builders (#21833)
fjl Nov 11, 2020
cc05b05
params: release Geth v1.9.24 with Go 1.15.5 (#21842)
karalabe Nov 12, 2020
0ab418f
Merge branch 'master' into upgrade/go-ethereum/v1.9.24-2021621140614
Jun 21, 2021
3a60f3d
fix: linter
Jun 21, 2021
f15e3ab
fix: do getNonce+setNonce only once, quorum way
Jun 23, 2021
0b32afc
fix : go modules
Jun 23, 2021
134f7b3
fix: remove space at prefix
Jun 23, 2021
3e79b09
fix: try next version of gofuzz
Jun 23, 2021
e3eb054
revert: fix: gofuzz dependency
Jun 23, 2021
976ec7d
fix: try latest ubuntu for the tests
Jun 24, 2021
38aeaac
fix: try go mod download
Jun 24, 2021
6e6bde9
fix: go list packages omit downloadings
Jun 24, 2021
f38ed0d
tag modified line for quorum
Jun 29, 2021
35b0aa4
Merge branch 'master' into upgrade/go-ethereum/v1.9.24-2021621140614
baptiste-b-pegasys Jun 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 40 additions & 72 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,69 +24,6 @@ jobs:
script:
- go run build/ci.go lint

- stage: build
os: linux
dist: xenial
go: 1.13.x
env:
- GO111MODULE=on
script:
- go run build/ci.go install
- go run build/ci.go test -coverage $TEST_PACKAGES

- stage: build
os: linux
dist: xenial
go: 1.14.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.15.x
env:
- GO111MODULE=on
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.15.x
env:
- GO111MODULE=on
script:
- go run build/ci.go install
- go run build/ci.go test -coverage $TEST_PACKAGES

- stage: build
os: osx
osx_image: xcode11.3
go: 1.15.x
env:
- GO111MODULE=on
script:
- echo "Increase the maximum number of open file descriptors on macOS"
- NOFILE=20480
- sudo sysctl -w kern.maxfiles=$NOFILE
- sudo sysctl -w kern.maxfilesperproc=$NOFILE
- sudo launchctl limit maxfiles $NOFILE $NOFILE
- sudo launchctl limit maxfiles
- ulimit -S -n $NOFILE
- ulimit -n
- unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703
- go run build/ci.go install
- go run build/ci.go test -coverage $TEST_PACKAGES

# This builder does the Ubuntu PPA upload
- stage: build
if: type = push
Expand All @@ -109,7 +46,7 @@ jobs:
- python-paramiko
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 -goversion 1.15 -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <geth-ci@ethereum.org>"
- go run build/ci.go debsrc -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <geth-ci@ethereum.org>"

# This builder does the Linux Azure uploads
- stage: build
Expand All @@ -129,22 +66,22 @@ jobs:
- gcc-multilib
script:
# Build for the primary platforms that Trusty can manage
- go run build/ci.go install
- go run build/ci.go install -dlgo
- go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- go run build/ci.go install -arch 386
- go run build/ci.go install -dlgo -arch 386
- go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds

# Switch over GCC to cross compilation (breaks 386, hence why do it here only)
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
- sudo ln -s /usr/include/asm-generic /usr/include/asm

- GOARM=5 go run build/ci.go install -arch arm -cc arm-linux-gnueabi-gcc
- GOARM=5 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabi-gcc
- GOARM=5 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- GOARM=6 go run build/ci.go install -arch arm -cc arm-linux-gnueabi-gcc
- GOARM=6 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabi-gcc
- GOARM=6 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- GOARM=7 go run build/ci.go install -arch arm -cc arm-linux-gnueabihf-gcc
- GOARM=7 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabihf-gcc
- GOARM=7 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- go run build/ci.go install -arch arm64 -cc aarch64-linux-gnu-gcc
- go run build/ci.go install -dlgo -arch arm64 -cc aarch64-linux-gnu-gcc
- go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds

# This builder does the Linux Azure MIPS xgo uploads
Expand Down Expand Up @@ -202,7 +139,7 @@ jobs:
git:
submodules: false # avoid cloning ethereum/tests
before_install:
- curl https://dl.google.com/go/go1.15.linux-amd64.tar.gz | tar -xz
- curl https://dl.google.com/go/go1.15.5.linux-amd64.tar.gz | tar -xz
- export PATH=`pwd`/go/bin:$PATH
- export GOROOT=`pwd`/go
- export GOPATH=$HOME/go
Expand All @@ -229,7 +166,7 @@ jobs:
git:
submodules: false # avoid cloning ethereum/tests
script:
- go run build/ci.go install
- go run build/ci.go install -dlgo
- go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds

# Build the iOS framework and upload it to CocoaPods and Azure
Expand All @@ -247,6 +184,37 @@ jobs:
- export CGO_CFLAGS_ALLOW='-fmodules|-fblocks|-fobjc-arc'
- go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds

# These builders run the tests
- stage: build
os: linux
arch: amd64
dist: xenial
go: 1.15.x
env:
- GO111MODULE=on
script:
- go run build/ci.go test -coverage $TEST_PACKAGES

- stage: build
if: type = pull_request
os: linux
arch: arm64
dist: xenial
go: 1.15.x
env:
- GO111MODULE=on
script:
- go run build/ci.go test -coverage $TEST_PACKAGES

- stage: build
os: linux
dist: xenial
go: 1.14.x
env:
- GO111MODULE=on
script:
- go run build/ci.go test -coverage $TEST_PACKAGES

# This builder does the Azure archive purges to avoid accumulating junk
- stage: build
if: type = cron
Expand Down
5 changes: 4 additions & 1 deletion accounts/abi/bind/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,10 @@ func (c *BoundContract) Call(opts *CallOpts, results *[]interface{}, method stri
}
} else {
output, err = c.caller.CallContract(ctx, msg, opts.BlockNumber)
if err == nil && len(output) == 0 {
if err != nil {
return err
}
if len(output) == 0 {
// Make sure we have a contract to operate on, and bail out otherwise.
if code, err = c.caller.CodeAt(ctx, c.address, opts.BlockNumber); err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion accounts/usbwallet/ledger.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (w *ledgerDriver) SignTx(path accounts.DerivationPath, tx *types.Transactio
return common.Address{}, nil, accounts.ErrWalletClosed
}
// Ensure the wallet is capable of signing the given transaction
if chainID != nil && w.version[0] <= 1 && w.version[2] <= 2 {
if chainID != nil && w.version[0] <= 1 && w.version[1] <= 0 && w.version[2] <= 2 {
//lint:ignore ST1005 brand name displayed on the console
return common.Address{}, nil, fmt.Errorf("Ledger v%d.%d.%d doesn't support signing this transaction, please update to v1.0.3 at least", w.version[0], w.version[1], w.version[2])
}
Expand Down
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ environment:
install:
- git submodule update --init
- rmdir C:\go /s /q
- appveyor DownloadFile https://dl.google.com/go/go1.15.windows-%GETH_ARCH%.zip
- 7z x go1.15.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
- appveyor DownloadFile https://dl.google.com/go/go1.15.5.windows-%GETH_ARCH%.zip
- 7z x go1.15.5.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
- go version
- gcc --version

build_script:
- go run build\ci.go install
- go run build\ci.go install -dlgo

after_build:
- go run build\ci.go archive -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
Expand Down
9 changes: 8 additions & 1 deletion build/checksums.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# This file contains sha256 checksums of optional build dependencies.

69438f7ed4f532154ffaf878f3dfd83747e7a00b70b3556eddabf7aaee28ac3a go1.15.src.tar.gz
c1076b90cf94b73ebed62a81d802cd84d43d02dea8c07abdc922c57a071c84f1 go1.15.5.src.tar.gz
359a4334b8c8f5e3067e5a76f16419791ac3fef4613d8e8e1eac0b9719915f6d go1.15.5.darwin-amd64.tar.gz
4c8179d406136979724c71732009c7e2e7c794dbeaaa2a043c00da34d4be0559 go1.15.5.linux-386.tar.gz
9a58494e8da722c3aef248c9227b0e9c528c7318309827780f16220998180a0d go1.15.5.linux-amd64.tar.gz
a72a0b036beb4193a0214bca3fca4c5d68a38a4ccf098c909f7ce8bf08567c48 go1.15.5.linux-arm64.tar.gz
5ea6456620d3efed5dda99238c7f23866eafdd915e5348736e631bc283c0238a go1.15.5.linux-armv6l.tar.gz
d812436c7e3482ba3c97172edf26afaf35aca60a5621ff4a5f6a08386505ab9c go1.15.5.windows-386.zip
1d24be3a200201a74be25e4134fbec467750e834e84e9c7789a9fc13248c5507 go1.15.5.windows-amd64.zip

d998a84eea42f2271aca792a7b027ca5c1edfcba229e8e5a844c9ac3f336df35 golangci-lint-1.27.0-linux-armv7.tar.gz
bf781f05b0d393b4bf0a327d9e62926949a4f14d7774d950c4e009fc766ed1d4 golangci-lint.exe-1.27.0-windows-amd64.zip
Expand Down
Loading