fn unpack_account_state(
    codec: &mut Codec<&[u8]>
) -> Result<AccountState<()>, ReadError>