non_literal_parameter.rs 109 Bytes
Newer Older
1
2
3
4
5
6
use ink_lang as ink;

const INPUT: &str = "test";
const _: [u8; 32] = ink::blake2x256!(INPUT);

fn main() {}