docs: No repetition in testCallVerifierNoSelector

This commit is contained in:
TAMARA LIPOWSKI
2025-01-27 10:08:30 -05:00
parent 8ef061fd75
commit ee5040043b

View File

@@ -112,13 +112,9 @@ contract CallbackVerificationDispatcherTest is Constants {
} }
function testCallVerifierNoSelector() public { function testCallVerifierNoSelector() public {
// For this test, we can use any callback verifier and any calldata that we // This test is exactly the same as testCallVerifierSuccess, except that the
// know works for this verifier. We don't care about which calldata/executor, // fn selector is not explicitly passed. The test should still pass using the
// since we are only testing the functionality of the staticcall and not // default selector.
// the inner verifier.
// Thus, this test case designed from scratch using previously-deployed
// Maverick callback verifier. Looking at the code, we can easily design
// passing calldata.
dispatcherExposed.exposedSetCallbackVerifier( dispatcherExposed.exposedSetCallbackVerifier(
address(0x2C960bD1CFE09A26105ad3C351bEa0a3fAD0F8e8) address(0x2C960bD1CFE09A26105ad3C351bEa0a3fAD0F8e8)
); );