Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comment #1135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/experimental/job/job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface JobEventsDict {
*/
canceled: () => void;
/**
* Emitted when the job finishes cleanup after success, error or cancelation.
* Emitted when the job finishes cleanup after success, error or cancellation.
*/
ended: () => void;
}
Expand Down
2 changes: 1 addition & 1 deletion src/golem-network/golem-network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ export class GolemNetwork {
* @param options.order - represents the order specifications which will result in access to LeaseProcess.
* @param options.poolSize {Object | number} - can be defined as a number or an object with min and max fields, if defined as a number it will be treated as a min parameter.
* @param options.poolSize.min - the minimum pool size to achieve ready state (default = 0)
* @param options.poolSize.max - the maximum pool size, if reached, the next pool element will only be available if the borrowed resource is released or destroyed (dafault = 100)
* @param options.poolSize.max - the maximum pool size, if reached, the next pool element will only be available if the borrowed resource is released or destroyed (default = 100)
* @param options.setup - an optional function that is called as soon as the exe unit is ready
* @param options.teardown - an optional function that is called before the exe unit is destroyed
*/
Expand Down
2 changes: 1 addition & 1 deletion src/market/market.module.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ describe("Market module", () => {
});
});
describe("estimateBudget()", () => {
it("estimates budget for max number of agreeements", () => {
it("estimates budget for max number of agreements", () => {
const order: MarketOrderSpec = {
demand: {
workload: {
Expand Down
2 changes: 1 addition & 1 deletion src/market/market.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export interface MarketModule {
}): Observable<OfferProposal>;

/**
* Estimate the budget for the given order and maximum numbers of agreemnets.
* Estimate the budget for the given order and maximum numbers of agreements.
* Keep in mind that this is just an estimate and the actual cost may vary.
* The method returns the estimated budget in GLM.
* @param params
Expand Down
2 changes: 1 addition & 1 deletion src/network/network.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe("Network", () => {
new GolemNetworkError(`Unable to add node network-node-id to removed network`, NetworkErrorCode.NetworkRemoved),
);
});
test("should get first avialble ip adrress", () => {
test("should get first avialble ip address", () => {
const network = new Network("network-id", "192.168.0.0/24");
expect(network.getFirstAvailableIpAddress().toString()).toEqual("192.168.0.1");
});
Expand Down
2 changes: 1 addition & 1 deletion src/shared/yagna/adapters/market-api-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { ScanSpecification, ScannedOffer } from "../../../market/scan";
/**
* A bit more user-friendly type definition of DemandOfferBaseDTO from ya-ts-client
*
* That's probably one of the most confusing elements around Golem Protocol and the API specificiation:
* That's probably one of the most confusing elements around Golem Protocol and the API specification:
*
* - Providers create Offers
* - Requestors create Demands
Expand Down