Daniel Wang

Results 55 issues of Daniel Wang

This PR is prepared in advance and should be merged only when the first block is proposed on mainnet.

## Bugs - When `message.destOwner` calls `processMessage`, `gasleft()` should be used to invoke the message call, not `_invocationGasLimit(_message, true)`. - If the following statement is evaluated to be `true`, it...

Previously a bridged message can be processed by any address on the destination chain unless the specified `message.gasLimit` is 0. Now the bridge can be configured with a specific "processor"...

Allow the Bridge UI to set `message.processor` so only this address and `message.destOwner` can process the message on the destination chain.

This PR is based on suggestions from OZ. See below. ## Maxim: My feedback: First and second points are resolved IMO About the third point, is your opinion that the...

Addressing the concern from OZ: > I think it's theoretically possible that the first time the guardian proves when the cooldown window has expired, so the if doesn't trigger but...

Address a concern from OZ: --- Liveness bond return can be triggered in other conditions than first proof by assigned prover [Location](https://github.com/taikoxyz/taiko-mono/blob/main/packages/protocol/contracts/L1/libs/LibProving.sol#L425-L436) Edit: I rewrote the below a bit to...

from OZ: > The problem: With the current code, provers could theoretically never have to provide any zk proof. This could lead to zk provers not being incentivized to monitor...

> Regarding the pr, I see you discuss timeframe and amount, if it's helpful I ran a quick dune query to see how it evolved for Linea. Their current limit...