web3 / web3.js

Collection of comprehensive TypeScript libraries for Interaction with the Ethereum JSON RPC API and utility functions.
https://web3js.org/
Other
19.13k stars 4.9k forks source link

redundant constructors for ContractBuilder #7154

Closed agj017 closed 1 month ago

agj017 commented 1 month ago

I am just curious why the constructor signatures are same for ContractBuilder class.

3rd constructor signature, 4th constructor signature

SantiagoDevRel commented 1 month ago

Hey @agj017 thanks for asking! CCing @jdevcs who can answer this one!💪

luu-alex commented 1 month ago

https://github.com/web3/web3.js/pull/7150

mconnelly8 commented 1 month ago

PR merged. Closing issue.