cairo-native 0.9.0-rc.4

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::{get_block_hash_syscall, SyscallResultTrait};

fn run_test() -> felt252 {
    42
}

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