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

merge go-ethereum v1.13.15 #79

Open
wants to merge 152 commits into
base: feat/finalizer
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
8d03918
params: begin v1.13.9 release cycle
holiman Dec 22, 2023
d2e3cb8
core/state: logic equivalence for GetCodeHash (#28733)
cygaar Dec 26, 2023
b5b7003
tests: add currentExcessBlobGas to state tests (#28735)
marioevz Dec 28, 2023
09e0208
accounts,signer: fix typos in comments (#28730)
taeguk Dec 28, 2023
76a5474
build: add support for ubuntu 23.10 (mantic minotaur) (#28728)
holiman Dec 30, 2023
c053eb7
log: avoid setting default slog logger in init (#28747)
fjl Dec 30, 2023
33c94ef
cmd/evm: fix link in README.md (#28755)
ddl-hust Jan 2, 2024
2365d77
core/vm: update comments to match eip number (#28743)
darioush Jan 2, 2024
0b471c3
cmd/evm: Fix blob-gas-used on invalid transactions in t8n (#28734)
marioevz Jan 3, 2024
99eb49e
internal/flags: update copyright year to 2024 (#28760)
sandakersmann Jan 4, 2024
e3eeb64
ethclient: simplify error handling in TransactionReceipt (#28748)
rosenk Jan 4, 2024
877d094
eth/downloader, eth/filters: use defer to call Unsubscribe (#28762)
ucwong Jan 5, 2024
07b17f9
log: emit error level string as "error", not "eror" (#28774)
jwasinger Jan 8, 2024
e7fa158
eth/filters: fix early Unsubscribe of log events (#28769)
ucwong Jan 8, 2024
f29520f
cmd/devp2p/internal/ethtest: fix typos in comments (#28772)
vuittont60 Jan 8, 2024
cfff3cb
params, core/forkid: schedule cancun fork on goerli (#28719)
MariusVanDerWijden Jan 8, 2024
1010a79
cmd/geth: make it possible to autopilot removedb (#28725)
holiman Jan 9, 2024
d0edc5a
accounts/abi: fix bigInt topic encoding (#28764)
rjl493456442 Jan 9, 2024
9e018ce
cmd/geth: update log test data (#28780)
jwasinger Jan 9, 2024
2d08c99
ethclient/simulated: implement new sim backend (#28202)
MariusVanDerWijden Jan 10, 2024
4f82531
params: go-ethereum v1.13.9 stable
fjl Jan 10, 2024
dd938d1
Merge branch 'master' into release/1.13
fjl Jan 10, 2024
daa2e5d
params: begin v1.13.10 release cycle
fjl Jan 10, 2024
a162091
version: release v1.13.10 to fix bad tag
karalabe Jan 11, 2024
bc0be1b
Merge branch 'master' into release/1.13
karalabe Jan 11, 2024
2e8b118
params: begin v1.13.11 release cycle
karalabe Jan 11, 2024
5c2de7f
docs: fix badge in README (#28796)
drstevenbrule Jan 12, 2024
6e235c0
eth: minor change of config-accessor (#28782)
0xmountaintop Jan 12, 2024
ae4ea04
cmd: fix typos (#28798)
vuittont60 Jan 12, 2024
7280a5b
build: fix typo in comment (#28800)
drstevenbrule Jan 12, 2024
065f82a
accounts, ethclient: minor tweaks on the new simulated backend (#28799)
karalabe Jan 12, 2024
43ba7d6
cmd/geth, internal/debug: get rid of by-default log config (#28801)
karalabe Jan 12, 2024
a608c0a
cmd/devp2p/internal/ethtest: skip large tx test on github build (#28794)
s1na Jan 12, 2024
1335ba5
p2p/dnsdisc: use strings.Cut over strings.IndexByte (#28787)
ddl-hust Jan 12, 2024
407f779
internal/ethapi: avoid using pending for defaults (#28784)
s1na Jan 12, 2024
29b7355
core/state: unexport GetOrNewStateObject (#28804)
darioush Jan 14, 2024
1485814
cmd/rlpdump: add -pos flag, displaying byte positions (#28785)
fjl Jan 14, 2024
89ccc68
tests: update reference tests (#28778)
holiman Jan 15, 2024
7596db5
ethclient: add tests for TransactionInBlock (#28283)
hyunchel Jan 15, 2024
18e154e
eth: fix potential hang in waitSnapExtension (#28744)
niuxiaojie81 Jan 15, 2024
9ee6809
core/txpool/blobpool: fix typos
alfiedotwtf Jan 15, 2024
566754c
acounts/usbwallet: fix typo (#28815)
bodhi-crypo Jan 15, 2024
d4f25b4
tests: more verbosity if block decoding fails (#28814)
holiman Jan 16, 2024
c66ca8b
tracer: use proper base fee in tests (#28775)
palango Jan 16, 2024
2e2e89c
miner: fix typo in payload_building_test.go (#28825)
Thabokani Jan 17, 2024
e5d5e09
internal/ethapi: handle blobs in API methods (#28786)
s1na Jan 17, 2024
830f3c7
eth/filters: reset filter.begin in BenchmarkFilters (#28830)
darioush Jan 18, 2024
0e93da3
crypto/kzg4844: add helpers for versioned blob hashes (#28827)
fjl Jan 19, 2024
1c48829
ethclient: apply accessList field in toCallArg (#28832)
colinlyguo Jan 19, 2024
f55a10b
params, core/forkid: enable cancun on sepolia and holesky (#28834)
MariusVanDerWijden Jan 20, 2024
78a3c32
core, core/rawdb, eth/sync: no tx indexing during snap sync (#28703)
rjl493456442 Jan 22, 2024
6a724b9
docs: remove reference to being official (#28858)
holiman Jan 23, 2024
19d9977
go.{mod,sum}: upgrade go-ole to support arm64 (#28859)
gballet Jan 23, 2024
819a497
core: fix genesis setup in benchReadChain (#28856)
darioush Jan 23, 2024
a5a4fa7
all: use uint256 in state (#28598)
holiman Jan 23, 2024
4c8d92d
build: upgrade -dlgo version to Go 1.21.6 (#28836)
sandakersmann Jan 23, 2024
c89a3da
core/state/snapshot: use AddHash/ContainHash instead of Hasher interf…
MariusVanDerWijden Jan 23, 2024
2dc7477
core/vm: fix misleading comment (#28860)
trocher Jan 23, 2024
98eaa57
eth/catalyst: add timestamp checks to fcu and new payload and improve…
lightclient Jan 23, 2024
542c861
core/txpool, eth/catalyst: fix racy simulator due to txpool backgroun…
karalabe Jan 23, 2024
6b0de79
core: move tx indexer to its own file (#28857)
rjl493456442 Jan 23, 2024
a8a8758
eth/catalyst: prefix payload id with version (#28246)
lightclient Jan 24, 2024
765f290
ethclient: fix flaky test (#28864)
rjl493456442 Jan 24, 2024
99dc3fe
params: go-ethereum v1.13.11 stable
holiman Jan 24, 2024
8f7eb9c
all: release go-ethereum v1.13.11 (#28868)
holiman Jan 24, 2024
cd0770e
params: begin v.1.13.12 release cycle
holiman Jan 24, 2024
bc0b87c
internal/flags: fix typo (#28876)
bodhi-crypo Jan 26, 2024
2e947b7
core/types: fix and test handling of faulty nil-returning signer (#28…
protolambda Jan 27, 2024
db98cc4
README.md: fix travis badge (#28889)
keienWang Jan 29, 2024
e2778cd
eth/catalyst: allow payload attributes v1 in fcu v2 (#28882)
lightclient Jan 29, 2024
fc380f5
docs/postmortems: fix outdated link (#28893)
keienWang Jan 29, 2024
eaac53e
core: reset tx lookup cache if necessary (#28865)
rjl493456442 Jan 30, 2024
3adf1ce
build: fix problem with windows line-endings in CI download (#28900)
holiman Jan 31, 2024
5c67066
eth/downloader: fix skeleton cleanup (#28581)
rjl493456442 Jan 31, 2024
06a8711
deps: update memsize (#28916)
holiman Feb 2, 2024
62affdc
core/txpool/blobpool: post-crash cleanup and addition/removal metrics…
karalabe Feb 2, 2024
47d76c5
core/txpool: don't inject lazy resolved transactions into the contain…
karalabe Feb 2, 2024
253447a
core/types: fix typo (#28922)
zoereco Feb 4, 2024
19af900
p2p: fix accidental termination of portMappingLoop (#28911)
ziogaschr Feb 5, 2024
8ec638d
internal/flags: fix --miner.gasprice default listing (#28932)
karalabe Feb 5, 2024
8fd43c8
all: fix typos in comments (#28881)
rex4539 Feb 5, 2024
99e9c07
Makefile: add help target to display available targets (#28845)
Halimao Feb 5, 2024
0b5d8d2
core: cache transaction indexing tail in memory (#28908)
rjl493456442 Feb 6, 2024
16ce7bf
eth, miner: fix enforcing the minimum miner tip (#28933)
karalabe Feb 6, 2024
199e0c9
core/state, core/vm: minor uint256 related perf improvements (#28944)
lmittmann Feb 7, 2024
1f50aa7
cmd,internal/era: implement `export-history` subcommand (#26621)
lightclient Feb 7, 2024
449d3f0
core,params: add holesky to default genesis function (#28903)
lightclient Feb 7, 2024
69f5d5b
node, rpc: add configurable HTTP request limit (#28948)
fjl Feb 7, 2024
2ab365f
all: fix docstring names (#28923)
zoereco Feb 7, 2024
2dc33d4
ethclient/simulated: fix typo (#28952)
bodhi-crypo Feb 8, 2024
ae3b7a0
eth/gasprice: fix percentile validation in eth_feeHistory (#28954)
fjl Feb 8, 2024
8a76a81
cmd/devp2p, eth: drop support for eth/67 (#28956)
karalabe Feb 8, 2024
2732fb1
params, core/forkid: add mainnet timestamp for Cancun (#28958)
lightclient Feb 8, 2024
ac5aa67
internal/ethapi: add support for blobs in eth_fillTransaction (#28839)
s1na Feb 8, 2024
85938dd
internal/era: update block index format to be based on record offset …
lightclient Feb 9, 2024
8facf44
params: go-ethereum v1.13.12 stable
holiman Feb 9, 2024
02eb36a
all: release go-ethereum v1.13.12 (#28961)
holiman Feb 9, 2024
89575ae
params: begin v1.13.13 release cycle
holiman Feb 9, 2024
f0c5b67
build: remove ubuntu 'lunar' build (#28962)
holiman Feb 9, 2024
1a79089
fix: update outdated link to trezor docs (#28966)
krauspt Feb 9, 2024
f1c27c2
internal/ethapi: fix gas estimation bug in eth_fillTransaction for bl…
mask-pp Feb 9, 2024
beb2954
core/txpool/legacypool: use uint256.Int instead of big.Int (#28606)
weiihann Feb 13, 2024
4c15d58
internal/ethapi, signer/core: fix documentation-links (#28979)
lindlof Feb 13, 2024
fe91d47
all: remove the dependency from trie to triedb (#28824)
rjl493456442 Feb 13, 2024
55a46c3
cmd/utils: fix merge-breakage in test (#28985)
holiman Feb 14, 2024
8321fe2
tests: fix goroutine leak related to state snapshot generation (#28974)
holiman Feb 14, 2024
9d537f5
ethereum, ethclient: add blob transaction fields in CallMsg (#28989)
mask-pp Feb 15, 2024
efddedc
core/txpool/blobpool: rename variables in comments (#28981)
bkellerman Feb 15, 2024
2a1d94b
cmd/devp2p: fix modulo in makeBlobTxs (#28970)
colinlyguo Feb 15, 2024
9e3e466
eth/catalyst,beacon/engine: implement GetClientVersionV1 (#28915)
lightclient Feb 15, 2024
886f0e7
tests: update execution spec tests + split statetest exec (#28993)
holiman Feb 15, 2024
2860906
eth/catalyst: add getClientVersion to capabilities (#28994)
MariusVanDerWijden Feb 15, 2024
0c412dc
cmd/evm: fix typo in test script (#28995)
bodhi-crypo Feb 15, 2024
1bdf8b9
cmd/devp2p/internal/ethtest: some fixes for the eth test suite (#28996)
fjl Feb 15, 2024
a193bb0
core/txpool/legacypool: remove a redundant heap.Init (#28910)
colinlyguo Feb 15, 2024
3c30de2
core/txpool/blobpool: update the blob db with corruption handling (#2…
karalabe Feb 16, 2024
95741b1
core: move genesis alloc types to core/types (#29003)
s1na Feb 16, 2024
593e303
core/txpool, eth, miner: pre-filter dynamic fees during pending tx re…
karalabe Feb 17, 2024
034bc46
ethstats: prevent panic if head block is not available (#29020)
rjl493456442 Feb 19, 2024
5d98479
core: using math.MaxUint64 instead of 0xffffffffffffffff (#29022)
cuiweixie Feb 19, 2024
6fb0d09
core/txpool, miner: speed up blob pool pending retrievals (#29008)
karalabe Feb 19, 2024
ac0ff04
core/vm, params: ensure order of forks, prevent overflow (#29023)
holiman Feb 19, 2024
f4852b8
core/txpool, eth, miner: retrieve plain and blob txs separately (#29026)
karalabe Feb 20, 2024
7f5e96d
core/txpool: fix typo (#29031)
buddh0 Feb 20, 2024
bba3fa9
core,eth,internal: fix typo (#29024)
buddh0 Feb 20, 2024
79e340f
params: add cancun upgrade banner (#29042)
tmelhao Feb 21, 2024
b9ca38b
core/txpool: fix typo (#29036)
colinlyguo Feb 21, 2024
b47cf8f
internal/ethapi: fix defaults for blob fields (#29037)
s1na Feb 21, 2024
3b4ede7
params: release go-ethereum v1.13.13 stable
fjl Feb 21, 2024
7f131dc
Merge branch 'master' into release/1.13
fjl Feb 21, 2024
b590cae
params: begin v1.13.14 release cycle
fjl Feb 21, 2024
e47a7c2
internal/ethapi: use overriden baseFee for gasPrice (#29051)
ArtificialPB Feb 22, 2024
b87b9b4
internal/ethapi:fix zero rpc gas cap in eth_createAccessList (#28846)
colinlyguo Feb 22, 2024
93c541a
eth/catalyst: fix wrong error message of payloadV2 after cancun (#29049)
tmelhao Feb 23, 2024
32d4d6e
core/txpool: reject blob txs with blob fee cap below the minimum (#29…
roberto-bayardo Feb 26, 2024
26724fc
p2p, log, rpc: use errors.New to replace fmt.Errorf with no parameter…
0x2d3c Feb 26, 2024
edffacc
eth/catalyst: enable some commented-out testcases   (#29073)
cuiweixie Feb 26, 2024
8bca93e
internal/ethapi: pass blob hashes to gas estimation (#29085)
mask-pp Feb 26, 2024
821d702
cmd/clef: add spaces in README.md table (#29077)
justindhillon Feb 26, 2024
c1f59b9
eth/catalyst: remove variable in tx conversion loop (#29076)
cuiweixie Feb 26, 2024
63aaac8
core/txpool/blobpool: reduce default database cap for rollout (#29090)
karalabe Feb 26, 2024
45a272c
core/txpool: no need to log loud rotate if no local txs (#29083)
jsvisa Feb 26, 2024
5a0f468
eth/tracers: Fix callTracer logs on onlyTopCall == true (#29068)
andreisilviudragnea Feb 27, 2024
51b479e
core/txpool: elevate the 'already reserved' error into a constant (#2…
roberto-bayardo Feb 27, 2024
9038ba6
params: release Geth v1.13.14
karalabe Feb 27, 2024
2bd6bd0
Merge branch 'master' into release/1.13
karalabe Feb 27, 2024
5dcf503
eth/protocols/snap: skip retrieval for completed storages (#29378)
rjl493456442 Apr 10, 2024
e343ddf
core/rawdb: add sanity-limit to header accessor (#29534)
holiman Apr 15, 2024
7bcb553
eth/filters: enforce topic-limit early on filter criterias (#29535)
holiman Apr 15, 2024
35e0525
core, eth/protocols/snap, trie: fix cause for snap-sync corruption, i…
rjl493456442 Apr 16, 2024
c5ba367
params: release Geth v 1.13.15
holiman Apr 16, 2024
fa66ad0
Merge tag 'v1.13.15' of https://github.com/ethereum/go-ethereum into …
tak1827 Oct 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
go-version: 1.21.4
- name: Run tests
run: go test ./...
run: go test -short ./...
env:
GOOS: linux
GOARCH: 386
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,49 @@ GOBIN = ./build/bin
GO ?= latest
GORUN = go run

#? geth: Build geth
geth:
$(GORUN) build/ci.go install ./cmd/geth
@echo "Done building."
@echo "Run \"$(GOBIN)/geth\" to launch geth."

#? all: Build all packages and executables
all:
$(GORUN) build/ci.go install

#? test: Run the tests
test: all
$(GORUN) build/ci.go test

<<<<<<< HEAD
test-oasys:
go test -v ./consensus/oasys/...

=======
#? lint: Run certain pre-selected linters
>>>>>>> c5ba367eb6232e3eddd7d6226bfd374449c63164
lint: ## Run linters.
$(GORUN) build/ci.go lint

#? clean: Clean go cache, built executables, and the auto generated folder
clean:
go clean -cache
rm -fr build/_workspace/pkg/ $(GOBIN)/*

# The devtools target installs tools required for 'go generate'.
# You need to put $GOBIN (or $GOPATH/bin) in your PATH to use 'go generate'.

#? devtools: Install recommended developer tools
devtools:
env GOBIN= go install golang.org/x/tools/cmd/stringer@latest
env GOBIN= go install github.com/fjl/gencodec@latest
env GOBIN= go install github.com/golang/protobuf/protoc-gen-go@latest
env GOBIN= go install ./cmd/abigen
@type "solc" 2> /dev/null || echo 'Please install solc'
@type "protoc" 2> /dev/null || echo 'Please install protoc'

#? help: Get more info on make commands.
help: Makefile
@echo " Choose a command run in go-ethereum:"
@sed -n 's/^#?//p' $< | column -t -s ':' | sort | sed -e 's/^/ /'
.PHONY: help
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
<<<<<<< HEAD
![logo1](https://user-images.githubusercontent.com/107421475/227834490-3a3a9834-21a8-4079-8166-f6fe571d6b8d.png)
# Oasys Validator
Validator client for Oasys. Forked from go ethereum.
=======
## Go Ethereum

Golang execution layer implementation of the Ethereum protocol.
>>>>>>> c5ba367eb6232e3eddd7d6226bfd374449c63164

[![API Reference](
https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667
https://pkg.go.dev/badge/github.com/ethereum/go-ethereum
)](https://pkg.go.dev/github.com/ethereum/go-ethereum?tab=doc)
[![Go Report Card](https://goreportcard.com/badge/github.com/ethereum/go-ethereum)](https://goreportcard.com/report/github.com/ethereum/go-ethereum)
<<<<<<< HEAD
[![Discord](https://img.shields.io/badge/discord-join%20chat-blue.svg)](https://discord.gg/oasysgames)
=======
[![Travis](https://app.travis-ci.com/ethereum/go-ethereum.svg?branch=master)](https://app.travis-ci.com/github/ethereum/go-ethereum)
[![Discord](https://img.shields.io/badge/discord-join%20chat-blue.svg)](https://discord.gg/nthXNEv)
>>>>>>> c5ba367eb6232e3eddd7d6226bfd374449c63164

Automated builds are available for stable releases and the unstable master branch. Binary
archives are published at https://github.com/oasysgames/oasys-validator/releases.
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/abi.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
)

// The ABI holds information about a contract's context and available
// invokable methods. It will allow you to type check function calls and
// invocable methods. It will allow you to type check function calls and
// packs data accordingly.
type ABI struct {
Constructor Method
Expand Down
43 changes: 11 additions & 32 deletions accounts/abi/bind/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ type BlockHashContractCaller interface {
// used when the user does not provide some needed values, but rather leaves it up
// to the transactor to decide.
type ContractTransactor interface {
ethereum.GasEstimator
ethereum.GasPricer
ethereum.GasPricer1559
ethereum.TransactionSender

// HeaderByNumber returns a block header from the current canonical chain. If
// number is nil, the latest known header is returned.
HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
Expand All @@ -93,38 +98,6 @@ type ContractTransactor interface {

// PendingNonceAt retrieves the current pending nonce associated with an account.
PendingNonceAt(ctx context.Context, account common.Address) (uint64, error)

// SuggestGasPrice retrieves the currently suggested gas price to allow a timely
// execution of a transaction.
SuggestGasPrice(ctx context.Context) (*big.Int, error)

// SuggestGasTipCap retrieves the currently suggested 1559 priority fee to allow
// a timely execution of a transaction.
SuggestGasTipCap(ctx context.Context) (*big.Int, error)

// EstimateGas tries to estimate the gas needed to execute a specific
// transaction based on the current pending state of the backend blockchain.
// There is no guarantee that this is the true gas limit requirement as other
// transactions may be added or removed by miners, but it should provide a basis
// for setting a reasonable default.
EstimateGas(ctx context.Context, call ethereum.CallMsg) (gas uint64, err error)

// SendTransaction injects the transaction into the pending pool for execution.
SendTransaction(ctx context.Context, tx *types.Transaction) error
}

// ContractFilterer defines the methods needed to access log events using one-off
// queries or continuous event subscriptions.
type ContractFilterer interface {
// FilterLogs executes a log filter operation, blocking during execution and
// returning all the results in one batch.
//
// TODO(karalabe): Deprecate when the subscription one can return past data too.
FilterLogs(ctx context.Context, query ethereum.FilterQuery) ([]types.Log, error)

// SubscribeFilterLogs creates a background log filtering operation, returning
// a subscription immediately, which can be used to stream the found events.
SubscribeFilterLogs(ctx context.Context, query ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)
}

// DeployBackend wraps the operations needed by WaitMined and WaitDeployed.
Expand All @@ -133,6 +106,12 @@ type DeployBackend interface {
CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)
}

// ContractFilterer defines the methods needed to access log events using one-off
// queries or continuous event subscriptions.
type ContractFilterer interface {
ethereum.LogFilterer
}

// ContractBackend defines the methods needed to work with contracts on a read-write basis.
type ContractBackend interface {
ContractCaller
Expand Down
Loading