Skip to content

Commit

Permalink
fix: revert this to older implemention
Browse files Browse the repository at this point in the history
This broke locally, but now fails in CI, maybe the converse is also true
  • Loading branch information
cpb8010 committed Dec 4, 2024
1 parent 0745154 commit 39c4b85
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/SessionKeyTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,14 @@ class SessionTester {
};

const signedTransaction = await this.sessionAccount.signTransaction(this.aaTransaction);
expect (provider.broadcastTransaction(signedTransaction)).to.be.reverted;
/*
const txResponse = await provider.broadcastTransaction(signedTransaction);
// Because this rejects the transaction during validation, we don't get a receipt
expect (txResponse.blockNumber).to.be.null;
expect (await txResponse.confirmations()).to.be.equal(0)
*/
};

getLimit(limit?: PartialLimit): SessionLib.UsageLimitStruct {
Expand Down

0 comments on commit 39c4b85

Please sign in to comment.