You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any testing framework like plutip that allows for control over block production and rollbacks? I think something like this would be very useful:
myTest = do
submitTx foo
produceBlock
point <- currentTip
submitTx bar
produceBlock
assert t1
rollbackTo point
assert t2
CLB now has the notion of blocks (though it still lacks the notion of rollbacks), but only as a socket emulator. The pure part still doesn't deal with blocks. Moreover, testing capabilities in Atlas don't provide such an API. So this can't seem to be easy to implement for the time being.
Is there any testing framework like plutip that allows for control over block production and rollbacks? I think something like this would be very useful:
(courtesy of @t4ccer)
The text was updated successfully, but these errors were encountered: