From f6a7745d6ae3bb962e43a0420793cbf37c3f1229 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Sun, 2 Feb 2025 17:56:01 +0100 Subject: [PATCH 1/4] Update queries.ts --- apps/indexer-admin/src/utils/queries.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/indexer-admin/src/utils/queries.ts b/apps/indexer-admin/src/utils/queries.ts index d75d00bf..8c007208 100644 --- a/apps/indexer-admin/src/utils/queries.ts +++ b/apps/indexer-admin/src/utils/queries.ts @@ -107,7 +107,7 @@ export const START_PROJECT = gql` $memory: Int! $id: String! $projectType: Float! - $serviceEndpoints: [SeviceEndpointInput!]! + $serviceEndpoints: [ServiceEndpointInput!]! $rateLimit: Float! $hostType: String! = "system-managed" ) { From da391b350a1efd4ae529432412f643e93bbca359 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Sun, 2 Feb 2025 17:56:46 +0100 Subject: [PATCH 2/4] Update notification.ts --- apps/indexer-admin/src/utils/notification.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/indexer-admin/src/utils/notification.ts b/apps/indexer-admin/src/utils/notification.ts index eb93a759..72ed74e9 100644 --- a/apps/indexer-admin/src/utils/notification.ts +++ b/apps/indexer-admin/src/utils/notification.ts @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 export enum AccountNotification { - MetadataUpated = 'MetadataUpated', + MetadataUpdated = 'MetadataUpdated', ControllerUpdated = 'ControllerUpdated', } From ded8d4294055728fab416e9f7502153f25419425 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Sun, 2 Feb 2025 17:57:18 +0100 Subject: [PATCH 3/4] Update payg.rs --- apps/indexer-proxy/proxy/src/payg.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/indexer-proxy/proxy/src/payg.rs b/apps/indexer-proxy/proxy/src/payg.rs index fb762fd9..188358a3 100644 --- a/apps/indexer-proxy/proxy/src/payg.rs +++ b/apps/indexer-proxy/proxy/src/payg.rs @@ -441,7 +441,7 @@ pub async fn post_query_signle_state( .map_err(|err| error!("Redis 1: {}", err)); } - // async to coordiantor + // async to coordinator let channel_id = state.channel_id; let mdata = format!( r#"mutation {{ @@ -889,7 +889,7 @@ pub async fn pay_channel(mut state: QueryState) -> Result { } } - // async to coordiantor + // async to coordinator let mdata = format!( r#"mutation {{ channelUpdate( From 621da20b0a8e4ad4ae29daac62b91e7221f2ef33 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Sun, 2 Feb 2025 17:58:12 +0100 Subject: [PATCH 4/4] Update auth.rs --- apps/indexer-proxy/proxy/src/auth.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/indexer-proxy/proxy/src/auth.rs b/apps/indexer-proxy/proxy/src/auth.rs index f307e928..c2d22297 100644 --- a/apps/indexer-proxy/proxy/src/auth.rs +++ b/apps/indexer-proxy/proxy/src/auth.rs @@ -1,6 +1,6 @@ // This file is part of SubQuery. -// Copyright (C) 2020-2024 SubQuery Pte Ltd authors & contributors +// Copyright (C) 2020-2025 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0 // This program is free software: you can redistribute it and/or modify @@ -51,7 +51,7 @@ pub struct Payload { pub consumer: Option, /// service agreement contract address pub agreement: Option, - /// deployment id for the proejct + /// deployment id for the project pub deployment_id: String, /// signature of user pub signature: String, @@ -67,7 +67,7 @@ struct Claims { pub indexer: String, /// agreement pub agreement: Option, - /// deployment id for the proejct + /// deployment id for the project pub deployment_id: String, /// issue timestamp pub iat: i64,