Functions that modify state (in assembly or otherwise) but are labelled constant
/pure
/view
revert in solc >=0.5.0
(work in prior versions) because of the use of STATICCALL
opcode. (see here)
- Contract State Modifications
- Functions:
view
orpure
solc >= 0.5.0
- STATICCALL -> Revert
- Function Mutability -> Check & Apply