Skip to content

Control over block production and rollbacks in tests #42

@euonymos

Description

@euonymos

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

(courtesy of @t4ccer)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions