-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update package to use web3.py >=6.0.0, <7 (#87)
* update and fix dependencies - bump web3.py version to >=6, <7 - chore: bump package version to 2.0.0 - chore: lock packages - chore: update vscode settings.json - update .vscode/settings.json to properly use black formatter * fix: get private key using v6 LocalAccount private key property * feat: use v6 method and property naming convention - use Pythonic snake_case where applicable - `web3.module.Module uses` `w3` naming instead of `web3`(e.g. `self.web3.eth.block_number` -> `self.w3.eth.block_number`) - sha3 method has been renamed to keccak * chore: update PKG-INFO web3 package version * Update simple.py for web3.py v6 * Update pyproject.toml and poetry.lock to the latest --------- Co-authored-by: George Zhang <[email protected]>
- Loading branch information
Showing
8 changed files
with
1,776 additions
and
1,100 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"python.formatting.provider": "black" | ||
} | ||
"editor.formatOnSave": true, | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.black-formatter" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ Author-email: [email protected] | |
Requires-Python: >=3.9,<4.0 | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 3.9 | ||
Requires-Dist: web3 (>=5.22.0,<6) | ||
Requires-Dist: web3 (>=6,<7) | ||
Description-Content-Type: text/markdown | ||
|
||
This library works by injecting a new module in the Web3.py instance, which allows | ||
|
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.