Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
yigiterdev committed Jan 14, 2025
1 parent c946b2a commit 2b0bde0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/relayer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface Relayer {
): Promise<commons.transaction.TransactionResponse>

// 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[]
}>
Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/src/local-relayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
}> {
Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/src/provider-relayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
}>
Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/src/rpc-relayer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<{
Expand Down

0 comments on commit 2b0bde0

Please sign in to comment.