fix blob schedule in test files (#58)

This commit is contained in:
Sina M 2025-05-19 17:28:44 +02:00 committed by GitHub
parent 6cf099796d
commit 464a1cb425
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 41 additions and 8 deletions

View file

@ -72,11 +72,8 @@ type erc7562Trace struct {
// erc7562TracerTest defines a single test to check the erc7562 tracer against. // erc7562TracerTest defines a single test to check the erc7562 tracer against.
type erc7562TracerTest struct { type erc7562TracerTest struct {
Genesis *core.Genesis `json:"genesis"` tracerTestEnv
Context *callContext `json:"context"` Result *erc7562Trace `json:"result"`
Input string `json:"input"`
TracerConfig json.RawMessage `json:"tracerConfig"`
Result *erc7562Trace `json:"result"`
} }
func TestErc7562Tracer(t *testing.T) { func TestErc7562Tracer(t *testing.T) {

View file

@ -55,7 +55,19 @@
"cancunTime": 0, "cancunTime": 0,
"pragueTime": 0, "pragueTime": 0,
"terminalTotalDifficulty": 0, "terminalTotalDifficulty": 0,
"depositContractAddress": "0x0000000000000000000000000000000000000000" "depositContractAddress": "0x0000000000000000000000000000000000000000",
"blobSchedule": {
"cancun": {
"max": 6,
"target": 3,
"baseFeeUpdateFraction": 3338477
},
"prague": {
"max": 9,
"target": 6,
"baseFeeUpdateFraction": 5007716
}
}
} }
}, },
"context": { "context": {

View file

@ -55,7 +55,19 @@
"cancunTime": 0, "cancunTime": 0,
"pragueTime": 0, "pragueTime": 0,
"terminalTotalDifficulty": 0, "terminalTotalDifficulty": 0,
"depositContractAddress": "0x0000000000000000000000000000000000000000" "depositContractAddress": "0x0000000000000000000000000000000000000000",
"blobSchedule": {
"cancun": {
"max": 6,
"target": 3,
"baseFeeUpdateFraction": 3338477
},
"prague": {
"max": 9,
"target": 6,
"baseFeeUpdateFraction": 5007716
}
}
} }
}, },
"context": { "context": {

View file

@ -65,7 +65,19 @@
"cancunTime": 0, "cancunTime": 0,
"pragueTime": 0, "pragueTime": 0,
"terminalTotalDifficulty": 0, "terminalTotalDifficulty": 0,
"depositContractAddress": "0x0000000000000000000000000000000000000000" "depositContractAddress": "0x0000000000000000000000000000000000000000",
"blobSchedule": {
"cancun": {
"max": 6,
"target": 3,
"baseFeeUpdateFraction": 3338477
},
"prague": {
"max": 9,
"target": 6,
"baseFeeUpdateFraction": 5007716
}
}
} }
}, },
"context": { "context": {