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.

web3.eth.net.getId is not resolving #5127

@nazarhussain

Description

@nazarhussain

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The usage of web3.eth.net.getId inside truffle is not resolving.

https://github.com/trufflesuite/truffle/blob/059f3eae37bf48b9732a112c5592d63e6516652f/packages/artifactor/test/contracts.js#L26

https://github.com/trufflesuite/truffle/blob/059f3eae37bf48b9732a112c5592d63e6516652f/packages/contract-tests/test/linking.js#L39

Expected Behavior

It should resolve fine.

Steps to Reproduce

Run tests for the truffle after linking local web3@4x.

Web3.js Version

4x

Environment

  • Operating System: Mac
  • Node.js Version: 16

Anything Else?

No response

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