Skip to content
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

deserialization issue in AnyCodable #1302

Open
xwal opened this issue Feb 7, 2024 · 0 comments
Open

deserialization issue in AnyCodable #1302

xwal opened this issue Feb 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@xwal
Copy link
Contributor

xwal commented Feb 7, 2024

Describe the bug
A clear and concise description of what the bug is.

SDK Version

  • Client: Swift
  • Version All version

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://app.rhino.fi/bridge?token=ETH&chainOut=ZETA
  2. Click on Connect Wallet
  3. Sign message
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Connect and sign successful

Screenshots
If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

{"id":1707319509457670,"jsonrpc":"2.0","method":"wc_sessionRequest","params":{"request":{"method":"personal_sign","params":["0x546f2070726f7465637420796f7572207268696e6f2e666920707269766163792077652061736b20796f7520746f207369676e20696e207769746820796f75722077616c6c657420746f2073656520796f757220646174612e0a5369676e696e6720696e206f6e205765642c2030372046656220323032342031353a32353a303920474d542e20466f7220796f7572207361666574792c206f6e6c79207369676e2074686973206d657373616765206f6e207268696e6f2e666921","0xfb92a792db359ce2d99cea135761d1dbe3c64ff1",null]},"chainId":"eip155:1"}}

The dApp sended message with above, which contain a null in params, so the params can't be deserialization in AnyCodable.

@xwal xwal added the bug Something isn't working label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant