[json-tests] stSpecialTest blockchain test failures #11075
Description
After #11054 the following JSON tests fail in stSpecialTest
and are added to the list of skipped tests in ethcore/res/ethereum/tests-issues/currents.json
.
tx_e1c174e2_d0g0v0_ConstantinopleFix
Fix the tests and "un-skip" them.
Investigation
The issue here is about the genesis block not matching the test expectation. We end up with a genesis block with hash 0xacad0c9ee590092cffee3b38edf7778f4819198c1a21ded24da4373772ae397d
and the test block expects the parent hash to be 0x39bbf39462cacb35fc779266aedc833436eb930d63ab9498a593c10ff96d9750
and so the block import fails with an UnknownParent
error.
The genesis block is constructed using the state from the pre
section of the test file. The state_root
we calculate from this data, 0xf92a34b36c86ed9642040927cd2a7ab7e0b7eda763d8dc4fcaa58af34526e74f
, does not match what the test expects, 0xd328574142f4eaad1125fa855bc8b12cffb2f29e0d0e5ac2d003a5d60c71b61c
.
This is likely what causes the genesis blocks hash
to be wrong.
Likely the same bug as #11074.