Mark chainid as view.

This commit is contained in:
Daniel Kirchner
2020-12-09 16:55:51 +01:00
parent fca8026250
commit 588535566f
6 changed files with 15 additions and 2 deletions
+1
View File
@@ -365,6 +365,7 @@ bool SemanticInformation::invalidInPureFunctions(Instruction _instruction)
case Instruction::ORIGIN:
case Instruction::CALLER:
case Instruction::CALLVALUE:
case Instruction::CHAINID:
case Instruction::GAS:
case Instruction::GASPRICE:
case Instruction::EXTCODESIZE: