Skip to content

Commit dfe1cfb

Browse files
committed
test(testUseEoaSessionSigsToPkpSign): Enable validator-related functions and fields
1 parent 582c0f4 commit dfe1cfb

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

local-tests/tests/testUseEoaSessionSigsToPkpSign.ts

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,16 @@ export const testUseEoaSessionSigsToPkpSign = async (
7171

7272
console.log('recoveredPubKey:', recoveredPubKey);
7373

74-
// FIXME: Consider adding these assertions back after the v flipping PR is merged
75-
// if (recoveredPubKey !== `0x${runWithSessionSigs.publicKey.toLowerCase()}`) {
76-
// throw new Error(
77-
// `Expected recovered public key to match runWithSessionSigs.publicKey`
78-
// );
79-
// }
80-
// if (recoveredPubKey !== `0x${alice.pkp.publicKey.toLowerCase()}`) {
81-
// throw new Error(
82-
// `Expected recovered public key to match alice.pkp.publicKey`
83-
// );
84-
// }
74+
if (recoveredPubKey !== `0x${runWithSessionSigs.publicKey.toLowerCase()}`) {
75+
throw new Error(
76+
`Expected recovered public key to match runWithSessionSigs.publicKey`
77+
);
78+
}
79+
if (recoveredPubKey !== `0x${alice.pkp.publicKey.toLowerCase()}`) {
80+
throw new Error(
81+
`Expected recovered public key to match alice.pkp.publicKey`
82+
);
83+
}
8584

8685
log('✅ testUseEoaSessionSigsToPkpSign');
8786
};

0 commit comments

Comments
 (0)