-
Notifications
You must be signed in to change notification settings - Fork 321
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
CIP-0095 | Misspelling of DeprecatedCertificate
#875
CIP-0095 | Misspelling of DeprecatedCertificate
#875
Conversation
DeprecatedCertificate
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 is definitely correct to use the technical term deprecated
rather than depreciated here, but now that this spec has been published for a while we also need to confirm with @Ryun1 that correcting the spelling won't cause compatibility issues. cc @Crypto2099
Classifying this as an Update
since we cannot be sure yet that this would not be a behavioural change.
Minor wording improvements to the standard committed alongside.
a4af173
to
27d399d
Compare
@nilscodes I'm backing out my previous ✅ for these changes until we can be sure you are done force-pushing to this branch. Please post here when you're done making changes and then we'll get all the editors to make an assessment of it. |
force push makes approval no longer relevant
Hey Robert - yeah, I had already reached out to @Ryun1 to talk about this. To be honest, wanted to make a draft into my own repo before making the official MR, but GitHub snuck up on me. There will be no further force pushing, and I'll update y'all here on the conversations with Ryan, he said he might reply directly, too. |
Great catches @nilscodes I do worry that changing the error codes could break existing compatibility, although more likely to break dApp handelling of the errorcode than wallets |
…ir dependency clearer The ordering now matches the order in CIP-0105. Also updated the first paragraph to a more expressive wording.
Sounds good. I've already reached out to Eternl, since their non english speaking nature may not have alerted them to the misspell. Also, it may be that the implementers used the correct spelling and did not even realize the misspell in the CIP, leading to inconsistent implementations. I just pushed some more changes, based on the clarity of the DRepID / DRepPublicKey ordering in CIP-0105 to clarify one depends on the other, and proposed a clarification in the first paragraph as indicated by my comment before. Let me know if that works. |
We will/have made the change in error response to |
How does this align with CIP-129 regarding DRep ID definition? |
Yeah, I have not changed any of the definitions, just reordered them to match CIP-0105 (because the DRepID is derived from the DrepPubKey). And I don't believe CIP-0129 contains any references to the error codes. Thanks for getting back on this so quickly 🙏 ~ Nils |
Since CIP95 returns just pub keys, without any encoding/ formatting or hashing |
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.
This looks alright to me as written. Deprecated
is definitely the correct word to use in this instance and it doesn't seem like this would break many implementations and it looks like most of the requisite wallet and tooling creators have already been tagged in and could react to these changes rather easily (it would seem).
No issue from Lace side. Thank you for tagging me! |
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.
Nice work @nilscodes 👏
As this one hasn't been merged yet, I propose another change to CIP-95 regarding signData. Its currently defined as:
This is NOT how for example Ledger has implemented signData. No address |
that sounds like a good point (#875 (comment)) @Scitz0 - can you submit a PR for it, or open an issue if you think the approach to such a change is debatable or needs clarification / confirmation first? |
I would, if it weren't for the fact that I leave for a 1½ week vacation in the morning. So if someone else has the time, feel free to do so... else it will have to wait a bit. |
I would do it, if I felt confident I knew exactly what to change, but I'm not deep enough in the material unfortunately. Maybe @Ryun1 can help out? |
@nilscodes it seems proper based on the last #875 (comment) to tag this |
Since the comment from @Scitz0 was not primarily related to my changes, not sure this MR should wait for it - here we really should finalize if we change the error codes or not. Not a lot of tooling is using any of this yet, most affected would be wallets and potentially MeshSDK. |
Agree, I created a separate PR for that change now here #897. |
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.
thanks @nilscodes for that confirmation and @Scitz0 for separating & progressing that other issue. We should indeed decide on this ASAP and commit to something soon so I've marked it Last Check
for the CIP meeting in about 1 hour (https://hackmd.io/@cip-editors/96).
cc @Ryun1 (waiting for his approval re: side effects of making the correction)
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.
Thank you @nilscodes !
Minor wording improvements to the standard committed alongside.