base / base/op-viem

L2 Public Client: estimateRelayMessageGas

Open
#58 3 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.