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

Not always set a balance precondition when using currentAccount.balance #205

Closed
mitschabaude opened this issue May 25, 2022 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@mitschabaude
Copy link
Member

In most cases, it's just the balanceChange that needs to be constrained, so setting balance as a precondition is often unnecessary and adds fragility.

It would be nice to create a special data type for the balance that detects if its actual value is needed: #179 (comment)

@mitschabaude mitschabaude added the enhancement New feature or request label May 25, 2022
@mitschabaude
Copy link
Member Author

closing, as I think after additional discussion in the linked issue, this is overkill

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant