diff --git a/src/chains/filecoin/filecoin/src/provider.ts b/src/chains/filecoin/filecoin/src/provider.ts index 6a1b2f8389..27e7a7f11d 100644 --- a/src/chains/filecoin/filecoin/src/provider.ts +++ b/src/chains/filecoin/filecoin/src/provider.ts @@ -77,7 +77,9 @@ export default class FilecoinProvider async _requestRaw( payload: JsonRpc.Request ) { - // I'm not entirely sure why I need the `as [string]`... but it seems to work. + // The `as any` is needed here because of this hackery of appending the + // JSON `id` no longer fits within the strictly typed `execute` `params` + // argument const result = await this.#executor.execute(this.#api, payload.method, [ ...(payload.params || []), payload.id