-
Notifications
You must be signed in to change notification settings - Fork 180
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
[Sign] CAIP-25 #688
[Sign] CAIP-25 #688
Conversation
Do we also need to change namespaces validation code? |
Yeah, I mentioned it in Slack, if implementation looks good to you, I'll push some tests 👌🏻 |
throw WalletConnectError.unsupportedNamespace(.unsupportedMethods) | ||
} | ||
if namespace.events.isEmpty { | ||
throw WalletConnectError.unsupportedNamespace(.unsupportedEvents) |
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.
is it always required to have an event in optional namespace?
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.
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.
should the optional namespace contain the chains too then?
I don't think events and methods cannot be empty but let's discuss it today on the w3w meeting.
# Conflicts: # Tests/Web3WalletTests/Mocks/SignClientMock.swift
will be good to add a few negative validation tests |
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.
should we merge it after js/swift/kotlin tests?
there may be some issues discovered
# Conflicts: # Example/WalletApp/PresentationLayer/Wallet/Wallet/WalletView.swift
Due Dilligence