You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The hash of the contract code (see here) currently includes the compilation report.
From the conversation here, it is not clear that this adds any benefit. The reason is that the compilation report carries a signature of the contract code, and it is therefore already bound to the contract code itself.
The text was updated successfully, but these errors were encountered:
The problem with removing this is that the reverse is not true. Since we record the code hash in the ledger we could not ensure that the compilation report is used. Suggestion: the compilation report contains the hash of the code, but we hash the contract code object and put that information into the ledger. That is... we keep the behavior as defined & rename the fields. This is effectively what we already do since class names and entry points and nonce are already part of the contract code object though they are not strictly part of the code.
The hash of the contract code (see here) currently includes the compilation report.
From the conversation here, it is not clear that this adds any benefit. The reason is that the compilation report carries a signature of the contract code, and it is therefore already bound to the contract code itself.
The text was updated successfully, but these errors were encountered: