Skip to content

Commit

Permalink
@ts-expect eth-json-rpc provider type
Browse files Browse the repository at this point in the history
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
  • Loading branch information
legobeat and mcmire committed Oct 10, 2023
1 parent 08d912c commit d80a8d7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,8 @@ export async function withNetworkClient(

const { provider, blockTracker } = clientUnderTest;

const ethQuery = new EthQuery(provider as any);
// @ts-expect-error TODO: Provider type alignment
const ethQuery = new EthQuery(provider);
const curriedMakeRpcCall = (request: Request) =>
makeRpcCall(ethQuery, request);
const makeRpcCallsInSeries = async (requests: Request[]) => {
Expand Down

0 comments on commit d80a8d7

Please sign in to comment.