Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias functions #117

Open
wilsoncusack opened this issue Sep 20, 2023 · 3 comments
Open

Alias functions #117

wilsoncusack opened this issue Sep 20, 2023 · 3 comments
Labels
state: backlog This is pending further review type: enhancement New feature or request

Comments

@wilsoncusack
Copy link
Collaborator

wilsoncusack commented Sep 20, 2023

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

@wilsoncusack
Copy link
Collaborator Author

@Sabnock01 if interested

@roninjin10
Copy link
Contributor

When would someone use this? This seems unnecessary

@wbnns wbnns added state: backlog This is pending further review type: enhancement New feature or request labels Oct 4, 2023
@zencephalon zencephalon removed their assignment Oct 20, 2023
@wilsoncusack
Copy link
Collaborator Author

When would someone use this? This seems unnecessary

It's helpful if you want to know what the msg.sender of a smart contract will be on L2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: backlog This is pending further review type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants