walletconnect-test-wallet
walletconnect-test-wallet copied to clipboard
eth_sendTransaction throws error because nonce is missing
I’m using Web3 v1.2.11 and the latest WalletConnect Web3 Provider to connect my app to the test wallet. When I send a transaction it shows up in the test wallet as expected. Now, if I confirm the pending transaction the test wallet crashes with
react_devtools_backend.js:2273 TypeError: Cannot read property 'replace' of undefined
at C (index.js:270)
at Object.M [as hexToNumber] (index.js:97)
at e.convertHexToNumber (encoding.js:120)
at Object.render (ethereum.ts:68)
at n.render (index.ts:23)
at renderPayload (App.tsx:543)
at e.render (RequestDisplay.tsx:43)
at Fa (react-dom.production.min.js:4333)
at Ua (react-dom.production.min.js:4324)
at bs (react-dom.production.min.js:6700)
The problem seems to be that the test wallet expects the transaction payload from the app to include the nonce which it does not.
I also have this problem.
If I'm not mistaken.. PR #24 fixed this issue. Could you confirm?
widraw