/ tests / tests / compiler / finalize / block_height.adl
block_height.adl
 1  
 2  program test.alpha {
 3      async transition matches(height: u32) -> Future {
 4          return finalize_matches(height);
 5      }
 6  
 7      async function finalize_matches(height: u32) {
 8          assert_eq(height, block.height);
 9      }
10  }