Commit Graph

20256 Commits

Author SHA1 Message Date
chriseth
17e644a135
Merge pull request #11332 from ethereum/switch-archlinux-base-image-in-ci
Switch from archlinux/base to archlinux:base image in CI and add a workaround for runc breakage
2021-05-03 10:34:06 +02:00
chriseth
ce0559e463
Merge pull request #11335 from ethereum/builtin-init
[soltest] Improve Builtin Initialization.
2021-05-03 10:30:15 +02:00
Alexander Arlt
68f0f36a2d [soltest] Improve Builtin Initialization. 2021-05-02 22:13:40 -05:00
Kamil Śliwak
563160e5b3 Hard-code archlinux image version to base-20210131.0.14634 to work around runc/glibc bug 2021-04-29 19:16:09 +02:00
Kamil Śliwak
09283a6db4 Switch from archlinux/base to archlinux:base in CI
- archlinux/base seems to be gone
- archlinux:base comes from a different repo but seems to also be an official Arch Linux image
2021-04-29 18:29:21 +02:00
chriseth
f1d58c549b
Merge pull request #11328 from ethereum/respectMemoryModelForInit
Respect memory model for init
2021-04-29 17:03:59 +02: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
79acebe46f Allocate for returning runtime code. 2021-04-29 16:40:51 +02:00
chriseth
1814cad4f2
Merge pull request #11331 from ethereum/respectMemoryModelForwardingRevert
Respect memory model forwarding revert
2021-04-29 16:31:10 +02:00
chriseth
f30ef06d62 Update tests. 2021-04-29 15:08:54 +02:00
chriseth
b06a09fd82 Fix forwarding revert. 2021-04-29 14:58:10 +02:00
chriseth
850c25bf8e
Merge pull request #10873 from ethereum/isoltest-balance
[isoltest] Add support to query balance.
2021-04-28 17:01:31 +02:00
chriseth
53fce99bd0
Merge pull request #11326 from ethereum/builtin_user_function
Allow user-defined functions called like builtins.
2021-04-28 16:56:58 +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
Christian Parpart
c794463788
Merge pull request #11317 from cxxboy/robots_update_script
script to automate updates to robots.txt (v2)
2021-04-28 00:55:32 +02:00
cxxboy
bd1fc0e88d script to automate updates to robots.txt #11199
Rewritten the script to work with a 'robots.txt' template file and we
generate the 'robots.txt' from the template when we execute the script.
It's found to be a better alternative to editing the 'robots.txt' file
in-place.
2021-04-27 17:54:55 -04: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 62021c1abc
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
chriseth
b5b8833116
Merge pull request #11319 from ethereum/optimization-level-in-object-compiler-test
optimizationPreset setting in object compiler tests + refactor
2021-04-27 16:51:31 +02:00
chriseth
28c3b38308
Merge pull request #11293 from ethereum/ethassemblyadapter
Split EthAssemblyAdapter from AsmCodeGen
2021-04-27 16:45:19 +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
Kamil Śliwak
9c6f8c011f TestCaseReader: Add enumSetting() 2021-04-27 14:06:56 +02:00
Kamil Śliwak
5023cef382 OptimiserSettings: Add preset() and OptimisationPreset enum 2021-04-27 14:06:44 +02:00
Harikrishnan Mulackal
a942e630d4
Merge pull request #11320 from irnb/develop
change variable declaration place
2021-04-27 13:56:11 +02:00
Kamil Śliwak
28b9d27fae SoltestErrors: Qualify runtime_error with std:: to make it possible to use in in headers 2021-04-27 13:43:07 +02:00
newbateni
fccdb59cef
change variable declaration place
in Test and TestPayable contract (in Fallback Function section) 
variables declared after  their use and I fix that
2021-04-27 15:36:16 +04:30
Alex Beregszaszi
176ce4edf7 Split EthAssemblyAdapter from AsmCodeGen 2021-04-27 11:31:15 +01:00
Alex Beregszaszi
1a556aaa7f Move compilationTests/stringutils to semanticTests/externalContracts 2021-04-27 11:21:14 +01:00
chriseth
f72592549b
Merge pull request #11110 from ethereum/issue_10475_isoltest_external_sources
[isoltest] Add support for external sources.
2021-04-27 10:54:39 +02:00
chriseth
5d087df929
Merge pull request #11318 from ethereum/stack-message
Throw StackTooDeep earlier (with sourcelocatiom) for inline assembly
2021-04-27 10:50:11 +02:00
Alexander Arlt
da38149f57 [test] Add support for --enforce-compile-to-ewasm. 2021-04-26 20:31:03 -05:00
Alex Beregszaszi
9d5b4150d4 Throw StackTooDeep earlier (with sourcelocatiom) for inline assembly issues 2021-04-26 20:11:50 +01:00
chriseth
2e99a56be2
Merge pull request #11123 from ethereum/verbatimdata
Add verbatim builtin.
2021-04-26 20:31:25 +02:00
chriseth
2b5a24e82e Add function side effects test. 2021-04-26 19:56:44 +02:00
chriseth
cb1af8b88a Make verbatim compatible with KnownState. 2021-04-26 19:56:44 +02:00
chriseth
e2d8005737 Add verbatim builtin. 2021-04-26 19:56:44 +02:00
Alexander Arlt
481971cbcf [isoltest] Add support for external sources. 2021-04-26 08:27:30 -05:00