Skip to content

Commit b818e73

Browse files
authored
tests: update tests (#26314)
This PR builds on #26299, but also updates the tests to the most recent version, which includes tests regarding TheMerge. This change adds checks to the beacon consensus engine, making it more strict in validating the pre- and post-headers, and not relying on the caller to have already correctly sanitized the headers/blocks.
1 parent 79a478b commit b818e73

File tree

16 files changed

+685
-445
lines changed

16 files changed

+685
-445
lines changed

cmd/evm/README.md

Lines changed: 274 additions & 135 deletions
Large diffs are not rendered by default.

cmd/evm/t8n_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,23 +230,23 @@ func TestT8n(t *testing.T) {
230230
{ // Test post-merge transition
231231
base: "./testdata/24",
232232
input: t8nInput{
233-
"alloc.json", "txs.json", "env.json", "Merged", "",
233+
"alloc.json", "txs.json", "env.json", "Merge", "",
234234
},
235235
output: t8nOutput{alloc: true, result: true},
236236
expOut: "exp.json",
237237
},
238238
{ // Test post-merge transition where input is missing random
239239
base: "./testdata/24",
240240
input: t8nInput{
241-
"alloc.json", "txs.json", "env-missingrandom.json", "Merged", "",
241+
"alloc.json", "txs.json", "env-missingrandom.json", "Merge", "",
242242
},
243243
output: t8nOutput{alloc: false, result: false},
244244
expExitCode: 3,
245245
},
246246
{ // Test base fee calculation
247247
base: "./testdata/25",
248248
input: t8nInput{
249-
"alloc.json", "txs.json", "env.json", "Merged", "",
249+
"alloc.json", "txs.json", "env.json", "Merge", "",
250250
},
251251
output: t8nOutput{alloc: true, result: true},
252252
expOut: "exp.json",

0 commit comments

Comments
 (0)