Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

ETH Receipt errors in 1.0.0-beta.38 #2252

@poserr

Description

@poserr

I am (was) using this code to send signed transactions to external node and get the receipt:

                                return this.web3.eth
                                .sendSignedTransaction(rawSigned)
                                .once('transactionHash', console.log)
                                .once('receipt', console.log)
                                .on('error', err => {
                                    reject(err);
                                });

After updating to 1.0.0-beta.38 I started to get this error:

web3-core-helpers.umd.js:88 Uncaught (in promise) TypeError: Cannot read property 'blockNumber' of null
    at Object.outputTransactionFormatter (web3-core-helpers.umd.js:88)
    at GetTransactionReceiptMethod.afterExecution (web3-core-method.umd.js:491)
    at GetTransactionReceiptMethod._callee$ (web3-core-method.umd.js:449)
    at tryCatch (runtime.js:62)
    at Generator.invoke [as _invoke] (runtime.js:288)
    at Generator.prototype.(:8080/anonymous function) [as next] (webpack-internal:///./node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.js:114:21)
    at asyncGeneratorStep (asyncToGenerator.js:3)
    at _next (asyncToGenerator.js:25)

somehow outputTransactionFormatter is being called immediately after transactionHash event with empty "receipt" object.

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