diff --git a/libsolidity/formal/Predicate.cpp b/libsolidity/formal/Predicate.cpp index cdb1ef749..ee566fe2d 100644 --- a/libsolidity/formal/Predicate.cpp +++ b/libsolidity/formal/Predicate.cpp @@ -189,7 +189,7 @@ string Predicate::formatSummaryCall(vector const& _args) const vector Predicate::summaryStateValues(vector const& _args) const { /// The signature of a function summary predicate is: summary(error, this, txData, preBlockchainState, preStateVars, preInputVars, postBlockchainState, postStateVars, postInputVars, outputVars). - /// The signature of an implicit constructor summary predicate is: summary(error, this, txData, postBlockchainState, postStateVars). + /// The signature of an implicit constructor summary predicate is: summary(error, this, txData, preBlockSchainState, postBlockchainState, postStateVars). /// Here we are interested in postStateVars. auto stateVars = stateVariables(); @@ -204,7 +204,7 @@ vector Predicate::summaryStateValues(vector const& _args) const } else if (programContract()) { - stateFirst = _args.begin() + 4; + stateFirst = _args.begin() + 5; stateLast = stateFirst + static_cast(stateVars->size()); } else