We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@payable func placeBid(implicit value : inout Wei) -> Bool mutates (Wei.rawValue, highestBid, highestBidder) pre (value.rawValue > 0) pre (dictContains(pendingReturns, highestBidder) == true) post (returns(value.rawValue > highestBid.rawValue)) { if value.rawValue <= highestBid.rawValue { return false } else { highestBid.transfer(source: &value) highestBidder = caller return true } }
The is-else problem before was fixed, however, it still cannot work in this case: If there are some other code before the return statement.
The text was updated successfully, but these errors were encountered:
Is this an issue with the Boogie verification or in solidity?
Sorry, something went wrong.
It's with Boogie.
mrRachar
No branches or pull requests
The is-else problem before was fixed, however, it still cannot work in this case: If there are some other code before the return statement.
The text was updated successfully, but these errors were encountered: