ethers-rs/ethers-core/src
CyMule 4d24acdd84
Adds From<H160> trait to ValueOrArray<H160> (#1200)
* Adds From<H160> trait to ValueOrArray<H160>

The trait From<H160> for ValueOrArray<H160> was not implemented which
prevented compilation when using
pub fn address<T: Into<ValueOrArray<Address>>>(self, address: T)
for ethers_core::types::Filter.

Fixes: #1199

* update CHANGELOG.md

* Adds From<Vec<H160>> trait to ValueOrArray<H160> and documentation

The trait From<Vec<H160>> for ValueOrArray<H160> was not implemented which
prevented compilation when passing a Vec<H160> into
pub fn address<T: Into<ValueOrArray<Address>>>(self, address: T)
for ethers_core::types::Filter.

This commit also includes documentation on how to use fn address for
ethers_core::types::Filter.

Fixes: #1199
2022-05-02 12:33:33 -07:00
..
abi test: add type check test for abi array tuples (#1143) 2022-04-18 10:02:56 -07:00
macros fix(core): check against ethers internal crate names (#1060) 2022-03-17 15:14:53 -07:00
types Adds From<H160> trait to ValueOrArray<H160> (#1200) 2022-05-02 12:33:33 -07:00
utils feat: add anvil bindings (#1164) 2022-04-21 19:22:52 +02:00
lib.rs chore(clippy): add some deny lints (#1064) 2022-03-19 10:05:39 -07:00