-
Notifications
You must be signed in to change notification settings - Fork 6
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: EIP-1271 #301
feat: EIP-1271 #301
Conversation
e214f83
to
5bdb867
Compare
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.
Was this tested on staging somewhere? Or just in WCRust repo?
@@ -7,7 +7,8 @@ allow = [ | |||
"Unlicense", | |||
"BSD-3-Clause", | |||
"0BSD", | |||
"ISC" | |||
"ISC", | |||
"CC0-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.
Why was this updated?
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.
Seems like a dependency changed and this license is actually being used. A few weeks ago the checker had me remove it because it was unused, but now it wanted me to add back. Not sure what happened.
This license is a public domain license so we can allow it.
I have not tested EIP-1271 in Notify Server, just in WalletConnectRust. The changes here are extremely minimal so don't think testing was necessary. EOAs still work (according to tests), so if smart accounts upport doesn't work we can fix in follow-up. |
pub struct MockGetRpcUrl; | ||
impl GetRpcUrl for MockGetRpcUrl { | ||
fn get_rpc_url(&self, _: String) -> Option<Url> { | ||
None |
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.
Does this work in tests as it's always None
?
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.
EIP-1271 is not tested by Notify Server tests (however it should be in the future). So since this function will never be called, it's ok to return None
.
6f52c79
to
31b8900
Compare
Description
Resolves #145
Several improvements should be made in another iteration, but these are not urgent: #345
Remaining work:
How Has This Been Tested?
Automated tests
Due Diligence