Open wilsoncusack opened 1 year ago
actually I think this is relevant to both L1 and L2
OK so actually there's probably a subtask here that is estimateRelayMessageGas
which would proxy to estimate gas from viem but set the caller to 0x0000000000000000000000000000000000000001
, which is an address that will cause the function to revert if it is not relayed correctly.
I don't believe this is relavent to l1. It was relavent prebedrock but now replaying is done via the same methods the happy path uses
This would be an L2 action. I think that this should take a transaction hash and a gas limit, we would
See notes on this and gas limit here https://community.optimism.io/docs/protocol/deposit-flow/#replays-in-action