Skip to content

Commit

Permalink
Fix: typos (#5110)
Browse files Browse the repository at this point in the history
* Fix: typo

Fix: typo

* Fix: typo

Fix: typo

* Fix: typo

Fix: typo

* Fix: typo

Fix: typo

* Fix: typo

Fix: typo

* Fix: typo

Fix: typo
  • Loading branch information
omahs authored and tanishqjasoria committed Jan 9, 2023
1 parent 58833ac commit 0ca551f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//----------------------
//----------------------
// <auto-generated>
// Generated using the NSwag toolchain v13.1.6.0 (NJsonSchema v10.0.28.0 (Newtonsoft.Json v11.0.0.0)) (http://NSwag.org)
// </auto-generated>
Expand All @@ -21,7 +21,7 @@ public interface IBeaconNodeOApiController
/// <returns>Request successful</returns>
System.Threading.Tasks.Task<string> VersionAsync();

/// <summary>Poll to see if the the beacon node is syncing.</summary>
/// <summary>Poll to see if the beacon node is syncing.</summary>
/// <returns>Request successful</returns>
System.Threading.Tasks.Task<Response> SyncingAsync();

Expand Down Expand Up @@ -82,7 +82,7 @@ public System.Threading.Tasks.Task<string> Version()
return _implementation.VersionAsync();
}

/// <summary>Poll to see if the the beacon node is syncing.</summary>
/// <summary>Poll to see if the beacon node is syncing.</summary>
/// <returns>Request successful</returns>
[Microsoft.AspNetCore.Mvc.HttpGet, Microsoft.AspNetCore.Mvc.Route("node/syncing")]
public System.Threading.Tasks.Task<Response> Syncing()
Expand Down Expand Up @@ -888,4 +888,4 @@ public System.Collections.Generic.IDictionary<string, object> AdditionalProperti
#pragma warning restore 1573
#pragma warning restore 472
#pragma warning restore 114
#pragma warning restore 108
#pragma warning restore 108
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public NodeSyncingController(ILogger<NodeSyncingController> logger, IBeaconNodeA
_beaconNode = beaconNode;
}

/// <summary>Poll to see if the the beacon node is syncing.</summary>
/// <summary>Poll to see if the beacon node is syncing.</summary>
/// <remarks>
/// <para>
/// Requests the beacon node to describe if it's currently syncing or not, and if it is, what block it is up to. This is modelled after the Eth1.0 JSON-RPC eth_syncing call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ paths:
get:
tags:
- MinimalSet
summary: "Poll to see if the the beacon node is syncing."
summary: "Poll to see if the beacon node is syncing."
description: "Requests the beacon node to describe if it's currently syncing or not, and if it is, what block it is up to. This is modelled after the Eth1.0 JSON-RPC eth_syncing call.."
responses:
200:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public async System.Threading.Tasks.Task<string> VersionAsync(System.Threading.C
}
}

/// <summary>Poll to see if the the beacon node is syncing.</summary>
/// <summary>Poll to see if the beacon node is syncing.</summary>
/// <returns>Request successful</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public System.Threading.Tasks.Task<Response> SyncingAsync()
Expand All @@ -130,7 +130,7 @@ public System.Threading.Tasks.Task<Response> SyncingAsync()
}

/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
/// <summary>Poll to see if the the beacon node is syncing.</summary>
/// <summary>Poll to see if the beacon node is syncing.</summary>
/// <returns>Request successful</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public async System.Threading.Tasks.Task<Response> SyncingAsync(System.Threading.CancellationToken cancellationToken)
Expand Down Expand Up @@ -1894,4 +1894,4 @@ public ApiException(string message, int statusCode, string response, System.Coll
#pragma warning restore 1573
#pragma warning restore 472
#pragma warning restore 114
#pragma warning restore 108
#pragma warning restore 108
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void ActivationQueueSorting()
state.Validators[mockActivations - 2].ActivationEpoch.ShouldBe(chainConstants.FarFutureEpoch);
//# the one at churn_limit - 1 did not make it, it was out-prioritized
state.Validators[churnLimit - 1].ActivationEpoch.ShouldBe(chainConstants.FarFutureEpoch);
//# but the the one in front of the above did
//# but the one in front of the above did
state.Validators[churnLimit - 2].ActivationEpoch.ShouldNotBe(chainConstants.FarFutureEpoch);
}

Expand Down

0 comments on commit 0ca551f

Please sign in to comment.