-
Notifications
You must be signed in to change notification settings - Fork 1
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: detect payload signing type for WalletConnect #2309
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
6eb4ad8
to
1e99b03
Compare
1e99b03
to
5c56abf
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.
Approved with small comments
@@ -83,16 +87,26 @@ describe("decodeBeaconPayload", () => { | |||
|
|||
it("handles an empty payload", () => { | |||
const emptyPayload = ""; |
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.
We can move this const somewhere higher to use it everywhere
const signPayloadProps: SignPayloadProps = { | ||
appName: session.peer.metadata.name, | ||
appIcon: session.peer.metadata.icons[0], | ||
payload: request.params.payload, | ||
isScam: event.verifyContext.verified.isScam, | ||
validationStatus: event.verifyContext.verified.validation, | ||
signer: signer, | ||
signingType: SigningType.RAW, | ||
signingType: signingType, |
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.
signingType: signingType
=> signingType
5c56abf
to
e17bef5
Compare
e17bef5
to
d1d1a3c
Compare
d1d1a3c
to
8a073ff
Compare
8a073ff
to
be751dc
Compare
Proposed changes
Improved payload representation if the
unpackData
failsTypes of changes
Steps to reproduce
Screenshots
Add the screenshots of how the app used to look like and how it looks now
Before:
Taquito:
Now:
Test dApp with Tezos Provider
Taquito test dApp
fxhash
objkt
Checklist