-
Notifications
You must be signed in to change notification settings - Fork 177
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
Adjusting CAIP-171 as per last meeting #173
Adjusting CAIP-171 as per last meeting #173
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.
Generally looks good with minor asks
CAIPs/caip-171.md
Outdated
1. It MUST uniquely identify an open and stateful session. | ||
1. It MUST identify a closeable session, and it MUST become invalid | ||
after a session is closed. | ||
1. It MUST remain the same as the identified session's state changes. |
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.
I don't understand this point.
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.
the identifier remains constant when the state changes, i.e. not content-addressable/hash-based. better phrasing appreciated!
## Copyright | ||
|
||
Copyright and related rights waived via | ||
[CC0](https://creativecommons.org/publicdomain/zero/1.0/). |
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.
Also I'd suggest having the CC0 in the LICENSE file of this repo as well.
That's what we do in Snaps Improvement Proposals
|
||
n/a | ||
- 2022-11-26: add mandatory indexing by session identifier (i.e. CAIP-171 requirement) |
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.
It's a Draft, imho the changelog shouldn't be in it until it's Final, where we could add Errata.
Co-authored-by: Olaf Tomalka <[email protected]>
Co-authored-by: Olaf Tomalka <[email protected]>
caip: 171 | ||
title: Session Identifiers | ||
author: Olaf Tomalka (@ritave) | ||
discussions-to: <URL> |
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.
discussions-to: <URL> | |
discussions-to: https://github.com/ChainAgnostic/CAIPs/discussions/176 |
NB @ritave (can't tag you for review directly)
partly addresses #141 , although #170 is probably the place to further specify session management for shared assumpions. ideally the choice to use #170 session objects would be separate from the choice to use #171 session identifiers, and wallets or users would know what they can assume based on one or both of the standards being conformed to?