diff --git a/runtime/stdlib/contracts/test.cdc b/runtime/stdlib/contracts/test.cdc index d95dd7135..30892d0a6 100644 --- a/runtime/stdlib/contracts/test.cdc +++ b/runtime/stdlib/contracts/test.cdc @@ -221,8 +221,8 @@ pub contract Test { /// Resets the state of the blockchain at the given height. /// - pub fun reset(_ height: UInt64) { - self.backend.reset(height) + pub fun reset(to height: UInt64) { + self.backend.reset(to: height) } } @@ -408,7 +408,7 @@ pub contract Test { /// Resets the state of the blockchain at the given height. /// - pub fun reset(_ height: UInt64) + pub fun reset(to height: UInt64) } /// Returns a new matcher that negates the test of the given matcher.