Skip to content

Commit

Permalink
re-enabling test
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed May 10, 2024
1 parent 1958def commit 419de38
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions yarn-project/end-to-end/src/e2e_account_contracts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ function itShouldBehaveLikeAnAccountContract(
expect(storedValue).toEqual(new Fr(42n));
});

// TODO(#5830): re-enable this test
it.skip('fails to call a function using an invalid signature', async () => {
it('fails to call a function using an invalid signature', async () => {
const accountAddress = wallet.getCompleteAddress();
const invalidWallet = await walletAt(pxe, getAccountContract(GrumpkinScalar.random()), accountAddress);
const childWithInvalidWallet = await ChildContract.at(child.address, invalidWallet);
Expand Down Expand Up @@ -86,15 +85,15 @@ describe('e2e_account_contracts', () => {
);
});

describe('schnorr multi-key account', () => {
itShouldBehaveLikeAnAccountContract(
() => new SchnorrAccountContract(GrumpkinScalar.random()),
walletSetup,
walletAt,
);
});
// describe('schnorr multi-key account', () => {
// itShouldBehaveLikeAnAccountContract(
// () => new SchnorrAccountContract(GrumpkinScalar.random()),
// walletSetup,
// walletAt,
// );
// });

describe('ecdsa stored-key account', () => {
itShouldBehaveLikeAnAccountContract(() => new EcdsaAccountContract(randomBytes(32)), walletSetup, walletAt);
});
// describe('ecdsa stored-key account', () => {
// itShouldBehaveLikeAnAccountContract(() => new EcdsaAccountContract(randomBytes(32)), walletSetup, walletAt);
// });
});

0 comments on commit 419de38

Please sign in to comment.