Commit Graph
6001 Commits
Author SHA1 Message Date
Alex Beregszaszi 41bd90118c eof 2021-05-13 20:26:06 +01:00
Alex Beregszaszi 69b33f5190 Add checks for eof() 2021-05-13 20:15:36 +01:00
Alex Beregszaszi 22cf48b880 ADd back eof() 2021-05-13 19:57:33 +01:00
Alex Beregszaszi 246e157cda f 2021-05-13 19:50:17 +01:00
Alex Beregszaszi 5d4f12b9a7 Move peek closer 2021-05-13 19:41:27 +01:00
Alex Beregszaszi 65c262d744 Remove dead code 2021-05-13 19:40:31 +01:00
Alex Beregszaszi d82adccc8f Rename m_line to m_source 2021-05-13 19:40:31 +01:00
Alex Beregszaszi 2169880d85 Rework using libsolutil 2021-05-13 19:37:39 +01:00
Alex Beregszaszi b24f2e0215 TestFileParser: rework readStream and handle new lines properly 2021-05-13 19:34:49 +01:00
Alex Beregszaszi 3172d28c56 Upgrade hera to v0.3.2-evmc8 2021-05-13 13:15:13 +01:00
Alex Beregszaszi 99354a3b59 Upgrade evmone to 0.7.0 2021-05-12 16:56:23 +02:00
Alex Beregszaszi c66c5c9f1d EVMHost: properly populate implicit access list for Berlin 2021-05-12 16:49:04 +02:00
Alex Beregszaszi 5bfd26287c Upgrade to EVMC 8.0.0 2021-05-12 16:49:04 +02:00
Daniel Kirchner 98e2b4e5ed Merge pull request #11374 from ethereum/semanticTestVMLoadingAndFailures
Change loading of VMs and error messages during test.
2021-05-12 16:47:16 +02:00
Daniel Kirchner 06a9199967 Change loading of VMs and error messages during test. 2021-05-12 14:48:37 +02:00
Leo Alt 880a2fffb6 tests 2021-05-11 21:20:42 +02:00
Daniel Kirchner 6104ac1cdf Remove more imports of ranges namespace. 2021-05-07 15:42:17 +02:00
Djordje Mijovic 53e3081e81 Update gas costs in tests. 2021-05-05 11:33:09 +02:00
f0c5cdca9f [Sol->Yul] Adding util function to copy literal to storage.
Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>

Co-authored-by: chriseth <chris@ethereum.org>
2021-05-05 11:33:03 +02:00
chriseth 9d156b52c4 Merge pull request #8868 from ethereum/functionEntryPoints
Note function entry points.
2021-05-05 11:08:44 +02:00
chriseth 6d41ed024a Update existing tests. 2021-05-05 10:28:23 +02:00
chriseth e7708b6006 Properly treat utf8-non-encodable yul literals. 2021-05-05 10:28:23 +02:00
Djordje Mijovic 8f6d94dbd2 Update gas expectations in semantic tests. 2021-05-05 08:53:40 +02:00
chriseth f9c94d7c42 Note function entry points. 2021-05-04 17:15:13 +02:00
chriseth faca036837 Merge pull request #11294 from ethereum/yulAstDebugDataRefactor
Removing location in favor of debugData in yul AST structures
2021-05-04 17:05:40 +02:00
Djordje Mijovic e404b6e7a6 Refactoring yul source locations. 2021-05-04 16:05:23 +02:00
chriseth aded56b5b9 Update tests 2021-05-03 18:28:43 +02:00
chriseth 2e274a0b26 Add commandline test to show debug strings. 2021-05-03 18:28:39 +02:00
Leo Alt 1642c10f6e Fix ICE in free functions 2021-05-03 10:57:11 +02:00
chriseth 996f3d31d5 Merge pull request #11321 from ethereum/test-prbmath
Add semantictest using prbmath
2021-05-03 10:36:30 +02:00
Alexander Arlt 68f0f36a2d [soltest] Improve Builtin Initialization. 2021-05-02 22:13:40 -05:00
chriseth 426d60f07b Commandline test updates. 2021-04-29 16:46:25 +02:00
chriseth fcc98d12b8 Gas updates. 2021-04-29 16:45:05 +02:00
chriseth f30ef06d62 Update tests. 2021-04-29 15:08:54 +02:00
Alexander Arlt 19ad9fac99 [isoltest] Add support to query balance. 2021-04-28 16:19:05 +02:00
chriseth e1ae4e37a0 Allow user-defined functions called like builtins. 2021-04-28 16:16:32 +02:00
chriseth 5c02837485 Merge pull request #10982 from ethereum/storage_builtin
[isoltest] Replace storage command with storage builtin.
2021-04-28 15:38:29 +02:00
chriseth 2cd0bb11dc Merge pull request #11316 from ethereum/verbatimdata-tests
Added a few optimizer tests for Verbatim
2021-04-28 10:19:19 +02:00
hrkrshnn 8b4eaeabbf Added a few optimizer tests for Verbatim 2021-04-28 09:56:45 +02:00
Alexander Arlt ed27c77def [isoltest] Ignore gas checks on isoltest builtins. 2021-04-27 16:28:37 -05:00
Alexander Arlt 1f2711b0aa [isoltest] Replace storage command with 'storage_empty' builtin. 2021-04-27 16:28:37 -05:00
Alex Beregszaszi 0b3f3dff60 Add ramanujan's pi approximation as a semantic test 2021-04-27 20:47:42 +01:00
Alex Beregszaszi 484a4398a7 Add semantic tests using prb-math 2021-04-27 20:23:13 +01:00
Alex Beregszaszi ada046ba9a Import prb-math for testing
From https://github.com/hifi-finance/prb-math/commit/62021c1abc3413f20d0bdc8f941cf9f21d5a7d2d
2021-04-27 20:08:33 +01:00
Alex Beregszaszi 5852972ec1 Merge pull request #11309 from ethereum/test-stringutils
Add some semantic tests using stringutils
2021-04-27 18:12:37 +01:00
Alex Beregszaszi 5331bc679a Fix some issues regarding checked arithmethics in stringutils 2021-04-27 17:05:40 +01:00
Alex Beregszaszi 6b3357be50 Add semantic tests using stringutils 2021-04-27 17:02:54 +01:00
chriseth 3548049c61 Merge pull request #10356 from ethereum/isoltest-add-enforce-ewasm
[test] Add support for --enforce-compile-to-ewasm.
2021-04-27 17:51:33 +02:00
Kamil Śliwak 43de99dee5 Use 'optimizationPreset: none' for objectCompiler tests that rely on things that could get optimized out 2021-04-27 14:07:04 +02:00
Kamil Śliwak a51d72fb89 ObjectCompilerTest: Replace 'optimize' setting with 'optimizationPreset' 2021-04-27 14:06:56 +02:00