-
Notifications
You must be signed in to change notification settings - Fork 143
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
Update client API to support new cost fields in dryrun result #336
Conversation
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.
Looks good to me, but I expect the blackbox testing code that @tzaffi has added also needs to be updated because of this change. It seems to reference cost in many places.
Perhaps If I'm wrong in my assumption, then I'll need to understand a bit better the relationship between |
Close, but |
Is the If that's the case, I think there's no need to try and re-create the strange and buggy underflow behavior. This isn't something I was using, and requiring community members to rewrite tests that relied on this wrong value is not too much to ask, in my opinion. In short, assuming that |
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.
As the repo has no existing tests that validate cost
in dry-run, I think it's ok to accept as is. @barnjamin may want to have a look as well.
Depends on: algorand/go-algorand#3957