Commit Graph

12943 Commits

Author SHA1 Message Date
Alex Beregszaszi
81d011335a Support shifts in the constant optimiser when Constantinople is targeted 2019-02-22 11:55:43 +00:00
Erik Kundt
f683ceb3f8 Adds support for boolean literals in soltest. 2019-02-21 23:28:48 +01:00
chriseth
7f5b335b47 Make EVM version part of EVM dialect. 2019-02-21 21:59:46 +01:00
chriseth
91c664ca1e
Merge pull request #6070 from ethereum/redundantAssignClearState
Clear state when entering new function.
2019-02-21 21:58:49 +01:00
chriseth
91fb2d094d Clear state when entering new function. 2019-02-21 20:04:20 +01:00
chriseth
773a3ff880
Merge pull request #6036 from ethereum/soltest-hexliterals
[soltest] Add support for left-aligned hex literals
2019-02-21 19:11:27 +01:00
chriseth
13667d42ec
Merge pull request #6067 from ethereum/asm-parser-fatal
Do not ignore fatal error in AsmParser for inline assembly
2019-02-21 18:12:13 +01:00
Alex Beregszaszi
fcf884f201 Do not ignore fatal error in AsmParser for inline assembly 2019-02-21 16:18:53 +00:00
chriseth
6a1e339b9d
Merge pull request #6068 from ethereum/fix-no-color
Fix isoltest --no-color option
2019-02-21 17:08:10 +01:00
Erik Kundt
d40928f5fc Adds support for hex literals in soltest. 2019-02-21 17:04:40 +01:00
chriseth
98012135c6
Merge pull request #6060 from ethereum/soltest-formatting
[soltest] Create dedicated formatting
2019-02-21 16:43:50 +01:00
Mathias Baumann
7a40088d95 Fix isoltest --no-color option 2019-02-21 16:42:23 +01:00
Erik Kundt
d1ad431887 Moves soltest function call to separate class. 2019-02-21 16:39:31 +01:00
chriseth
15d275ed37
Merge pull request #6023 from ethereum/assignment-whitespace-op
Add extra token for assembly assignment
2019-02-21 14:43:29 +01:00
chriseth
52df027afe
Merge pull request #6063 from ethereum/stackCompressorBuiltin
Take builtin functions into account in the compilability checker.
2019-02-21 14:40:56 +01:00
chriseth
0166b4d948
Merge pull request #6041 from ethereum/default-ipc-options
Unify isoltest and soltest options code
2019-02-21 14:40:27 +01:00
Mathias Baumann
1672902abb Unify isoltest and soltest options code
Also provide a default value for ipc-path, which is the same one as aleth uses.
2019-02-21 14:04:39 +01:00
Mathias Baumann
f395d5bab4 Add extra token for assembly assignment
Adding an extra token for := prevents whitespace between : = being valid
2019-02-21 13:58:21 +01:00
Mathias Baumann
8b342cbe6a Use Boost::Program_Options in soltest 2019-02-21 13:30:09 +01:00
Mathias Baumann
f4110b295b Use env variable to get IPC path for isoltest 2019-02-21 13:27:24 +01:00
chriseth
27d936cf44
Merge pull request #5102 from ethereum/abiencoderv2-tests
Run all end-to-end tests with ABIEncoderV2
2019-02-21 13:11:06 +01:00
chriseth
82f3774a13
Merge pull request #6065 from ethereum/minor-doc-fix
Small documentation fixes in the code
2019-02-21 12:58:02 +01:00
Mathias Baumann
c65a96d189 Small documentation fixes in the code 2019-02-21 12:54:39 +01:00
Alex Beregszaszi
a255a50292
Merge pull request #6064 from ethereum/someFewerBrewSteps
[CI] Skip brew update and upgrade.
2019-02-21 11:38:44 +00:00
chriseth
6029c9f17a Skip brew update and upgrade. 2019-02-21 12:14:45 +01:00
chriseth
947215a901 Take builtin functions into account in the compilability checker. 2019-02-21 12:13:42 +01:00
chriseth
8ace2c5b11 Special treatment for differences between ABI encoders. 2019-02-21 11:11:29 +00:00
chriseth
e7a8fed01b
Merge pull request #6059 from ethereum/soltest-langutil-commons
[soltest] Share code with langutil
2019-02-21 09:52:55 +01:00
Erik Kundt
6c7ad42e2d Shares langutil code with soltest. 2019-02-21 01:04:34 +01:00
Alex Beregszaszi
5bbd65c5ca Run constantinople in regular and in force-abiv2 mode. 2019-02-20 16:55:19 +01:00
Alex Beregszaszi
219406f45b Add CLI option to soltest to always use ABIEncoderV2 2019-02-20 16:55:19 +01:00
chriseth
b43d75cee7
Merge pull request #6047 from ethereum/fixTagReplacement
Fix: Also replace tags in the list of tags referenced from outside.
2019-02-20 16:54:48 +01:00
chriseth
5bf8af8004
Merge pull request #6053 from ethereum/fix-coverage-settings
Fix patch coverage settings
2019-02-20 16:34:45 +01:00
Mathias Baumann
b92c4fb926 Fix patch coverage settings 2019-02-20 16:09:00 +01:00
chriseth
00084a9bd7
Merge pull request #6027 from ethereum/failEnErrorListNonEmpty
Make analysis success not only dependent on flag but also on error list.
2019-02-20 15:19:48 +01:00
chriseth
7f6f958246 Fix: Also replace tags in the list of tags referenced from outside. 2019-02-20 15:06:23 +01:00
chriseth
ed73579d67
Merge pull request #6049 from ethereum/asmstack-optim
Assert for parserResult in optimize in AssemblyStack
2019-02-20 15:04:14 +01:00
chriseth
03b8fcd7eb
Merge pull request #6042 from ethereum/fixEventSignatureInLibraries
Fix event signature in libraries
2019-02-20 14:59:21 +01:00
chriseth
372853b192 Make analysis success not only dependent on flag but also on error list. 2019-02-20 14:57:58 +01:00
Alex Beregszaszi
0f1be75f97 Assert for parserResult in optimize in AssemblyStack 2019-02-20 13:54:24 +00:00
chriseth
e4ac27d9fe
Merge pull request #6016 from ethereum/shift-optim
Add more optimisation rules for shifts
2019-02-20 14:46:54 +01:00
chriseth
fb07462d82 Fix: Do use actual ABI signatures for events also in libraries instead of internal signature. 2019-02-20 14:35:24 +01:00
chriseth
b14d22d11e Tests for events with structs in libraries. 2019-02-20 14:35:02 +01:00
chriseth
0613c69c4a
Merge pull request #6043 from ethereum/asm-jump-invalidlabel
Proper error message for missing variables in inline assembly
2019-02-20 14:32:40 +01:00
chriseth
fcd82025de
Merge pull request #6046 from ethereum/smt_division_tests
[SMTChecker] Move tests that contain division to boost tests
2019-02-20 14:29:15 +01:00
Alex Beregszaszi
fd936439a4 Add more optimisation rules for shifts 2019-02-20 11:59:15 +00:00
Alex Beregszaszi
8291111fe1
Merge pull request #6045 from ethereum/asm-syntax-tests
Move inline assembly tests from nameAndTypeResolution to inlineAssembly
2019-02-20 11:24:44 +00:00
Leonardo Alt
123d0857c5 [SMTChecker] Move tests that contain division to boost tests 2019-02-20 12:17:03 +01:00
chriseth
c8fb2c1ba3
Merge pull request #6039 from xwvvvvwx/docs_contract_type_conversions
correct documentation around contract type conversion
2019-02-20 12:04:58 +01:00
Alex Beregszaszi
687522a2f5 Move inline assembly tests from nameAndTypeResolution to inlineAssembly 2019-02-20 11:00:02 +00:00