ethers-rs/ethers-core/src
Alexis Robert b07b302410
Fixes a parsing issue of EIP712 chain_id (chain_id = 80001 parsed as chain_id = 0x80001) (#892)
* Parsing U256 from base10_parse::<u64>() instead of directly to U256

This fixes a bug for chain_ids that are > 10, base10_parse::<U256>() was
somehow parsing into hex.

When using the derive macro, chain_id = 10 was parsed as chain_id = 0x10 = 16,
causing an issue for some chains like Polygon.

* chore: fmt

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-02-10 20:03:46 +02:00
..
abi feat(codec): impl codec for Bytes (#856) 2022-02-02 13:57:39 +02:00
macros fix: lift macros feature to lib level (#567) 2021-11-08 22:08:03 +02:00
types Fixes a parsing issue of EIP712 chain_id (chain_id = 80001 parsed as chain_id = 0x80001) (#892) 2022-02-10 20:03:46 +02:00
utils fix(core): adjust Ganache for new cli output (#851) 2022-02-01 12:59:54 +02:00
lib.rs release: 0.6.0 (#611) 2021-11-23 21:23:12 +02:00