-
Notifications
You must be signed in to change notification settings - Fork 105
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
SNIP-6 Update #130
base: main
Are you sure you want to change the base?
SNIP-6 Update #130
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also add an entry in the Backward Compatibility section regarding the hardcoded interface ID?
Co-authored-by: Eric Nordelo <[email protected]>
Co-authored-by: gaetbout <[email protected]>
Co-authored-by: gaetbout <[email protected]>
Co-authored-by: gaetbout <[email protected]>
Co-authored-by: Eric Nordelo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
besides comment, lgtm
Update SNIP-6 to make sure the SRC5 interface ID doesn't change even if we do some small changes to the SNIP. Otherwise it's a problem to check if a given contract is an account
This PR also reflects the changes from
Array
toSpan
that happened months ago when cairo was updatedLastly. This introduces a change to the
__execute__
method. Today it returns the results of the calls. but the returned data is unusable. Specially since it’s now enforced that nobody can call__execute__
directly. It's wasteful to generate and return all this data for nothing. The change shouldn't break anything and it can improve the performance of Starknet