Skip to content

Commit

Permalink
[stylebot] Fixes for code style
Browse files Browse the repository at this point in the history
  • Loading branch information
robotoer committed Aug 21, 2024
1 parent 21f668c commit 87a5b02
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/mock-contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ export type MockContract<C extends BaseContract> = C & {
) => Promise<void>;
};

export const calculateFnSigHash = (call: MockRevertExpectation<FunctionFragment> | MockReadCallExpectation<FunctionFragment> | MockWriteCallExpectation<FunctionFragment>) => {
export const calculateFnSigHash = (
call:
| MockRevertExpectation<FunctionFragment>
| MockReadCallExpectation<FunctionFragment>
| MockWriteCallExpectation<FunctionFragment>,
) => {
const iface = new Interface([call.abi]);
if (call.inputs === undefined || call.inputs === null) {
const selector = iface.getFunction(call.abi.name)?.selector;
Expand Down

0 comments on commit 87a5b02

Please sign in to comment.