paritytech / parity-common

Collection of crates used in Parity projects
https://www.paritytech.io/
Apache License 2.0
290 stars 218 forks source link

ethereum-types: Consider depending on uint v0.9.4 or above #770

Open vdods opened 1 year ago

vdods commented 1 year ago

This version adds the const qualifier to some stuff (e.g. fn one). This has caused build issues in other crates, and it would be nice if it were fixed upstream (i.e. in ethereum-types crate). uint v0.9.3 and below lacks const qualifiers on certain functions.

See https://github.com/gakonst/ethers-rs/issues/2486 (with the explanation of the fix: https://github.com/gakonst/ethers-rs/issues/2486#issuecomment-1656893389)