Skip to content

Commit

Permalink
add test/get_block_height script
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Mar 20, 2024
1 parent 192674b commit 3485bf0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cadence/scripts/test/get_block_height.cdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
access(all)
fun main(): UInt64 {
return getCurrentBlock().height
}

0 comments on commit 3485bf0

Please sign in to comment.