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.

TransactionReceipt do not have the gasPrice attribute #5232

@nazarhussain

Description

@nazarhussain

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Currently the TransactionReceipt does not have the gasPrice attribute.

Expected Behavior

It's used in different projects.

https://github.com/trufflesuite/truffle/blob/e6004bda9f09e1c9a5870050a40a783da0707788/packages/interface-adapter/lib/adapter/web3/index.ts#L79

Steps to Reproduce

Not available.

Web3.js Version

4.x

Environment

  • Operating System:
  • Browser:
  • Node.js Version:
  • NPM Version:

Anything Else?

This field is not available in the specs, so we need to be careful for adding this attribute.

https://github.com/ethereum/execution-apis/blob/0b965fb714ccd3faa3c939fdce1726e56679cdec/src/schemas/receipt.yaml#L36

Metadata

Metadata

Assignees

Labels

4.x4.0 relatedBugAddressing a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions