diff --git a/helios-ts/lib.ts b/helios-ts/lib.ts index a2df5f58..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,9 +105,12 @@ 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": + case "eth_getBlockReceipts": { return this.#client.get_block_receipts(req.params[0]); } case "eth_getLogs": {