-
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
Vesting #100
Conversation
aleeusgr
commented
May 18, 2023
•
edited
Loading
edited
- add lockAda test
I obtain building blocks, how granular they should be?
helios Program, ValidatorHash, ValidatorAddress
what does a test do?
…Issue it was getUplc. Contract Endpoints doesnt seem to quite fit Rumpelstitzkin
…and a template for a transaction test moving on to testing transactions, I need to think about beforeAll, beforeEach and where does NetworkEmulator belong
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.
- lock ADA:
old-tests/lock-ada.test.ts
https://github.com/lley154/helios-examples/blob/704cf0a92cfe252b63ffb9fd36c92ffafc1d91f6/vesting/pages/index.tsx#LL157C1-L280C4
|
||
An option smart contract; | ||
lockAda (owner Pkh, nft, deadline); | ||
claimAda (nft): not after deadline? |
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.
delete 3,4,5
old-tests/lock-ada.test.ts
Outdated
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.
can reuse this code
…avoid deprecation warnings
now need to add validatorAddress to the scope