ethereum / eth-account

Account abstraction library for web3.py
http://eth-account.readthedocs.io/
MIT License
258 stars 155 forks source link

Typed dict for transaction dicts #288

Closed pacrob closed 1 month ago

pacrob commented 2 months ago

What was wrong?

Transaction Dicts could use better typing, especially to play better with web3.py

How was it fixed?

This is a test PR (at least to start), copying the TxParams typed dict and any needed sub-types over from web3. If it makes sense, next step will be to pull those types into eth-typing to be shared across both eth-account and web3.

Todo:

Cute Animal Picture

image

pacrob commented 1 month ago

This will be a significant change and need to be coordinated with possible changes to web3 - moving types to be used by both to eth-typing or similar. Saving for a web3 v8 activity.