Issue
There is a couple of tweaks have been made in order to complete State tests adoption:
- A few tests have been ignored
|
// FIXME: signed_root and hash_tree_root results do not match |
|
"test_skipped_slots", |
|
"test_empty_epoch_transition", |
|
"test_historical_batch")); |
- Block previous root assertion is commented out
|
// FIXME: signed_root should match |
|
// assertTrue(block.getPreviousBlockRoot().equals(signed_root(state.getLatestBlockHeader()))); |
How to fix
Revisit State tests when following conditions are met:
Issue
There is a couple of tweaks have been made in order to complete State tests adoption:
beacon-chain-java/test/src/test/java/org/ethereum/beacon/test/StateTests.java
Lines 22 to 25 in 5b35e5b
beacon-chain-java/consensus/src/main/java/org/ethereum/beacon/consensus/spec/BlockProcessing.java
Lines 33 to 34 in 5b35e5b
How to fix
Revisit State tests when following conditions are met:
hash_tree_roottests are adopted and pass Tree Hash Test Generator ethereum/eth2.0-test-generators#34