Macro fuels_macros::setup_contract_test
source · setup_contract_test!() { /* proc-macro */ }
Expand description
Used to reduce boilerplate in integration tests.
More details can be found in the Fuel Rust SDK Book
setup_contract_test!(
Wallets("wallet"),
Abigen(
name = "FooContract",
abi = "packages/fuels/tests/contracts/foo_contract"
),
Abigen(
name = "FooCallerContract",
abi = "packages/fuels/tests/contracts/foo_caller_contract"
),
Deploy(
name = "foo_contract_instance",
contract = "FooContract",
wallet = "wallet"
),
Deploy(
name = "foo_caller_contract_instance",
contract = "FooCallerContract",
wallet = "my_own_wallet"
),
);