Skip to content

Commit 5410e22

Browse files
authored
testdata: add testdata package (ethereumjs#3940)
* chore: add testdata package * testdata: fix build * chore: use exact version number instead of workspace:* * chore: add 4844 testdata to testdata packgae * chore: refactor testdata * chore: npm i * chore: migrate more test files2 * refactor: eip4844 test data2 * refactor: migate withdrawals geth genesis * refactor: gethGenesis misc data cleanup * refactor: migrate goerli and other test data * refactor: post merge geth genesis * fix: failing tests * refactor: more geth genesis test data * refactor: prelondon test data * chore: restructure folder * refactor: consolidate 4844 files and create chainConfigs folder * chore: add missing allocations * client: fix test * monorepo: remove build step
1 parent 387c485 commit 5410e22

File tree

4 files changed

+4
-1106
lines changed

4 files changed

+4
-1106
lines changed

test/genesis.spec.ts

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1+
// kiln genesis with deposit contract storage set
2+
import { kilnGethGenesis } from '@ethereumjs/testdata'
13
import { assert, describe, it } from 'vitest'
24

35
import { parseGethGenesisState } from '../src/genesis.ts'
46

5-
// kiln genesis with deposit contract storage set
6-
import { gethGenesisKilnData } from './testdata/gethGenesisKiln.ts'
7-
87
describe('[Util/genesis]', () => {
98
it('should properly generate stateRoot from gethGenesis', () => {
10-
const genesisState = parseGethGenesisState(gethGenesisKilnData)
9+
const genesisState = parseGethGenesisState(kilnGethGenesis)
1110
// just check for deposit contract inclusion
1211
assert.equal(
1312
genesisState['0x4242424242424242424242424242424242424242'][1].includes(

0 commit comments

Comments
 (0)