Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
80753ba
version: begin v1.15.9 release cycle
fjl Apr 11, 2025
ecd5c18
p2p: better dial/serve success metrics (#31629)
cskiraly Apr 14, 2025
c5c7597
eth: add logic to drop peers randomly when saturated (#31476)
cskiraly Apr 14, 2025
48ec86a
core: initialize history pruning in BlockChain (#31636)
fjl Apr 15, 2025
476f117
all: remove martin from CODEOWNERS (#31637)
rjl493456442 Apr 15, 2025
6928ec5
p2p: fix dial metrics not picking up the right error (#31621)
cskiraly Apr 15, 2025
e3e9d7c
cmd/geth: remove the unused bloomfilter.size flag (#31646)
jsvisa Apr 16, 2025
ebb3eb2
core/filtermaps: fix map renderer reorg issue (#31642)
zsfelfoldi Apr 16, 2025
846d578
core/state: fix log format (#31610)
mask-pp Apr 16, 2025
8797497
core/txpool/legacypool: fix data race of txlookup access (#31641)
mirokuratczyk Apr 17, 2025
cb21177
core: fix history pruning initialization for empty DB (#31656)
fjl Apr 17, 2025
e444823
core: fix sync reset in pruned nodes (#31638)
s1na Apr 17, 2025
01786f3
eth: fix transaction sender cache miss before broadcast (#31657)
cskiraly Apr 17, 2025
50b5f31
params: add prague timestamp for mainnet (#31535)
lightclient Apr 17, 2025
13b157a
core,params: add fork readiness indicator in logs (#31340)
lightclient Apr 17, 2025
074da25
eth/catalyst: sanitize simulated beacon period to avoid overflowing t…
jwasinger Apr 17, 2025
9089f94
eth: add tx to locals only if it has a chance of acceptance (#31618)
rjl493456442 Apr 17, 2025
2e0ad2c
core/filtermaps: only use common ancestor snapshots (#31668)
zsfelfoldi Apr 18, 2025
4c9e7d1
core/filtermaps: make ChainView thread safe (#31671)
zsfelfoldi Apr 18, 2025
1296cdb
core: fail execution if system call fails to execute (#31639)
Gabriel-Trintinalia Apr 19, 2025
bf6da20
eth/gasprice: fix eth_feeHistory blobGasUsedRatio divide zero (#31663)
yiweichi Apr 19, 2025
7f57437
eth/filters, core/filtermaps: safe chain view update (#31590)
zsfelfoldi Apr 20, 2025
5a7bbb4
beacon/params, core/filtermaps: update checkpoints (#31674)
zsfelfoldi Apr 20, 2025
14f1543
core/filtermaps: clone cached slices, fix tempRange (#31680)
zsfelfoldi Apr 21, 2025
74165a8
version: release go-ethereum v1.15.9 stable
fjl Apr 21, 2025
8a7ca84
Merge tag 'tags/v1.15.9' into mpeter/update-go-ethereum-v1.15.9
m-Peter Apr 21, 2025
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
19 changes: 8 additions & 11 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ beacon/light/ @zsfelfoldi
beacon/merkle/ @zsfelfoldi
beacon/types/ @zsfelfoldi @fjl
beacon/params/ @zsfelfoldi @fjl
cmd/clef/ @holiman
cmd/evm/ @holiman @MariusVanDerWijden @lightclient
core/state/ @rjl493456442 @holiman
crypto/ @gballet @jwasinger @holiman @fjl
core/ @holiman @rjl493456442
eth/ @holiman @rjl493456442
cmd/evm/ @MariusVanDerWijden @lightclient
core/state/ @rjl493456442
crypto/ @gballet @jwasinger @fjl
core/ @rjl493456442
eth/ @rjl493456442
eth/catalyst/ @MariusVanDerWijden @lightclient @fjl @jwasinger
eth/tracers/ @s1na
ethclient/ @fjl
Expand All @@ -26,11 +25,9 @@ core/tracing/ @s1na
graphql/ @s1na
internal/ethapi/ @fjl @s1na @lightclient
internal/era/ @lightclient
metrics/ @holiman
miner/ @MariusVanDerWijden @holiman @fjl @rjl493456442
miner/ @MariusVanDerWijden @fjl @rjl493456442
node/ @fjl
p2p/ @fjl @zsfelfoldi
rlp/ @fjl
params/ @fjl @holiman @karalabe @gballet @rjl493456442 @zsfelfoldi
rpc/ @fjl @holiman
signer/ @holiman
params/ @fjl @karalabe @gballet @rjl493456442 @zsfelfoldi
rpc/ @fjl
5 changes: 3 additions & 2 deletions accounts/abi/abigen/bind_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,7 @@ var bindTests = []struct {
if _, err := eventer.RaiseSimpleEvent(auth, common.Address{byte(j)}, [32]byte{byte(j)}, true, big.NewInt(int64(10*i+j))); err != nil {
t.Fatalf("block %d, event %d: raise failed: %v", i, j, err)
}
time.Sleep(time.Millisecond * 200)
}
sim.Commit()
}
Expand Down Expand Up @@ -1495,7 +1496,7 @@ var bindTests = []struct {
if n != 3 {
t.Fatalf("Invalid bar0 event")
}
case <-time.NewTimer(3 * time.Second).C:
case <-time.NewTimer(10 * time.Second).C:
t.Fatalf("Wait bar0 event timeout")
}

Expand All @@ -1506,7 +1507,7 @@ var bindTests = []struct {
if n != 1 {
t.Fatalf("Invalid bar event")
}
case <-time.NewTimer(3 * time.Second).C:
case <-time.NewTimer(10 * time.Second).C:
t.Fatalf("Wait bar event timeout")
}
close(stopCh)
Expand Down
2 changes: 1 addition & 1 deletion beacon/params/checkpoint_holesky.hex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0xf5606a019f0f1006e9ec2070695045f4334450362a48da4c5965314510e0b4c3
0xd60e5310c5d52ced44cfb13be4e9f22a1e6a6dc56964c3cccd429182d26d72d0
2 changes: 1 addition & 1 deletion beacon/params/checkpoint_mainnet.hex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0x3c0cb4aa83beded1803d262664ba4392b1023f334d9cca02dc3a6925987ebe91
0x02f0bb348b0d45f95a9b7e2bb5705768ad06548876cee03d880a2c9dabb1ff88
2 changes: 1 addition & 1 deletion beacon/params/checkpoint_sepolia.hex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0xa8d56457aa414523d93659aef1f7409bbfb72ad75e94d917c8c0b1baa38153ef
0xa0dad451a230c01be6f2492980ec5bb412d8cf33351a75e8b172b5b84a5fd03a
8 changes: 6 additions & 2 deletions cmd/evm/internal/t8ntool/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,13 @@ func (pre *Prestate) Apply(vmConfig vm.Config, chainConfig *params.ChainConfig,
return nil, nil, nil, NewError(ErrorEVM, fmt.Errorf("could not parse requests logs: %v", err))
}
// EIP-7002
core.ProcessWithdrawalQueue(&requests, evm)
if err := core.ProcessWithdrawalQueue(&requests, evm); err != nil {
return nil, nil, nil, NewError(ErrorEVM, fmt.Errorf("could not process withdrawal requests: %v", err))
}
// EIP-7251
core.ProcessConsolidationQueue(&requests, evm)
if err := core.ProcessConsolidationQueue(&requests, evm); err != nil {
return nil, nil, nil, NewError(ErrorEVM, fmt.Errorf("could not process consolidation requests: %v", err))
}
}

// Commit block
Expand Down
4 changes: 2 additions & 2 deletions cmd/geth/chaincmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ import (
"github.com/onflow/go-ethereum/common"
"github.com/onflow/go-ethereum/common/hexutil"
"github.com/onflow/go-ethereum/core"
"github.com/onflow/go-ethereum/core/history"
"github.com/onflow/go-ethereum/core/rawdb"
"github.com/onflow/go-ethereum/core/state"
"github.com/onflow/go-ethereum/core/types"
"github.com/onflow/go-ethereum/crypto"
"github.com/onflow/go-ethereum/eth/ethconfig"
"github.com/onflow/go-ethereum/ethdb"
"github.com/onflow/go-ethereum/internal/debug"
"github.com/onflow/go-ethereum/internal/era"
Expand Down Expand Up @@ -625,7 +625,7 @@ func pruneHistory(ctx *cli.Context) error {
defer chain.Stop()

// Determine the prune point. This will be the first PoS block.
prunePoint, ok := ethconfig.HistoryPrunePoints[chain.Genesis().Hash()]
prunePoint, ok := history.PrunePoints[chain.Genesis().Hash()]
if !ok || prunePoint == nil {
return errors.New("prune point not found")
}
Expand Down
1 change: 0 additions & 1 deletion cmd/geth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ var (
utils.LightNoSyncServeFlag, // deprecated
utils.EthRequiredBlocksFlag,
utils.LegacyWhitelistFlag, // deprecated
utils.BloomFilterSizeFlag,
utils.CacheFlag,
utils.CacheDatabaseFlag,
utils.CacheTrieFlag,
Expand Down
6 changes: 3 additions & 3 deletions cmd/workload/testsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"os"
"slices"

"github.com/onflow/go-ethereum/eth/ethconfig"
"github.com/onflow/go-ethereum/core/history"
"github.com/onflow/go-ethereum/internal/flags"
"github.com/onflow/go-ethereum/internal/utesting"
"github.com/onflow/go-ethereum/log"
Expand Down Expand Up @@ -124,13 +124,13 @@ func testConfigFromCLI(ctx *cli.Context) (cfg testConfig) {
cfg.filterQueryFile = "queries/filter_queries_mainnet.json"
cfg.historyTestFile = "queries/history_mainnet.json"
cfg.historyPruneBlock = new(uint64)
*cfg.historyPruneBlock = ethconfig.HistoryPrunePoints[params.MainnetGenesisHash].BlockNumber
*cfg.historyPruneBlock = history.PrunePoints[params.MainnetGenesisHash].BlockNumber
case ctx.Bool(testSepoliaFlag.Name):
cfg.fsys = builtinTestFiles
cfg.filterQueryFile = "queries/filter_queries_sepolia.json"
cfg.historyTestFile = "queries/history_sepolia.json"
cfg.historyPruneBlock = new(uint64)
*cfg.historyPruneBlock = ethconfig.HistoryPrunePoints[params.SepoliaGenesisHash].BlockNumber
*cfg.historyPruneBlock = history.PrunePoints[params.SepoliaGenesisHash].BlockNumber
default:
cfg.fsys = os.DirFS(".")
cfg.filterQueryFile = ctx.String(filterQueryFileFlag.Name)
Expand Down
10 changes: 8 additions & 2 deletions core/block_validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@ func testHeaderVerification(t *testing.T, scheme string) {
headers[i] = block.Header()
}
// Run the header checker for blocks one-by-one, checking for both valid and invalid nonces
chain, _ := NewBlockChain(rawdb.NewMemoryDatabase(), DefaultCacheConfigWithScheme(scheme), gspec, nil, ethash.NewFaker(), vm.Config{}, nil)
chain, err := NewBlockChain(rawdb.NewMemoryDatabase(), DefaultCacheConfigWithScheme(scheme), gspec, nil, ethash.NewFaker(), vm.Config{}, nil)
defer chain.Stop()
if err != nil {
t.Fatal(err)
}

for i := 0; i < len(blocks); i++ {
for j, valid := range []bool{true, false} {
Expand Down Expand Up @@ -163,8 +166,11 @@ func testHeaderVerificationForMerging(t *testing.T, isClique bool) {
postHeaders[i] = block.Header()
}
// Run the header checker for blocks one-by-one, checking for both valid and invalid nonces
chain, _ := NewBlockChain(rawdb.NewMemoryDatabase(), nil, gspec, nil, engine, vm.Config{}, nil)
chain, err := NewBlockChain(rawdb.NewMemoryDatabase(), nil, gspec, nil, engine, vm.Config{}, nil)
defer chain.Stop()
if err != nil {
t.Fatal(err)
}

// Verify the blocks before the merging
for i := 0; i < len(preBlocks); i++ {
Expand Down
Loading
Loading