jacobkaufmann / evangelion

a prototype ethereum block builder
Apache License 2.0
84 stars 10 forks source link

fix: mark tx invalid if insufficient block gas #48

Closed jacobkaufmann closed 1 year ago

jacobkaufmann commented 1 year ago

instead of just skipping past a transaction whose gas limit is too high given the current block simulation, we also need to mark it invalid, so that any "descendants" of that transaction are removed from the iterator.