L2 Public Client: estimateRelayMessageGas
Open
state: backlog
type: enhancement
type: question
- Dominant language
- TypeScript
- Stars
- 371
- Forks
- 248
- PR merge metrics
- No merged PRs in 30d
Description
> 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.
from #55
Contributor guide
Research direction
Start by reading the related work in issue #55 and locating the L2 Public Client API and its estimateRelayMessageGas entry point. Compare the relevant viem gas-estimation behavior, then verify that estimation uses caller 0x0000000000000000000000000000000000000001 and preserves the intended revert when the message is not relayed correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100