We use this internally to simulate various edge scenarios such as reorgs.

Hope it's helpful to you as well, MIT licensed.

— _unwriter (@_unwriter) June 25, 2020