Commit Graph

10410 Commits

Author SHA1 Message Date
Alex Beregszaszi
edc0530452
Merge pull request #4323 from ethereum/compilerstack-cleanup
Reorder some of the flow in CompilerStack::compileContract for readability
2018-06-20 23:01:24 +02:00
Khan M Rashedun-Naby
a5f0caa178 Simplification of typeSupportedByOldABIEncoder 2018-06-20 23:16:21 +06:00
Alex Beregszaszi
0a632011be CompilerStack absolutePath/sanitizePath can be made static 2018-06-20 17:04:22 +02:00
Alex Beregszaszi
dcee8e11ad Reorder some of the flow in CompilerStack::compileContract for readability 2018-06-20 17:01:17 +02:00
Leonardo Alt
8862b3092b C99 scoping rules by default 2018-06-20 12:53:38 +02:00
chriseth
ba7fbf11e7
Merge pull request #4300 from nventuro/optimize-out-and
Add TruthyAnd Peephole optimization
2018-06-20 11:38:37 +02:00
Nicolás Venturo
804eb3ef9d Improves peephole_truthy_and test case 2018-06-19 17:09:50 -03:00
Alex Beregszaszi
c9ff67ca3e
Merge pull request #4313 from ethereum/remove-callcode
Disallow raw callcode (was deprecated in 0.4.12)
2018-06-19 19:00:55 +01:00
Alex Beregszaszi
9d3b7ad586
Merge pull request #4225 from ethereum/fixeventtopics
Clarify events.
2018-06-19 19:00:30 +01:00
chriseth
3eebba1087 Clarify documentation about events (mostly topics). 2018-06-19 19:53:02 +02:00
Alex Beregszaszi
a17059573f Disallow raw callcode (was deprecated in 0.4.12) 2018-06-19 19:31:07 +02:00
chriseth
4189b6b03d
Merge pull request #4303 from ethereum/refactorExtractedTests
Refactor syntax test infrastructure to prepare extracting semantics tests.
2018-06-19 16:42:11 +02:00
chriseth
c72e04c3a5
Merge pull request #4317 from nventuro/contributing-changelog
Add a changelog notice to the Contributing doc
2018-06-19 16:30:13 +02:00
Nicolás Venturo
1edd2fa165 Add a changelog notice to the contributing doc 2018-06-19 11:04:18 -03:00
Alex Beregszaszi
4247b0046e
Merge pull request #4311 from ethereum/fix_python_version_2
Use correct python version for the upgrade_bugs_by_version script
2018-06-18 15:37:07 +01:00
Leonardo Alt
e0d6050ca8 Use correct python version for the upgrade_bugs_by_version script 2018-06-18 13:55:01 +02:00
Daniel Kirchner
dbfee87860 Return parameters in function types may not be named. 2018-06-18 00:05:06 +02:00
Alex Beregszaszi
1692f78b3d
Merge pull request #4309 from ethereum/pythonVersion
Correctly choose python version for scripts requiring python2.
2018-06-17 22:31:55 +01:00
Timofey Solonin
6553b1114b #3961 - added a more detailed description to the calculation of offsets 2018-06-17 21:20:11 +03:00
Daniel Kirchner
09c3317bd8 Correctly choose python version for scripts requiring python2. 2018-06-15 16:29:42 +02:00
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