Set state mutability of function type members `gas and value` to pure.

This commit is contained in:
Daniel Kirchner
2019-06-13 18:27:53 +02:00
parent 668972bb4e
commit 4d38df6920
6 changed files with 59 additions and 2 deletions
+2 -2
View File
@@ -2912,7 +2912,7 @@ MemberList::MemberMap FunctionType::nativeMembers(ContractDefinition const*) con
strings(1, ""),
Kind::SetValue,
false,
StateMutability::NonPayable,
StateMutability::Pure,
nullptr,
m_gasSet,
m_valueSet
@@ -2929,7 +2929,7 @@ MemberList::MemberMap FunctionType::nativeMembers(ContractDefinition const*) con
strings(1, ""),
Kind::SetGas,
false,
StateMutability::NonPayable,
StateMutability::Pure,
nullptr,
m_gasSet,
m_valueSet