base / base/op-viem

Alias functions

Open
#117 3 comments 0 reactions 0 assignees View on GitHub
state: backlog type: enhancement
Dominant language
TypeScript
Stars
371
Forks
248
PR merge metrics
No merged PRs in 30d

Description

We should have utils for computing the L2 alias of an L1 contract callers to the portal https://github.com/ethereum-optimism/optimism/blob/d8501a7fc58ce8887e22f83abcf7f0ebecfb1a89/packages/core-utils/src/optimism/alias.ts#L21-L39

https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/OptimismPortal.sol#L407

Contributor guide

Open the contributing guide

Research direction

Start with the referenced alias.ts implementation and OptimismPortal.sol entry point, then locate the corresponding utility area in op-viem. Confirm the L1-to-L2 alias behavior against those references; done means callers can use utilities that compute the L2 alias of an L1 contract.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity, typescript
Domain
blockchain
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.