Skip to content

Commit

Permalink
fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
pgebal committed Oct 20, 2023
1 parent ba88e25 commit 67956f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libsolidity/formal/CHC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,8 @@ void CHC::externalFunctionCallToTrustedCode(FunctionCall const& _funCall)
std::vector<Expression const*> arguments;
for (auto& arg: _funCall.sortedArguments())
arguments.push_back(&(*arg));
smtutil::Expression pred = predicate(function, callExpr, &funType, arguments, calledAddress);
// coo to jest? nie zgadzaj sie typy
smtutil::Expression pred = predicate(function, std::nullopt, &funType, arguments, calledAddress);

auto txConstraints = state().txTypeConstraints() && state().txFunctionConstraints(*function);
m_context.addAssertion(pred && txConstraints);
Expand Down

0 comments on commit 67956f8

Please sign in to comment.