OffchainLabs / go-ethereum

GNU Lesser General Public License v3.0
54 stars 94 forks source link

Immediately return an error from updateTrie if DeleteStorage fails #251

Closed PlasmaPower closed 1 year ago

PlasmaPower commented 1 year ago

The code modified in this PR is the deterministic trie deletion code which we added. Upstream go-ethereum modified the non-deterministic case to immediately return an error if DeleteStorage fails, so we should do the same in the deterministic case.