William Reed
06/21/2021, 1:23 PMblock
isn’t called 0 or 2+ times?
contract {
callsInPlace(block, InvocationKind.EXACTLY_ONCE)
}
diesieben07
06/21/2021, 1:26 PMAlso please note that currently the Kotlin compiler does not verify contracts, so it's the responsibility of the programmer to write correct and sound contracts.