EthTx / ethtx

Python package with core transaction decoding functions.
https://www.ethtx.info
Apache License 2.0
454 stars 73 forks source link

Package Compatibility Issue after Fresh Install and Pipenv Installation #194

Open bromulous opened 1 year ago

bromulous commented 1 year ago

I've used this project successfully in the past but recently did a fresh install and couldn't get it to run due to some errors. Repo steps:

  1. git clone
  2. pipenv install
  3. start env
  4. create demo file with getting started code from readme filling in api keys and archive node hook
  5. run demo file

Error

Screenshot 2023-08-11 at 10 18 52 AM

After I downgraded pydantic to <2.0.0 Error

Screenshot 2023-08-11 at 10 21 06 AM
kchojn commented 1 year ago

ge, There will be a release with fixes - next week. That's right, you need to use pydantic <2.0.0, also, it may be a temporary fix: input=raw_tx.input.hex(), but I'm unsure if this is the only problematic place. We will fix problems with web3 >= 6.0.0

bromulous commented 1 year ago

Thanks, this works! It might be worth while freezing requirements on each release so that you don't get broken compatibility issues when a dependency does a breaking update.