Commit Graph

10440 Commits

Author SHA1 Message Date
Nicolás Venturo
172e208c6a Add TruthyAnd Peephole optimization 2018-06-15 11:27:39 -03:00
Daniel Kirchner
14d0f8c2f1 Refactor syntax test infrastructure to prepare introducing semantics tests. 2018-06-15 10:51:40 +02:00
chriseth
dea9646a1d
Merge pull request #4298 from ethereum/rpcDifficultyFix
Fix ipc tests for recent versions of cpp-ethereum.
2018-06-15 00:23:10 +02:00
Daniel Kirchner
0319b184ce Add difficulty field to genesis chain parameters to fix ipc tests for recent versions of cpp-ethereum. 2018-06-14 16:46:10 +02:00
chriseth
dc5cd3e1e7
Merge pull request #4296 from ethereum/yul-internal
[WIP] Rename some internal constructs from Julia/Iulia to Yul
2018-06-14 12:04:08 +02:00
Alex Beregszaszi
d24f6fd34b update tests 2018-06-14 09:31:28 +01:00
Alex Beregszaszi
4cdb6c809a Change comments 2018-06-14 09:31:28 +01:00
Alex Beregszaszi
e1d0bfe1ca JuliaType -> YulType 2018-06-14 09:31:28 +01:00
Alex Beregszaszi
e0d95a6641 Rename internal variable 2018-06-14 09:31:28 +01:00
Alex Beregszaszi
782bc41dbd Rename JULIA/IULIA to Yul in assembly interface 2018-06-14 09:31:28 +01:00
chriseth
baeabe1c2d
Merge pull request #4282 from ethereum/cli-yul
[BREAKING] Renamed the --julia CLI option to --yul
2018-06-14 08:42:37 +02:00
chriseth
66188573ed
Merge pull request #4236 from ethereum/v050-disallow-empty-structs
[BREAKING] Enforce disallowing empty structs
2018-06-14 08:41:36 +02:00
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
Alex Beregszaszi
ba2a7294d8 Renamed the --julia CLI option to --yul 2018-06-14 00:09:00 +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