diff --git a/src/mock-contract.ts b/src/mock-contract.ts index 715d441..8de72a4 100644 --- a/src/mock-contract.ts +++ b/src/mock-contract.ts @@ -41,10 +41,11 @@ export type MockContractController = { ) => Promise; }; -export const calculateFnSigHash = (call: - MockRevertExpectation | - MockReadCallExpectation | - MockWriteCallExpectation +export const calculateFnSigHash = ( + call: + | MockRevertExpectation + | MockReadCallExpectation + | MockWriteCallExpectation, ) => { if (call.inputs === undefined || call.inputs === null) { return toFunctionHash(call.abi);