Skip to content

Commit 278fd45

Browse files
committed
fix(e2e): update Bob's account configuration and correct authContext reference
1 parent 525cf13 commit 278fd45

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/e2e/src/tickets/delegation.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ describe('payment delegation test', () => {
2121
bobAccount = await createTestAccount(testEnv, {
2222
label: 'Bob',
2323
fundAccount: true,
24-
fundLedger: false,
24+
fundLedger: true,
2525
hasPKP: true,
26-
fundPKP: false,
27-
fundPKPLedger: false,
26+
fundPKP: true,
27+
fundPKPLedger: true,
2828
});
2929

3030
if (!bobAccount.pkp?.ethAddress) {
@@ -51,7 +51,7 @@ describe('payment delegation test', () => {
5151

5252
// 3. Now, Bob tries to execute JS using Alice's sponsorship
5353
const res = await testEnv.litClient.chain.ethereum.pkpSign({
54-
authContext: bobAccount.eoaAuthContext!,
54+
authContext: bobAccount.pkpAuthContext!,
5555
pubKey: bobAccount.pkp?.pubkey!,
5656
toSign: 'Hello, world!',
5757
});

0 commit comments

Comments
 (0)