pub fn account_0_code_account_1_no_code(
    code: Bytecode
) -> impl FnOnce([&mut MockAccount; 2])
Expand description

Generate a simple setup which adds balance to two default accounts from [static@MOCK_ACCOUNTS]:

  • 0x000000000000000000000000000000000cafe111
  • 0x000000000000000000000000000000000cafe222 And injects the provided bytecode into the first one.