chore(abigen-macro): do not run the doctests since the abi paths cannot be found
This commit is contained in:
parent
a1096f8705
commit
beb480f22b
|
@ -17,19 +17,21 @@ use syn::{parse::Error, parse_macro_input};
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```no_run
|
/// ```ignore
|
||||||
|
/// # use ethers_contract_derive::abigen;
|
||||||
|
///
|
||||||
/// // ABI Path
|
/// // ABI Path
|
||||||
/// abigen!(MyContract, "MyContract.json");
|
/// abigen!(MyContract, "MyContract.json");
|
||||||
///
|
///
|
||||||
/// // HTTP(S) source
|
/// // 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
|
/// // Etherscan.io
|
||||||
/// abigen!(MyContract, "etherscan:0x0001020304050607080910111213141516171819");
|
/// abigen!(MyContract, "etherscan:0x0001020304050607080910111213141516171819");
|
||||||
/// abigen!(MyContract, "https://etherscan.io/address/0x0001020304050607080910111213141516171819");
|
/// abigen!(MyContract, "https://etherscan.io/address/0x0001020304050607080910111213141516171819");
|
||||||
///
|
///
|
||||||
/// // npmjs
|
/// // 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
|
/// 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
|
/// - `event_derives`: A list of additional derives that should be added to
|
||||||
/// contract event structs and enums.
|
/// contract event structs and enums.
|
||||||
///
|
///
|
||||||
/// ```no_run
|
/// ```ignore
|
||||||
/// abigen!(
|
/// abigen!(
|
||||||
/// MyContract,
|
/// MyContract,
|
||||||
/// "path/to/MyContract.json",
|
/// "path/to/MyContract.json",
|
||||||
|
|
Loading…
Reference in New Issue