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.

Incompatible return types for 4.x implementations  #5126

@nazarhussain

Description

@nazarhussain

While migrating truffle came across a few changes which are required to make web3@4x compatible with a lot of projects our there.

Here is the the list of individual changes:

  1. web3.eth.getTransaction should always return transaction or throw. Should not have return type of undefined.
  2. web3.eth.getTransactionReceipt should always return receipt or throw. Should not have return type of undefined.
  3. TransactionReceipt property address should not be optional.

Metadata

Metadata

Assignees

Labels

4.x4.0 related

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions