chore(abigen-macro): do not run the doctests since the abi paths cannot be found

This commit is contained in:
Georgios Konstantopoulos 2020-06-11 12:33:09 +03:00
parent a1096f8705
commit beb480f22b
No known key found for this signature in database
GPG Key ID: FA607837CD26EDBC
1 changed files with 6 additions and 4 deletions

View File

@ -17,19 +17,21 @@ use syn::{parse::Error, parse_macro_input};
///
/// # Examples
///
/// ```no_run
/// ```ignore
/// # use ethers_contract_derive::abigen;
///
/// // ABI Path
/// abigen!(MyContract, "MyContract.json");
///
/// // HTTP(S) source
/// abigen!(MyContract, "https://my.domain.local/path/to/contract.json")
/// abigen!(MyContract, "https://my.domain.local/path/to/contract.json");
///
/// // Etherscan.io
/// abigen!(MyContract, "etherscan:0x0001020304050607080910111213141516171819");
/// abigen!(MyContract, "https://etherscan.io/address/0x0001020304050607080910111213141516171819");
///
/// // npmjs
/// abigen!(MyContract, "npm:@org/package@1.0.0/path/to/contract.json")
/// abigen!(MyContract, "npm:@org/package@1.0.0/path/to/contract.json");
/// ```
///
/// Note that Etherscan rate-limits requests to their API, to avoid this an
@ -45,7 +47,7 @@ use syn::{parse::Error, parse_macro_input};
/// - `event_derives`: A list of additional derives that should be added to
/// contract event structs and enums.
///
/// ```no_run
/// ```ignore
/// abigen!(
/// MyContract,
/// "path/to/MyContract.json",