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