Skip to main content
Version: Next

Function: assertCallsAreStrictlyEqual()

assertCallsAreStrictlyEqual(originalCalls, unsafeCalls): void

Defined in: src/utils/paymaster.ts:67

Asserts that the given calls are strictly equal, otherwise throws an error.

Parameters

originalCalls

Call[]

The original calls.

unsafeCalls

(OutsideCallV1 | OutsideCallV2)[]

The unsafe calls.

Returns

void

Throws

Throws an error if the calls are not strictly equal.