From 2b0bde0da4ac6c68f9afd84bb4608c14fc3d75c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Bu=C4=9Fra=20Yi=C4=9Fiter?= Date: Tue, 14 Jan 2025 13:54:53 +0300 Subject: [PATCH] Update --- packages/relayer/src/index.ts | 2 +- packages/relayer/src/local-relayer.ts | 2 +- packages/relayer/src/provider-relayer.ts | 2 +- packages/relayer/src/rpc-relayer/index.ts | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/relayer/src/index.ts b/packages/relayer/src/index.ts index 40f8e16bb..48c29b8ec 100644 --- a/packages/relayer/src/index.ts +++ b/packages/relayer/src/index.ts @@ -56,7 +56,7 @@ export interface Relayer { ): Promise // getMetaTransactions returns a list of meta transactions for a given project and gas tank - getMetaTransactions(projectId: number, gasTankId: number, page?: proto.Page): Promise<{ + getMetaTransactions(projectId: number, page?: proto.Page): Promise<{ page: proto.Page, transactions: proto.MetaTxnLog[] }> diff --git a/packages/relayer/src/local-relayer.ts b/packages/relayer/src/local-relayer.ts index 65f478605..9cf3a0acd 100644 --- a/packages/relayer/src/local-relayer.ts +++ b/packages/relayer/src/local-relayer.ts @@ -77,7 +77,7 @@ export class LocalRelayer extends ProviderRelayer implements Relayer { } } - async getMetaTransactions(projectId: number, gasTankId: number, page?: proto.Page): Promise<{ + async getMetaTransactions(projectId: number, page?: proto.Page): Promise<{ page: proto.Page, transactions: proto.MetaTxnLog[] }> { diff --git a/packages/relayer/src/provider-relayer.ts b/packages/relayer/src/provider-relayer.ts index eef5f5b87..17800a921 100644 --- a/packages/relayer/src/provider-relayer.ts +++ b/packages/relayer/src/provider-relayer.ts @@ -63,7 +63,7 @@ export abstract class ProviderRelayer implements Relayer { cost: number }> - abstract getMetaTransactions(projectId: number, gasTankId: number, page?: proto.Page): Promise<{ + abstract getMetaTransactions(projectId: number, page?: proto.Page): Promise<{ page: proto.Page, transactions: proto.MetaTxnLog[] }> diff --git a/packages/relayer/src/rpc-relayer/index.ts b/packages/relayer/src/rpc-relayer/index.ts index bdb073cbe..bde372eb1 100644 --- a/packages/relayer/src/rpc-relayer/index.ts +++ b/packages/relayer/src/rpc-relayer/index.ts @@ -305,11 +305,11 @@ export class RpcRelayer implements Relayer { } as commons.transaction.TransactionResponse } - async getMetaTransactions(projectId: number, gasTankId: number, page?: proto.Page): Promise<{ + async getMetaTransactions(projectId: number, page?: proto.Page): Promise<{ page: proto.Page, transactions: proto.MetaTxnLog[] }> { - return this.service.getMetaTransactions({ projectId, gasTankId, page }) + return this.service.getMetaTransactions({ projectId, page }) } async getTransactionCost(projectId: number, from: string, to: string): Promise<{