Implementing enforcing gas expectations in isoltest.

Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
This commit is contained in:
Djordje Mijovic
2021-03-09 21:26:45 +01:00
co-authored by Daniel Kirchner
parent 515f15f7a3
commit aed3832b27
8 changed files with 56 additions and 9 deletions
+2
View File
@@ -76,6 +76,8 @@ bool IsolTestOptions::parse(int _argc, char const* const* _argv)
return false;
}
enforceViaYul = true;
enforceGasTest = (evmVersion() == langutil::EVMVersion{});
enforceGasTestMinValue = 100000;
return res;
}