-
Notifications
You must be signed in to change notification settings - Fork 1
feat: wallet_disconnect + structure improvements
#2
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
feat: wallet_disconnect + structure improvements
#2
Conversation
wallet_disconnect + cleanupwallet_disconnect + structure improvements
|
|
||
| Disconnects connected account(s). | ||
|
|
||
| - The wallet SHOULD revoke any capabilities associated with the account(s) that were granted upon connection via `wallet_connect`. |
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.
Need to think more on this. May be comingling things too much. If I log out of Coinbase, that doesn't mean I want to disconnect my connection to my bank account if I set that up on login (attempt at analogy to combining with a session/permission example).
ilikesymmetry
left a comment
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.
optimistically merging, thanks for the good edits :)
* Create erc.md * Rename erc.md to erc-permissionless_create2_factory.md * Add discussion link * Fix Minor Typo Just fixes a small inconsistency where we were using `||` and `++` for byte concatenation. Prefer the former. * Fix Heading for 3rd Existing Method * Add More Context about Using Private Key (#2) * Minor Edits - Remove duplicate linking to EIP-7702 (only first one should be linked) - Remove trailing whitespace - Fix spelling error * Fix Requires Reference Requires should be _just_ numbers without the `EIP-` or `ERC-` prefix. This causes issues with the generated HTLM and proofer. * Title Case Sections Fixed some section titles that weren't titlecased correctly. * Use `RETURNDATASIZE` Instead of `PUSH0` In order to not depend on EIP-3855 `PUSH0` opcode, we refactor the factory code to use `RETURNDATASIZE` which is guaranteed to be `0` **except** for when `CREATE2` reverts. With a little bit of moving code around, we also managed to change make the code one byte smaller and fit into a 32-byte word. * Typos * Use eip number * Fix Section Lint The ERC lint does not like additional top level sections, so move the "custom" forwards compatibility section into a subsection of the backwards compatibility * Remove Non-relative Links We remove all non-relative links, as the ERC linter does not allow them. This is slightly unfortunate, since they did provide additional context to the ERC, but 🤷. Note that we format GitHub repositories with italicized title and code for them to stand out: ``` _Title_ (`org/repo`) ``` * Edits to ERC (#4) * Edits to ERC This PR implements the suggested edits to the ERC, and adds a new section explaining the rationale why Nick's method cannot be used for generating the EIP-7702 authorization signature (since it was a question on Ethereum magicians). * Some small follow-up edits * Another small edit * Clarify reverts cause. Co-authored-by: Shebin John <[email protected]> --------- Co-authored-by: Shebin John <[email protected]> * Fix Description The description included a forbidden word, remove it. --------- Co-authored-by: Nicholas Rodrigues Lordello <[email protected]> Co-authored-by: Nicholas Rodrigues Lordello <[email protected]> Co-authored-by: Shebin John <[email protected]>
Suggesting the following:
wallet_disconnectJSON-RPC method.