Description
ContainerStateMachine will keep of track of the last successfully applied transaction index and on restart inform Ratis the index, so that the subsequent transactions can be reapplied from here.
Moreover, in case one transaction fails, all the subsequent transactions on the container should fail in the containerStateMachine and a container close action to SCM needs to be initiated to close the container.