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

Add output file of system contracts #2192

Open
PatrickAlphaC opened this issue Jun 8, 2024 · 0 comments
Open

Add output file of system contracts #2192

PatrickAlphaC opened this issue Jun 8, 2024 · 0 comments

Comments

@PatrickAlphaC
Copy link

🌟 Feature Request

On any upgrade of the system (and perhaps, this would be better for the security council documentation) it would be great if there was an output of system contracts that could be imported to the docs.

Essentially, a list:

  • bootloader: 0x.....
  • contract deployer: 0x...

🤔 Rationale

For mocking contracts, setting up tests, and interacting with system contracts, developers are going to need to know where to point their mocks/forks/etc. Right now, it's quite difficult to get this information. Having this repo (or security council repo) output this information will allow it to be ingested by the docs, so people can have a direct place to see where these are.

Additional Security Considerations

In the event a malicious contract attempts to rug users by using a phishing address, where their address looks like a system contract address, but is not. It would be great to quickly check if the system contract address was actually the address. Right now, it's difficult to get this information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant