Closed magicxyyz closed 8 months ago
This PR:
uses block root as state root in trie.StorageTrieID call (previously leaf key was passed) https://github.com/OffchainLabs/go-ethereum/blob/b1622e6ac4bf3762aebde92a585de2889d90823f/trie/trie_id.go#L22-L26 https://github.com/OffchainLabs/go-ethereum/blob/b1622e6ac4bf3762aebde92a585de2889d90823f/trie/trie_id.go#L37-L45
trie.StorageTrieID
trie.NewStateTrie
OpenStorageTrie
This PR:
uses block root as state root in
trie.StorageTrieID
call (previously leaf key was passed) https://github.com/OffchainLabs/go-ethereum/blob/b1622e6ac4bf3762aebde92a585de2889d90823f/trie/trie_id.go#L22-L26 https://github.com/OffchainLabs/go-ethereum/blob/b1622e6ac4bf3762aebde92a585de2889d90823f/trie/trie_id.go#L37-L45trie.NewStateTrie
directly instead ofOpenStorageTrie
to not require preimage of account address hash