From 49349d645c9c09174c837aab86228646fd4d7a8b Mon Sep 17 00:00:00 2001 From: rabi-siddique Date: Fri, 14 Jun 2024 10:08:46 +0500 Subject: [PATCH] chore: update start block for initiating balances table --- project.ts | 4 ++-- src/mappings/mappingHandlers.ts | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/project.ts b/project.ts index d6d15a43..550cb2ba 100644 --- a/project.ts +++ b/project.ts @@ -54,8 +54,8 @@ const project: CosmosProject = { dataSources: [ { kind: CosmosDatasourceKind.Runtime, - startBlock: 1, - endBlock: 1, + startBlock: 7179262, + endBlock: 7179262, mapping: { file: "./dist/index.js", handlers: [ diff --git a/src/mappings/mappingHandlers.ts b/src/mappings/mappingHandlers.ts index f6c21f63..f9ecface 100644 --- a/src/mappings/mappingHandlers.ts +++ b/src/mappings/mappingHandlers.ts @@ -5,10 +5,7 @@ import { extractStoragePath, getStateChangeModule, resolveBrandNamesAndValues, - getEscrowAddress, - isBaseAccount, - isModuleAccount, - isVestingAccount, + getEscrowAddress } from './utils'; import { @@ -28,7 +25,6 @@ import { TRANSFER_PORT_VALUE, BALANCE_FIELDS, FETCH_ACCOUNTS_URL, - GET_FETCH_BALANCE_URL, GENESIS_URL, } from './constants'; import { psmEventKit } from './events/psm';