-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time #124
Conversation
aleeusgr
commented
Jun 15, 2023
•
edited
Loading
edited
- refactor: again, how to organize tests?
if duration is 1e6 then tx fails at slot 10781
BREAKING CHANGE: #123
const validatorAddress = Address.fromValidatorHash(validatorHash); | ||
|
||
const adaQty = 10; | ||
const duration = 1000000; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these two lines duplicate, add to context or hardcode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also duration can be obtained from slot number and used to explore edge cases also
@@ -56,11 +56,14 @@ describe("a vesting contract: Cancel transaction", async () => { | |||
const aliceUtxos = await alice.utxos; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rm