use amsterdam blob schedule for amsterdam fork. remove unused struct

This commit is contained in:
Jared Wasinger 2025-10-17 13:16:09 +08:00
parent 06d62a54ce
commit dfd2e44701
2 changed files with 1 additions and 7 deletions

View file

@ -74,7 +74,7 @@ func latestBlobConfig(cfg *params.ChainConfig, time uint64) *BlobConfig {
case cfg.IsBPO1(london, time) && s.BPO1 != nil:
bc = s.BPO1
case cfg.IsAmsterdam(london, time) && s.Amsterdam != nil:
bc = s.BPO1
bc = s.Amsterdam
case cfg.IsOsaka(london, time) && s.Osaka != nil:
bc = s.Osaka
case cfg.IsPrague(london, time) && s.Prague != nil:

View file

@ -9,12 +9,6 @@ import (
"math/big"
)
type accountPrestate struct {
balance *uint256.Int
nonce *uint64
code []byte
}
// BlockAccessListTracer is a tracer which gathers state accesses/mutations
// from the execution of a block. It is used for constructing and verifying
// EIP-7928 block access lists.