ethereum-optimism / specs

OP Stack Specifications
https://specs.optimism.io
Creative Commons Zero v1.0 Universal
102 stars 91 forks source link

Update hint docs to include payload witness hint #461

Open meyer9 opened 2 days ago

meyer9 commented 2 days ago

Description

Replaces l2-execution-witness with l2-payload-witness. Currently the encoding is a bit weird for this hint as it's much larger than other hints.

l2-execution-witness does not cover the case of transactions that are invalid, but still posted on L1. We need to execute these transactions up until the point of failure.

I would propose we just switch all hint encoding to use JSON instead if this encoding is too weird.