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
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
chriseth
2969bc0f3e
Merge pull request #11302 from ethereum/drop-u160
...
Drop the util::u160 type
2021-04-26 15:12:20 +02:00
chriseth
d4ea84511f
Merge pull request #11304 from ethereum/fix_test_builtins
...
Fix test builtins & add simple smoke test.
2021-04-26 15:12:00 +02:00
Alexander Arlt
8239eaa1b8
Fix test builtins & add simple smoke test.
2021-04-26 07:51:43 -05:00
chriseth
dce3006723
Merge pull request #11314 from ethereum/patch-1
...
[DOCS] Removed an overflow check and rely on checked arithmetic
2021-04-26 14:39:17 +02:00
chriseth
ddc030267e
Merge pull request #11315 from ethereum/minor-cf
...
ControlFlowAnalyzer: Use temporary reference for more readable code
2021-04-26 14:21:49 +02:00
chriseth
d9df3d50e2
Merge pull request #11311 from anurag-git/issue_10738-3
...
Use range-v3 loops(remove_erase, remove_erase_if)
2021-04-26 14:18:15 +02:00
Mathias Baumann
5f313ee52a
ControlFlowAnalyzer: Use temporary reference for more readable code
2021-04-26 13:24:17 +02:00
chriseth
659da4bdc7
Merge pull request #11047 from ethereum/bytesToBytesNNConversion
...
Bytes to bytesNN conversion
2021-04-26 11:51:41 +02:00
Wade Dorrell
9e0c52f621
Removed an overflow check and rely on checked arithmetic
...
The check `require(amount < 1e60);` was removed because it's rather confusing to reason why it
prevents overflow.
Co-authored-by: Wade Dorrell <wade@dorrells.org>
2021-04-26 09:43:16 +02:00
Harikrishnan Mulackal
83bb860e4b
Merge pull request #11313 from ethereum/fix_pylint
...
Fix problems detected by pylint 2.8.1.
2021-04-26 09:32:48 +02:00
Harikrishnan Mulackal
2cb525f607
Merge pull request #11306 from ethereum/toevminstruction
...
Add toEVMInstruction helper
2021-04-26 08:41:25 +02:00
Alexander Arlt
4e7dc24383
Fix problems detected by pylint 2.8.1.
2021-04-25 23:33:14 -05:00
anurag4u80
c4cf412fed
Replaced boost remove_erase and remove_erase_if
2021-04-24 08:10:41 +05:30