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

Option to strip symbols and annotations from bytecode #117

Open
gorbak25 opened this issue Feb 19, 2021 · 2 comments
Open

Option to strip symbols and annotations from bytecode #117

gorbak25 opened this issue Feb 19, 2021 · 2 comments

Comments

@gorbak25
Copy link

Right now bytecode we emit contains a lot of debug information - all of the symbols, annotations and the source hash. Take for instance the Superhero tipping contact:
image
I've deployed a sample contract without any symbols and it works fine:
https://aenalytics.org/transactions/th_Cs3XHatznTHAf8jB4rwxPzEuxyR89VN1jSVfMLXEmmgfGpN5z

@gorbak25
Copy link
Author

The question now is whether the stripping should happen when compiling contracts or when deploying them.

@nikita-fuchs
Copy link

I prefer deploying, as we might extract some important debugging info from all this one time maybe. Is there an easy way for the SDK to strip this, or should we make the compiler have 2 different outputs ?

@radrow radrow transferred this issue from aeternity/aesophia Aug 5, 2023
@radrow radrow closed this as completed Aug 5, 2023
@radrow radrow reopened this Aug 5, 2023
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

3 participants