Skip to content

Commit

Permalink
fix(jelios-vesting-cancel): reproduce last error
Browse files Browse the repository at this point in the history
Slot out of range.

BREAKING CHANGE:
  • Loading branch information
aleeusgr committed May 27, 2023
1 parent c68fdd1 commit 8792a16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/helios-vesting-cancel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe("a vesting contract: Cancel transaction", async () => {

})

it.skip ("locks funds and tries to unlock as the owner", async ({network, alice, bob, program}) => {
it ("locks funds and tries to unlock as the owner", async ({network, alice, bob, program}) => {
const optimize = false; // need to add it to the context
// Compile the Helios script
// It seems like I need to compile script every time, do I?
Expand Down Expand Up @@ -144,7 +144,7 @@ describe("a vesting contract: Cancel transaction", async () => {
expect(tx.dump().body.lastValidSlot).toBe('21497784')
expect(parseInt(tx.dump().body.firstValidSlot) < initSlot)
expect(parseInt(tx.dump().body.lastValidSlot) > (initSlot+BigInt(200)))
expect(tx.dump().body).toBe();
// expect(tx.dump().body).toBe();

const txId = await network.submitTx(tx);
network.tick(BigInt(10));
Expand Down

0 comments on commit 8792a16

Please sign in to comment.