This repository was archived by the owner on Mar 5, 2025. It is now read-only.
ContractModuleFactory expects only three arguments, receives four. #2670
Labels
Bug
Addressing a bug
https://github.com/ethereum/web3.js/blob/441c309d3304ffbc36fca4ef483adf314b5f4801/packages/web3-eth-contract/src/factories/ContractModuleFactory.js#L41-L49
https://github.com/ethereum/web3.js/blob/441c309d3304ffbc36fca4ef483adf314b5f4801/packages/web3-eth-contract/src/index.js#L49
I came across this because my IDE is screaming at me "This makes no sense" (static code analysis):

Should not be very difficult to add some sort of static code analysis for this kind of stuff.
The text was updated successfully, but these errors were encountered: