umbracle / ethgo

Ethereum Golang API
https://www.ethgoproject.io
Mozilla Public License 2.0
484 stars 135 forks source link

Fix hash calculation for dynamic fee and access list transactions #253

Closed Stefan-Ethernal closed 1 year ago

Stefan-Ethernal commented 1 year ago

This PR simplifies transaction hash calculation a bit and uses the chain id provided by the hash function parameter, instead the one from the transaction object, since it can be empty.

Also, property-based tests include testing of dynamic fee transactions as well.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ethgo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 10, 2023 11:16am