-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nikos/5603/some default properties cannot set from contract class (#5756
) * Create getters & setters for static defaults properties * Add web3config static variable to initialize web3Context config * prioritize instance's value * Update tests * Enable optional static variables * Keep only contractWeb3Config for static defaults * Formatting * Enable contract instances to listen on global config event changes * Add tests * Remove comment * Fix global defaults on deployed smart contracts * Fix clone function * Fix defaultAccount inheritance from class level during contract deployment * Update tests * Update test * Update test * Delete unused test * Subscribe for global config changes in contract class * Remove static contract defaults * Remove tests using static contract defaults * Fix failing test * Fix global defaults on smart contracts * Address feedback * Remove unused import * fix * Remove formatting error * move syncWithContext in contract init options * move syncWithContext in contract init options * Fix and test * Update changelog * Update packages/web3-eth-contract/CHANGELOG.md * Update packages/web3-eth-contract/CHANGELOG.md * Remove comment --------- Co-authored-by: Wyatt Barnes <me@wyatt.email>
- Loading branch information
1 parent
ab31eb0
commit 1431e5e
Showing
8 changed files
with
201 additions
and
398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.