Unify zero/non-existent storage slots
chfast opened this issue · comments
Paweł Bylica commented
Storage slots of zero values are interpreter as non-existent / deleted and these are not included in the Merke-Patricia Trie.
It is incorrect for the tests to contain a pre-state with explicit zero storage values.
winsvega commented
Is there a difference then?
Zero slots can be interpreted as non existent. Or is it causing wrong post state results?
Paweł Bylica commented
It requires the special handling of the test state because zero values are never in the trie. E.g. you need to specifically filter zeros when loading JSON.
winsvega commented
a few in pyspecs to fix as well
winsvega commented
done