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

SNIP-6 Update #130

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

SNIP-6 Update #130

wants to merge 9 commits into from

Conversation

sgc-code
Copy link
Contributor

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 to Span that happened months ago when cairo was updated

Lastly. 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

Copy link
Contributor

@ericnordelo ericnordelo left a 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?

SNIPS/snip-6.md Show resolved Hide resolved
SNIPS/snip-6.md Outdated Show resolved Hide resolved
SNIPS/snip-6.md Outdated Show resolved Hide resolved
SNIPS/snip-6.md Outdated Show resolved Hide resolved
SNIPS/snip-6.md Outdated Show resolved Hide resolved
sgc-code and others added 3 commits January 20, 2025 12:09
SNIPS/snip-6.md Outdated Show resolved Hide resolved
Co-authored-by: Eric Nordelo <[email protected]>
Copy link
Contributor

@ericnordelo ericnordelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@gaetbout gaetbout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

besides comment, lgtm

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

Successfully merging this pull request may close these issues.

3 participants