diff --git a/src/mock-contract.ts b/src/mock-contract.ts index 9dfa850..6bc5275 100644 --- a/src/mock-contract.ts +++ b/src/mock-contract.ts @@ -41,7 +41,12 @@ export type MockContract = C & { ) => Promise; }; -export const calculateFnSigHash = (call: MockRevertExpectation | MockReadCallExpectation | MockWriteCallExpectation) => { +export const calculateFnSigHash = ( + call: + | MockRevertExpectation + | MockReadCallExpectation + | MockWriteCallExpectation, +) => { const iface = new Interface([call.abi]); if (call.inputs === undefined || call.inputs === null) { const selector = iface.getFunction(call.abi.name)?.selector;