Commit Graph

12764 Commits

Author SHA1 Message Date
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
Alex Beregszaszi
52496ea719 Proper error message for missing variables in inline assembly 2019-02-20 10:36:55 +00:00
David Terry
3a452181a0 correct documentation around contract type conversion 2019-02-19 18:26:09 +01:00
chriseth
c5577145d3
Merge pull request #6034 from ethereum/fuzzcrash
Fix crash due to missing type info
2019-02-19 17:57:39 +01:00
Mathias Baumann
a63f7ca9df Fix crash due to missing type info 2019-02-19 17:28:44 +01:00
chriseth
d9e4a10d5a
Merge pull request #6000 from ethereum/fixECRecoverABIV2
Fixed internal error related to ecrecover and ABIEncoderV2.
2019-02-19 14:36:08 +01:00
chriseth
874648b924
Merge pull request #5999 from ethereum/smt_lazy_overflow
[SMTChecker] Check for under/overflow in the end of the function
2019-02-19 14:28:55 +01:00
chriseth
05541e5adb Fixed internal error related to ecrecover and ABIEncoderV2. 2019-02-19 14:17:03 +01:00
chriseth
8607690a30
Merge pull request #6029 from ethereum/fixDelegatecallV2
Fix combination of delegatecall and ABIEncoderV2.
2019-02-19 14:16:09 +01:00
chriseth
f74a13922b
Merge pull request #5955 from ethereum/docs-openbsd
[DOCS] Add BSD build instructions
2019-02-19 14:07:53 +01:00
chriseth
d5791fef41 Fix combination of delegatecall and ABIEncoderV2.
We can set the flag to false for bare delegatecall, because we always
send a memory string and never a storage reference.
2019-02-19 13:57:03 +01:00
chriseth
55c4131a03
Merge pull request #6030 from ethereum/fixABIEncoderV2Mapping
Allow cleanup for mappings (do nothing).
2019-02-19 13:56:21 +01:00
Chris Ward
ef9854d31f Add BSD dependencies
Add BSD instructions

Remove z3 dependency from OpenBSD

Add disclaimer

Generalise build instructions

Update docs/installing-solidity.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Add extra version details
2019-02-18 17:34:17 -07:00
Leonardo Alt
34470f3549 [SMTChecker] Only check for overflow/underflow in the end of the function 2019-02-18 23:55:58 +01:00
Alex Beregszaszi
2949bd14dd
Merge pull request #6028 from ethereum/warn-about-unused-struct-array-expr
Detect custom type expressions that have no effect
2019-02-18 21:12:04 +00:00
Mathias Baumann
e3d4155fa8 Detect custom type expressions that have no effect 2019-02-18 18:59:31 +01:00
chriseth
c690f679cb Allow cleanup for mappings (do nothing). 2019-02-18 18:50:22 +01:00
chriseth
968ca88690
Merge pull request #5872 from ethereum/semantic-tests-split
Semantic test infrastructure
2019-02-18 18:13:55 +01:00
chriseth
1b6d87c5bd
Merge pull request #5979 from ethereum/fix-context-for-hint
Make sure "value" error hint is only displayed in the right context
2019-02-18 17:35:31 +01:00
chriseth
e88765f936
Merge pull request #6022 from ethereum/fixFunctionScoping
Properly detect name clashes with functions before their definition.
2019-02-18 16:47:21 +01:00
Mathias Baumann
ee9394b4aa Move 'warnUnused' tests to subfolder 2019-02-18 16:42:58 +01:00
Mathias Baumann
093b9ced97 Make sure "value" error hint is only displayed in the right context
Before, the hint would be shown for any "value" member, even a user-specified one.
2019-02-18 16:29:57 +01:00
chriseth
d32670760c
Merge pull request #6026 from ethereum/calldataEncodedSizeWarning
Remove misleading note in Type::calldataEncodedSize.
2019-02-18 16:23:20 +01:00
Daniel Kirchner
d74198b3cc Remove misleading note in Type::calldataEncodedSize. 2019-02-18 16:18:40 +01:00
chriseth
ab04a1c41d
Merge pull request #6024 from ethereum/remove-escaped-decleration
Remove unused and unimplemented declaration `escaped()`
2019-02-18 15:46:13 +01:00
Mathias Baumann
37e78d5011 Remove unused and unimplemented declaration escaped() 2019-02-18 15:31:16 +01:00
chriseth
cb0ad2266c
Merge pull request #6008 from ethereum/smt_fix_abstract_assignment
[SMTChecker] Assert type is not function when assigning
2019-02-18 14:54:20 +01:00
chriseth
b4cd2d6a93 Properly detect name clashes with functions before their definition. 2019-02-18 14:51:05 +01:00
chriseth
db7b38e3c4
Merge pull request #5978 from ethereum/fix-broken-hint
Fix error msg hint for non-payable contracts
2019-02-18 11:49:07 +01:00
Chris Chinchilla
2f0926c368
Merge pull request #5962 from ethereum/docs-modular-example
[DOCS] Create modular example
2019-02-16 15:11:59 -07:00