Commit Graph

10325 Commits

Author SHA1 Message Date
Christian Parpart
a211b89118 Enforce disallowing empty structs
This patch enfoces an error when it encounters an empty struct,
effectively eliminating the deprecation warning.

Also adjust 419_interface_structs to explicitely test for (non-empty) structs,
as this behaviour "may" change in the future.
2018-06-14 00:24:43 +01:00
chriseth
014bbc6c97
Merge pull request #4272 from ethereum/assert-break-continue
Fail if break/continue statements are used outside for/while loops in ContractCompiler
2018-06-13 12:10:39 +02:00
chriseth
14a7c9f2b9
Merge pull request #4290 from ethdemy/typo-bugfix
fix typo
2018-06-13 09:25:45 +02:00
chriseth
f3530df905
Merge pull request #4284 from ethereum/external-050-tests
Properly download branches of external Zeppelin/Gnosis tests
2018-06-13 09:22:10 +02:00
a4nkit
f79efb8dbf fix typo 2018-06-13 12:50:32 +05:30
chriseth
3055e4caa3
Merge pull request #4286 from ethereum/cli-formal
[BREAKING] Remove obsolete --formal option from CLI
2018-06-13 09:08:27 +02:00
Alex Beregszaszi
2625f282b9 Remove obsolete --formal option from CLI 2018-06-13 01:00:51 +01:00
Alex Beregszaszi
76b4c0e6e6 Properly download branches of external Zeppelin/Gnosis tests 2018-06-12 22:41:56 +01:00
Alex Beregszaszi
62b05d4157
Merge pull request #4283 from ethereum/swap-test-order
Execute external Zeppelin tests before Gnosis
2018-06-12 19:48:10 +01:00
Alex Beregszaszi
3e1fb6b7ff
Merge pull request #4085 from ethereum/calldatapad
[BREAKING] Properly pad data from calldata.
2018-06-12 19:19:49 +01:00
Alex Beregszaszi
dae790b118 Execute external Zeppelin tests before Gnosis 2018-06-12 19:11:56 +01:00
Alex Beregszaszi
451f56ec1c
Merge pull request #4250 from ethereum/fixAppveyor
Fix AppVeyor Visual Studio 2017 release
2018-06-12 19:00:45 +01:00
chriseth
1dc28c065d Properly pad data from calldata. 2018-06-12 18:51:40 +01:00
Alex Beregszaszi
71dc401170
Merge pull request #4280 from ethereum/disallow-sha3-suicide
[BREAKING] Disallow sha3 suicide
2018-06-12 18:46:05 +01:00
Alex Beregszaszi
2084208dd3 Ensure to always use 0.5.0 mode in solcjs tests 2018-06-12 18:16:18 +01:00
Alex Beregszaszi
d39917fd0d Update external contract in compilationTests to not use deprecated sha3 2018-06-12 18:16:18 +01:00
Alex Beregszaszi
9de45383d8 Disallow sha3/suicide aliases 2018-06-12 18:16:18 +01:00
Alex Beregszaszi
0e23b5e954 Tidy up changelog for 0.5.0 2018-06-12 17:08:39 +01:00
Alex Beregszaszi
d1e7e9ef5e
Merge pull request #3627 from ethereum/additional-keywords
[BREAKING] Add new reserved keywords.
2018-06-12 16:33:26 +01:00
Daniel Kirchner
e2f4a9fcf4
Merge pull request #4277 from ethereum/signedRightShift
Signed Right Shift: Additional test and more explanation.
2018-06-12 17:19:20 +02:00
chriseth
2c8eca5dcf
Merge pull request #4265 from ethereum/remove-std
Remove obsolete 'std' directory
2018-06-12 16:59:51 +02:00
chriseth
cc62d7ce6a
Merge pull request #4229 from ethereum/smt_storage_vars_refactor
Refactoring how storage and local variables are managed.
2018-06-12 16:11:05 +02:00
Daniel Kirchner
e4b7b2160e Add new reserved keywords. 2018-06-12 16:02:53 +02:00
Daniel Kirchner
510f227bd7 Additional test and more explanation. 2018-06-12 15:53:15 +02:00
Daniel Kirchner
1f1ec180fb
Merge pull request #4273 from ethereum/soltestExceptions
Improve exception handling in soltest and isoltest.
2018-06-12 12:26:05 +02:00
Alex Beregszaszi
56a965ea96
Merge pull request #4232 from ethereum/renameiulia
Rename iulia to yul in documentation.
2018-06-12 10:07:56 +01:00
Daniel Kirchner
9f546cfafc Improve exception handling in soltest and isoltest. 2018-06-12 11:06:14 +02:00
Alex Beregszaszi
ae2b589850
Merge pull request #4084 from ethereum/signedRightShift
[BREAKING] Use proper SAR for signed right shifts and emulate on pre-constantinople.
2018-06-12 10:01:14 +01:00
chriseth
abfec6829d Rename julia/iulia to yul in documentation. 2018-06-12 10:00:00 +01:00
Leonardo Alt
207d5859d1 Refactoring Declaration -> VariableDeclaration (more precise) 2018-06-12 10:58:50 +02:00
Leonardo Alt
48652c88af Review comments 2018-06-12 10:58:50 +02:00
Leonardo Alt
678a769cd7 Refactoring how storage and local variables are managed. 2018-06-12 10:58:50 +02:00
Daniel Kirchner
e84b55bd6f Extend explanatory remark and argue using bitwise operations instead of rounding. 2018-06-12 09:32:19 +01:00
Daniel Kirchner
f33dc92cbd Use proper SAR for signed right shifts and emulate on pre-constantinople. 2018-06-12 09:32:19 +01:00
Alex Beregszaszi
1d57d74e82 Fail if break/continue statements are used outside for/while loops in ContractCompiler 2018-06-12 00:46:23 +01:00
Alex Beregszaszi
8999a2f375
Merge pull request #4179 from ethereum/emitWorkaround
[BREAKING] Remove emit workaround
2018-06-11 23:00:47 +01:00
Erik Kundt
2e9f5d1c98 Introduces emit token and removes identifier workaround. 2018-06-11 21:21:22 +01:00
Alex Beregszaszi
d85120c073
Merge pull request #4266 from ethereum/explicit-pow
Use boost::multiprecision::pow explicitly
2018-06-11 21:03:59 +01:00
Alex Beregszaszi
99c585fd8a Remove obsolete 'std' directory 2018-06-11 20:11:10 +01:00
Alex Beregszaszi
d035561992
Merge pull request #4206 from ethereum/050-testing
Use temporary fork of Gnosis/Zeppelin contracts
2018-06-11 19:57:56 +01:00
Alex Beregszaszi
8d38d4d296 Use boost::multiprecision::pow explicitly 2018-06-11 19:31:26 +01:00
bitshift
83ae2abad7 Updates Windows release to VS 2017 15.7.3 2018-06-11 11:53:03 +02:00
chriseth
81c5a6e466
Merge pull request #4247 from morenoh149/patch-2
Update Event emit docs pragma
2018-06-08 08:53:54 +02:00
Harry Moreno
20a5a9b15f
Update Event emit docs pragma
Event's `emit` usage was introduced in 0.4.21+
2018-06-07 15:07:07 -04:00
chriseth
ddd256a607
Merge pull request #4243 from feliam/patch-3
Update abi-spec.rst
2018-06-07 11:38:56 +02:00
feliam
765241a154
Update abi-spec.rst
An infinite number of items in the sequence of types? ??
A negative number of type in the sequence ??
2018-06-06 18:40:26 -03:00
Alex Beregszaszi
24ca596c66
Merge pull request #4241 from ethereum/show-named-arg
Show named argument name in error
2018-06-06 16:32:08 +01:00
chriseth
d97aca77f2
Merge pull request #4222 from ethereum/view-pure-checker-split
Extract test cases from ViewPureChecker
2018-06-06 17:31:35 +02:00
chriseth
36e34e59a6
Merge pull request #4237 from dilatebrave/pull4196
doc: put the index at the bottom
2018-06-06 17:21:15 +02:00
Alex Beregszaszi
0f572159ec Show named argument name in error 2018-06-06 15:59:27 +01:00