Currently the very heavy (several 100 MB) ethereumjs-testing version is pulled into the library (over and above in an outdated version) and just used to include a single file with const testDataGenesis = testing.getSingleFile('BasicTests/genesishashestest.json') in block.js and header.js test files.
This should be replaced by a static copy-and-paste approach like being done for the difficulty files and the dependency should be removed.
The copied over file from the tests repository should be extended with a structure:
Currently the very heavy (several 100 MB)
ethereumjs-testing
version is pulled into the library (over and above in an outdated version) and just used to include a single file withconst testDataGenesis = testing.getSingleFile('BasicTests/genesishashestest.json')
inblock.js
andheader.js
test files.This should be replaced by a static copy-and-paste approach like being done for the difficulty files and the dependency should be removed.
The copied over file from the tests repository should be extended with a structure:
so that it is becoming clear where this is coming from and what version has being used.