pub fn test_wallet(id: u8) -> WalletAddressExpand description
Creates a deterministic test wallet address from an ID.
This is the canonical way to create wallet addresses in tests. The address is constructed with zeros except for the last byte which is the ID.
ยงExample
use hypercall_types::wallet_address::test_wallet;
let wallet = test_wallet(1);
assert_eq!(wallet.as_hex(), "0x0000000000000000000000000000000000000001");