fix: contract tests
This commit is contained in:
parent
58ce0e13e2
commit
ec0cf0e8ef
|
@ -45,9 +45,11 @@ tokio = { version = "1.18", default-features = false, features = ["macros"] }
|
||||||
default = ["abigen"]
|
default = ["abigen"]
|
||||||
|
|
||||||
eip712 = ["ethers-derive-eip712", "ethers-core/eip712"]
|
eip712 = ["ethers-derive-eip712", "ethers-core/eip712"]
|
||||||
abigen = ["ethers-contract-abigen/reqwest", "ethers-contract-derive"]
|
|
||||||
abigen-offline = ["ethers-contract-abigen", "ethers-contract-derive"]
|
abigen-offline = ["ethers-contract-abigen", "ethers-contract-derive"]
|
||||||
celo = ["legacy", "ethers-core/celo", "ethers-core/celo", "ethers-providers/celo"]
|
abigen = ["abigen-offline", "ethers-contract-abigen/online"]
|
||||||
|
|
||||||
|
celo = ["legacy", "ethers-core/celo", "ethers-providers/celo"]
|
||||||
legacy = []
|
legacy = []
|
||||||
|
|
||||||
rustls = ["ethers-contract-abigen/rustls"]
|
rustls = ["ethers-contract-abigen/rustls"]
|
||||||
|
|
|
@ -6,8 +6,7 @@ use std::{
|
||||||
sync::Arc,
|
sync::Arc,
|
||||||
};
|
};
|
||||||
|
|
||||||
#[tokio::test]
|
fn _contract_call_into_future_is_send() {
|
||||||
async fn contract_call_into_future_is_send() {
|
|
||||||
abigen!(DsProxyFactory, "ethers-middleware/contracts/DsProxyFactory.json");
|
abigen!(DsProxyFactory, "ethers-middleware/contracts/DsProxyFactory.json");
|
||||||
let (provider, _) = Provider::mocked();
|
let (provider, _) = Provider::mocked();
|
||||||
let client = Arc::new(provider);
|
let client = Arc::new(provider);
|
||||||
|
|
|
@ -399,7 +399,7 @@ fn eth_display_works() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn eth_display_works_for_human_readable() {
|
fn eth_display_works_for_human_readable() {
|
||||||
ethers_contract::abigen!(
|
abigen!(
|
||||||
HevmConsole,
|
HevmConsole,
|
||||||
r#"[
|
r#"[
|
||||||
event log(string)
|
event log(string)
|
||||||
|
|
Loading…
Reference in New Issue