Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

eth_sendTransaction throws error because nonce is missing #19

Open
@geigerzaehler

Description

@geigerzaehler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions