Skip to content
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

test: adding bool return contract for tests #11

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

wei3erHase
Copy link
Member

@wei3erHase wei3erHase commented Feb 3, 2025

this contract should help us test the behaviour in a vested agreement, in which (for example) when Alice creates a vest for Bob, this external call may represent the "clawback check", if it returns False then Bob can continue claiming the vest, if it returns True, then Alice should be able to claim the funds.

@wei3erHase wei3erHase mentioned this pull request Feb 3, 2025
@wei3erHase wei3erHase marked this pull request as draft February 10, 2025 20:42
@wei3erHase
Copy link
Member Author

passing it to draft as it should be covered by env.mock_call AztecProtocol/aztec-packages#11842

@wei3erHase wei3erHase mentioned this pull request Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant