Skip to content

Commit

Permalink
Fixing lint;
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz Gustavo Abou Hatem De Liz committed Jul 21, 2023
1 parent 8bafbe3 commit 2f708c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions balancer-js/src/modules/sor/pool-data/onChainData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const generateMultipools = <GenericPool extends BalancerPool>(
chunks.push(chunk);
}
const poolsToBeCalled: GenericPool[] = [];
const multicallers: Multicaller[] = chunks.map((poolsChunk, chunkIndex) => {
const multicallers: Multicaller[] = chunks.map((poolsChunk) => {
const multicall = Multicall__factory.connect(multiAddress, provider);
const multiPool = new Multicaller(multicall, abis);
poolsChunk.forEach((pool) => {
Expand Down Expand Up @@ -389,11 +389,11 @@ const generateMultipools = <GenericPool extends BalancerPool>(
return { multipools: multicallers, poolsToBeCalled };
};

const executeChunks = async <GenericPool extends BalancerPool>(
const executeChunks = async(

Check failure on line 392 in balancer-js/src/modules/sor/pool-data/onChainData.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `·`
multipools: Multicaller[]
): Promise<Record<string, MulticallPool>> => {
const multicallPools = (
(await Promise.all(multipools.map((m, i) => m.execute()))) as Record<
(await Promise.all(multipools.map((m) => m.execute()))) as Record<
string,
MulticallPool
>[]
Expand Down

0 comments on commit 2f708c9

Please sign in to comment.