mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 12:36:48 +00:00
update bal test fixtures. fix block test runner. fix issue where amsterdam fork was configuring bpo
This commit is contained in:
parent
bca5642f56
commit
097fe511dc
3 changed files with 4 additions and 5 deletions
|
|
@ -7,8 +7,8 @@ a3192784375acec7eaec492799d5c5d0c47a2909a3cc40178898e4ecd20cc416 fixtures_devel
|
||||||
|
|
||||||
# version:spec-tests-bal v5.0.0
|
# version:spec-tests-bal v5.0.0
|
||||||
# https://github.com/ethereum/execution-spec-tests/releases
|
# https://github.com/ethereum/execution-spec-tests/releases
|
||||||
# https://github.com/ethereum/execution-spec-tests/releases/download/bal%40v5.0.0
|
# https://github.com/ethereum/execution-spec-tests/releases/download/bal%40v5.1.0
|
||||||
17aecf8334da7f5d1025635c763a4be0dfbcdb0e659cc70a36e6a81bd3af06f2 fixtures_bal.tar.gz
|
c8a7406e6337c1dfd2540f0477afb8abe965c5ed2a63382d7a483eb818f79939 fixtures_bal.tar.gz
|
||||||
|
|
||||||
# version:golang 1.25.1
|
# version:golang 1.25.1
|
||||||
# https://go.dev/dl/
|
# https://go.dev/dl/
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@ import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/ethereum/go-ethereum/cmd/utils"
|
|
||||||
"maps"
|
"maps"
|
||||||
"os"
|
"os"
|
||||||
"regexp"
|
"regexp"
|
||||||
|
|
@ -118,7 +117,7 @@ func runBlockTest(ctx *cli.Context, fname string) ([]testResult, error) {
|
||||||
test := tests[name]
|
test := tests[name]
|
||||||
result := &testResult{Name: name, Pass: true}
|
result := &testResult{Name: name, Pass: true}
|
||||||
var finalRoot *common.Hash
|
var finalRoot *common.Hash
|
||||||
if err := test.Run(false, rawdb.PathScheme, ctx.Bool(WitnessCrossCheckFlag.Name), ctx.Bool(utils.ExperimentalBALFlag.Name), tracer, func(res error, chain *core.BlockChain) {
|
if err := test.Run(false, rawdb.PathScheme, ctx.Bool(WitnessCrossCheckFlag.Name), false, tracer, func(res error, chain *core.BlockChain) {
|
||||||
if ctx.Bool(DumpFlag.Name) {
|
if ctx.Bool(DumpFlag.Name) {
|
||||||
if s, _ := chain.State(); s != nil {
|
if s, _ := chain.State(); s != nil {
|
||||||
result.State = dump(s)
|
result.State = dump(s)
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ func latestBlobConfig(cfg *params.ChainConfig, time uint64) *BlobConfig {
|
||||||
case cfg.IsBPO3(london, time) && s.BPO3 != nil:
|
case cfg.IsBPO3(london, time) && s.BPO3 != nil:
|
||||||
bc = s.BPO3
|
bc = s.BPO3
|
||||||
case cfg.IsAmsterdam(london, time) && s.Amsterdam != nil:
|
case cfg.IsAmsterdam(london, time) && s.Amsterdam != nil:
|
||||||
bc = s.BPO2
|
bc = s.Amsterdam
|
||||||
case cfg.IsBPO2(london, time) && s.BPO2 != nil:
|
case cfg.IsBPO2(london, time) && s.BPO2 != nil:
|
||||||
bc = s.BPO2
|
bc = s.BPO2
|
||||||
case cfg.IsBPO1(london, time) && s.BPO1 != nil:
|
case cfg.IsBPO1(london, time) && s.BPO1 != nil:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue