From 8acd6d59db0148211ff6f1955ebd315f36f2c344 Mon Sep 17 00:00:00 2001 From: Eshaan Bansal Date: Thu, 21 Nov 2024 19:36:07 +0530 Subject: [PATCH 1/2] fix: missing parentheses in helios-ts/lib.ts --- helios-ts/lib.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helios-ts/lib.ts b/helios-ts/lib.ts index a2df5f58..fc16da8c 100644 --- a/helios-ts/lib.ts +++ b/helios-ts/lib.ts @@ -110,7 +110,7 @@ export class HeliosProvider { case "eth_getTransactionByBlockHashAndIndex": { return this.#client.get_transaction_by_block_hash_and_index(req.params[0], req.params[1]); } - case "eth_getBlockReceipts": + case "eth_getBlockReceipts": { return this.#client.get_block_receipts(req.params[0]); } case "eth_getLogs": { From d43ff356fe62550a5dcc6fa612b6a8a82fe6d5a4 Mon Sep 17 00:00:00 2001 From: Eshaan Bansal Date: Thu, 21 Nov 2024 19:36:27 +0530 Subject: [PATCH 2/2] fix: missing parentheses in helios-ts/lib.ts --- helios-ts/lib.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/helios-ts/lib.ts b/helios-ts/lib.ts index fc16da8c..805baee1 100644 --- a/helios-ts/lib.ts +++ b/helios-ts/lib.ts @@ -31,10 +31,7 @@ export class HeliosProvider { const executionRpc = config.executionRpc; const network = config.network; - this.#client = new OpStackClient( - executionRpc, - network, - ); + this.#client = new OpStackClient(executionRpc, network); } else { throw "invalid kind: must be ethereum or opstack"; } @@ -108,7 +105,10 @@ export class HeliosProvider { return this.#client.get_transaction_by_hash(req.params[0]); } case "eth_getTransactionByBlockHashAndIndex": { - return this.#client.get_transaction_by_block_hash_and_index(req.params[0], req.params[1]); + return this.#client.get_transaction_by_block_hash_and_index( + req.params[0], + req.params[1] + ); } case "eth_getBlockReceipts": { return this.#client.get_block_receipts(req.params[0]);