-
Notifications
You must be signed in to change notification settings - Fork 803
Typed data aggregate (SNIP-12) #1413
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
base: develop
Are you sure you want to change the base?
Conversation
Summary of what we currently plan, please ack @xJonathanLEI @sgc-code @franciszekjob @penovicp @tabaktoni @thiagodeev #1278 - fix js implementation #1039 - Don't change implementation, clarify the SNIP #1342 - Don't change implementation, clarify the snip, have a new revision if the change is necessary @sgc-code, @penovicp @xJonathanLEI @tabaktoni @franciszekjob |
Thanks @amanusk. |
if (revision === Revision.ACTIVE) { | ||
assertRange(getHex(data as string), type, RANGE_FELT); | ||
} // else fall through to default | ||
return [type, getHex(data as string)]; | ||
} | ||
case 'shortstring': { | ||
if (revision === Revision.ACTIVE) { | ||
if (ctx.parent === revisionConfiguration[revision].domain && ctx.key === 'revision') { |
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.
wont this break SNIP-9? https://github.com/starknet-io/SNIPs/blob/main/SNIPS/snip-9.md#version-2
Like the previous aggregate, the idea here is to have them all available in one place, from there to evaluate potential impact and pick which will be applied and in what way. To address the other message here:
|
Motivation and Resolution
Aggregate for the reported typed data issues. Each commit addresses a corresponding issue (or PR).
Extracted to provide a unified overview so that potential impact can be evaluated and coordinated.
Issues:
selector
#1348