-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Update EIP 1193 #2577
Update EIP 1193 #2577
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.
At first read, only one thing stood out to me! Great work @rekmarks!
cc: @ricmoo @MicahZoltu @danfinlay I am in touch with @ryanio |
Since this renames |
Since this is not in production anywhere yet, and is in I sometimes fall on the other end of the spectrum: I somewhat wish proposals were hash-locked, because some specs evolve after they've gone to production (see EIP 712: I also don't think a version number always does justice to the evolution of a spec, since two versions could conflict and not build on each other. But since this is both |
@danfinlay, previously, a versioning mechanism was being discussed because the signature of |
@rekmarks how come the |
I think versioning or capability detection (or versioned capabilities!) is still an incredibly wise thing to do, but I agree that can and probably should be a separate EIP from this one. Ideally that separate EIP would be done first, and this one would follow it (adding a new capability/version) but I understand that beggars can't be choosers. |
@adrianmcli I suppose we are! See: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-695.md Relevant excerpt:
Geth, Parity, and MetaMask are already returning hex strings for |
I personally find the examples in JS better :) and a bit to much text. But the ideas are great and giving a notification type makes a lot of sense! Great job @rekmarks |
Hi! I'm a bot, and I wanted to automerge your PR, but couldn't because of the following issue(s):
|
My thanks to all of you for your feedback! As far as I'm concerned, this is ready to be merged. |
Co-Authored-By: Whymarrh Whitby <whymarrh.whitby@gmail.com>
Co-Authored-By: Whymarrh Whitby <whymarrh.whitby@gmail.com>
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, thanks for all your work on this!
Hi, I'm a bot! This change was automatically merged because: - It only modifies existing Draft or Last Call EIP(s) - The PR was approved or written by at least one author of each modified EIP - The build is passing
Hi, I'm a bot! This change was automatically merged because: - It only modifies existing Draft or Last Call EIP(s) - The PR was approved or written by at least one author of each modified EIP - The build is passing
Hi, I'm a bot! This change was automatically merged because: - It only modifies existing Draft or Last Call EIP(s) - The PR was approved or written by at least one author of each modified EIP - The build is passing
Link to file: https://github.com/rekmarks/EIPs/blob/rekmarks-1193-update/EIPS/eip-1193.md
Makes the following updates to EIP 1193, in light of recent discussions in #2319:
send
andsendAsync
request
, with the same Promise signature as thesend
currently atethereum/EIPs#master
notification
event, such that a generalized object is emittedeth_subscription
message
event for generalized messaging, and deprecates thenotification
eventnotification
event do not breaknotification
event is now handled by themessage
event