Skip to content

Commit 37e0a78

Browse files
committed
Fix formater
1 parent 282380b commit 37e0a78

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

packages/transaction-decoder/src/abi-loader.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class EmptyCalldataError extends Data.TaggedError('DecodeError')<
3232
}
3333
}
3434

35-
class SchemaAbi extends Schema.make<Abi>(SchemaAST.objectKeyword) { }
35+
class SchemaAbi extends Schema.make<Abi>(SchemaAST.objectKeyword) {}
3636
class AbiLoader extends Schema.TaggedRequest<AbiLoader>()('AbiLoader', {
3737
failure: Schema.instanceOf(MissingABIError),
3838
success: Schema.Array(Schema.Struct({ abi: SchemaAbi, id: Schema.optional(Schema.String) })),
@@ -81,18 +81,18 @@ const setValue = (key: AbiLoader, abi: (ContractABI & { strategyId: string }) |
8181
},
8282
abi == null
8383
? {
84-
type: 'func' as const,
85-
abi: '',
86-
address: key.address,
87-
chainID: key.chainID,
88-
signature: key.signature || '',
89-
status: 'not-found' as const,
90-
}
84+
type: 'func' as const,
85+
abi: '',
86+
address: key.address,
87+
chainID: key.chainID,
88+
signature: key.signature || '',
89+
status: 'not-found' as const,
90+
}
9191
: {
92-
...abi,
93-
source: abi.strategyId,
94-
status: 'success' as const,
95-
},
92+
...abi,
93+
source: abi.strategyId,
94+
status: 'success' as const,
95+
},
9696
)
9797
})
9898

@@ -307,9 +307,9 @@ export const AbiLoaderRequestResolver = RequestResolver.makeBatched((requests: A
307307
const cacheEffect =
308308
allAbis.length > 0
309309
? Effect.forEach(allAbis, (abi) => setValue(request, abi), {
310-
discard: true,
311-
concurrency: 'unbounded',
312-
})
310+
discard: true,
311+
concurrency: 'unbounded',
312+
})
313313
: Effect.void
314314

315315
return Effect.zipRight(

packages/transaction-decoder/src/abi-strategy/strategy-executor.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ export const make = (circuitBreaker: CircuitBreaker, requestPool: RequestPool) =
4343
data instanceof MissingABIStrategyError
4444
? Effect.fail(data)
4545
: Effect.succeed(
46-
data.map((abi) => ({
47-
...abi,
48-
strategyId: strategy.id,
49-
})),
50-
),
46+
data.map((abi) => ({
47+
...abi,
48+
strategyId: strategy.id,
49+
})),
50+
),
5151
),
5252
)
5353
}

0 commit comments

Comments
 (0)