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
Bytecode.Gas
The postcondition is written as:
function method Gas(st: State): (st': State) requires st.IsExecuting() ensures st'.OK? || st' == INVALID(STACK_OVERFLOW) ensures st'.OK? <==> st.Capacity() >= 1 && st.Gas() <= (MAX_U256 as nat)
The part st.Gas() <= (MAX_U256 as nat) is invalid. The problem is that its constraining the permitted values for st.
st.Gas() <= (MAX_U256 as nat)
st
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The postcondition is written as:
The part
st.Gas() <= (MAX_U256 as nat)
is invalid. The problem is that its constraining the permitted values forst
.The text was updated successfully, but these errors were encountered: