The Mockup Engine


The mockup engine of Mitten is still experimental.

Instead of spawning a new sandboxed network and acting as a proxy between the nodes for replaying scenario, Mitten can make use of the mockup mode of the Tezos node.

When run this way, the node is simulated and the bakers are run (together with the simulated node) in the same executable.

This is a more lightweight approach (as opposed to starting a full sandboxed network and proxies) which allows in theory to have a more deterministic setup for replaying scenarios, even though race conditions can still occur.


Note that it is not possible to simulate clock drifts in the mockup engine.

To use the mockup engine, the only thing that needs to be changed is the initial open, which should be replaced by:

open Mockup_scenario_engine