WalletConnectSwiftV2 icon indicating copy to clipboard operation
WalletConnectSwiftV2 copied to clipboard

can't personal sign with v2, because the rpc request parameters has a ```nil``` & the index is not last

Open JustLee-me opened this issue 1 year ago • 1 comments

Describe the bug can't personal sign with v2, because the rpc request parameters has a nil, and AnyCodable will throw the error

  1. I have 4 parameters
  2. AnyCodable will throw when the 3rd parameter decode
  3. I need the 4th parameter to sign

https://github.com/WalletConnect/WalletConnectSwiftV2/blob/9e4e61095ee028d4d329803d6206380dc5f77d74/Sources/Commons/AnyCodable.swift#L160

SDK Version

  • Client: WalletConnectSwiftV2
  • Version 1.6.11

To Reproduce Steps to reproduce the behavior:

  1. open https://app.rhino.fi/portfolio
  2. Click on 'Connect Wallet'
  3. Click on 'Wallet Connect'
  4. use WalletConnectSwiftV2 scan the qr code

Expected behavior person sign success

Screenshots image

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.

JustLee-me avatar Jul 26 '23 08:07 JustLee-me

@JustLee-me sorry for long response, could you please check does issue still reproducing?

flypaper0 avatar Dec 18 '23 16:12 flypaper0