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

Cleanup debug function name in the node API #10752

Open
alexghr opened this issue Dec 16, 2024 · 0 comments
Open

Cleanup debug function name in the node API #10752

alexghr opened this issue Dec 16, 2024 · 0 comments

Comments

@alexghr
Copy link
Contributor

alexghr commented Dec 16, 2024

The node stores public function names alongside public function selectors and uses them for debug logging (e.g. when the sequencer builds a block and executes a public function).

The function names are broadcasted as part of class registration (which is emitted as unencrypted log). Consider removing the debug function names in order to reduce data storage requirements.

alexghr added a commit that referenced this issue Dec 18, 2024
This PR removes contract artifacts from the archiver as they were only
used for dubugging purposes. Function names are now (optionally) emitted
when registereing contract classes.

I have created #10752 to remove function names from the contract class
once we don't need this debug information

---------

Co-authored-by: Santiago Palladino <santiago@aztecprotocol.com>
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