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