public static async Task <DelegatorCycleCommit> Revert(ProtocolHandler proto, Block block)
        {
            var commit = new DelegatorCycleCommit(proto)
            {
                Block = block
            };
            await commit.Revert();

            return(commit);
        }
        public static async Task <DelegatorCycleCommit> Apply(ProtocolHandler proto, Block block, Cycle futureCycle)
        {
            var commit = new DelegatorCycleCommit(proto)
            {
                Block = block, FutureCycle = futureCycle
            };
            await commit.Apply();

            return(commit);
        }