From 7fc6f049c4c24d7ca1c9287d4db4d5c2f25c79c8 Mon Sep 17 00:00:00 2001 From: nigiri <168690269+0xnigir1@users.noreply.github.com> Date: Thu, 17 Oct 2024 09:54:37 -0300 Subject: [PATCH] fix: add todo and fix typo --- packages/processors/src/allo/handlers/poolCreated.handler.ts | 2 +- packages/processors/src/helpers/strategy.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/processors/src/allo/handlers/poolCreated.handler.ts b/packages/processors/src/allo/handlers/poolCreated.handler.ts index 5315716..a07a449 100644 --- a/packages/processors/src/allo/handlers/poolCreated.handler.ts +++ b/packages/processors/src/allo/handlers/poolCreated.handler.ts @@ -2,7 +2,7 @@ import { Address, getAddress, parseUnits, zeroAddress } from "viem"; import type { Changeset, NewRound, PendingRoundRole } from "@grants-stack-indexer/repository"; import type { ChainId, ProtocolEvent } from "@grants-stack-indexer/shared"; -import { isAlloNativeToken } from "@grants-stack-indexer/shared/"; +import { isAlloNativeToken } from "@grants-stack-indexer/shared"; import type { IEventHandler, ProcessorDependencies, StrategyTimings } from "../../internal.js"; import { getRoundRoles } from "../../helpers/roles.js"; diff --git a/packages/processors/src/helpers/strategy.ts b/packages/processors/src/helpers/strategy.ts index 76192e7..75bdd68 100644 --- a/packages/processors/src/helpers/strategy.ts +++ b/packages/processors/src/helpers/strategy.ts @@ -14,6 +14,7 @@ type Strategy = { groups: string[]; }; +//TODO: refactor this into a mapping in Shared package from ID to the corresponding handler class /* * Extracts the strategy from the ID. * @param _id - The ID of the strategy.