proveth icon indicating copy to clipboard operation
proveth copied to clipboard

Incompleteness due to gas exhaustion

Open lorenzb opened this issue 6 years ago • 2 comments

We should document that the verifier currently isn't complete (i.e. there exist valid transactions whose inclusion the verifier cannot check) due to gas exhaustion issues.

lorenzb avatar Jul 30 '18 16:07 lorenzb

We/the group should discuss this, I don't understand the cases in which this happens

relyt29 avatar Aug 29 '18 15:08 relyt29

I can submit a transaction that has a huge data field and barely fits into the block gas limit.

You then cannot prove that this transaction was included, because the proof becomes so large that it would exhaust the block gas limit.

This is a problem for applications that want to use proveth for fraud proofs/proofs of cheat such as as libsubmarine. However, when the application knows what a well-formed transaction looks like (e.g. libsubmarine), we can fix this problem by creating a second proof kind that omits the transaction data itself.

lorenzb avatar Aug 29 '18 15:08 lorenzb