Skip to content
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

Fixing dependency versioning and usability issues #191

Merged
merged 7 commits into from
May 15, 2023

Conversation

kchojn
Copy link
Collaborator

@kchojn kchojn commented May 14, 2023

We have fallen behind in versioning the critical dependencies, and using the current version of ethtx as-is was causing usability issues. This PR aims to fix that:

  • bump web3 >= 6.0.0
  • mongoengine <0.27.0 (some breaking changes)
  • black

kchojn added 7 commits May 14, 2023 11:39
fix(web3_provider.py): update method name from isConnected to is_connected
…nd change name and alias to ethtx:black

refactor(decoders): remove unnecessary blank lines and comments

refactor(errors.py): simplify dictionary formatting and remove trailing whitespace

refactor(parameters.py): remove unnecessary blank lines and whitespace
refactor(semantics.py): remove unnecessary blank lines and whitespace
refactor(balances.py): remove unnecessary blank lines and whitespace
refactor(calls.py): remove unnecessary blank lines and whitespace
refactor(utils.py): remove unnecessary blank lines and whitespace
refactor(ethtx.py): add line breaks for readability and PEP8 compliance

refactor(semantics_model.py): remove unnecessary blank lines
refactor(contracts.py): remove unnecessary blank lines
refactor(database.py): remove unnecessary blank lines
refactor(repository.py): remove unnecessary blank lines
refactor(web3_provider.py): remove unnecessary blank lines

refactor(aztec.py): remove unnecessary blank lines and comments
test(decode_test.py): improve readability of test by adding line breaks and indentation
…ess instead of toChecksumAddress to match PEP8 naming convention
…erscanContract class

refactor(ethtx): replace deprecated Web3.toChecksumAddress with Web3.to_checksum_address in Web3Provider class
…ss` to `to_checksum_address`

refactor(ens_provider.py): change function name from `fromWeb3` to `from_web3`
@kchojn kchojn requested review from piotr-rudnik and dudzicz May 14, 2023 10:14
@kchojn kchojn changed the title Kch/web3 Fixing dependency versioning and usability issues May 14, 2023
@kchojn kchojn merged commit 145f134 into EthTx:master May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants