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 stylus programSize and programMemoryFootprint precompiles #13

Merged
merged 5 commits into from
Sep 6, 2023

Conversation

joshuacolvin0
Copy link
Member

@joshuacolvin0 joshuacolvin0 commented Aug 21, 2023

@cla-bot cla-bot bot added the s label Sep 6, 2023
@@ -26,6 +26,14 @@ interface ArbWasm {
// @return version the program version (0 for EVM contracts)
function programVersion(address program) external view returns (uint16 version);

// @notice gets the uncompressed size of the program at the given address in bytes
// @return version the program version (0 for EVM contracts)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was accidentally copied over :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@rachel-bousfield rachel-bousfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@rachel-bousfield rachel-bousfield merged commit f291b58 into stylus Sep 6, 2023
2 checks passed
@rachel-bousfield rachel-bousfield deleted the footprint-precompile branch September 6, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants