-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some default properties cannot be set from Contract
class
#5603
Comments
This could be because of the same root problem of #5433 |
Hello all, I think the configurations are better to be totally refactored to have:
The above are just some thoughts. The one who works on this would probably need to do it this was or totally another 😄. |
Maybe this comment could also be addressed during this refactor |
Is there an existing issue for this?
Current Behavior
During writing some tests for contract
defaults
, noticed thatdefaultCommon
anddefaultHardfork
didn't set properly from theContract
class and updated to the instance of the class.Expected Behavior
The values setted in the
Contract
class should be present in the instance, too.Steps to Reproduce
Run the two commented tests in
packages/web3-eth-contract/test/integration/contract_defaults_extra.test.ts
Web3.js Version
4.0.1-alpha.1
Environment
Anything Else?
No response
The text was updated successfully, but these errors were encountered: