How do you guarantee liquidation transactions remain valid under state change between simulation and broadcast?