mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
fix blob schedule in test files (#58)
This commit is contained in:
parent
6cf099796d
commit
464a1cb425
4 changed files with 41 additions and 8 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
|
|
@ -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": {
|
||||||
|
|
|
||||||
|
|
@ -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": {
|
||||||
|
|
|
||||||
|
|
@ -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": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue