cairo-native 0.9.0-rc.5

A compiler to convert Cairo's IR Sierra code to MLIR and execute it.
1
2
3
4
5
6
7
8
9
use starknet::{SyscallResultTrait, get_block_hash_syscall};

fn run_test() -> felt252 {
    42
}

fn get_block_hash() -> felt252 {
    get_block_hash_syscall(1).unwrap_syscall()
}