Option to strip symbols and annotations from bytecode #117
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:

I've deployed a sample contract without any symbols and it works fine:
https://aenalytics.org/transactions/th_Cs3XHatznTHAf8jB4rwxPzEuxyR89VN1jSVfMLXEmmgfGpN5z
The question now is whether the stripping should happen when compiling contracts or when deploying them.
Created by: nikita-fuchs
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 ?