Skip to content

Commit

Permalink
feat(cancelVesting): submit lock tx
Browse files Browse the repository at this point in the history
  • Loading branch information
aleeusgr committed May 21, 2023
1 parent 966c6af commit 0188b1d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/helios-vesting-cancel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ describe("a vesting contract: Cancel transaction", async () => {
expect(validatorHash.hex).toBe('0502e977b1b2d1be41edabd19401d65d43f1d936f82297b72c71663c')
})

it ("adds new code", async ({network, alice, validatorHash}) => {
expect().toBe();
it ("adds new code", async ({network, alice, bob, validatorHash}) => {
const adaQty = 10;
const duration = 10000000;
await lockAda(network!, alice!, bob!, validatorHash, adaQty, duration)
expect((await alice.utxos)[0].value.dump().lovelace).toBe('14747752');
})
})

0 comments on commit 0188b1d

Please sign in to comment.