Commit Graph

10622 Commits

Author SHA1 Message Date
chriseth
85b9d3927a
Merge pull request #4224 from ethereum/revert_wrong_calldata
[BREAKING] Revert if calldata has wrong size
2018-07-02 12:55:22 +02:00
chriseth
a5608b31a7
Merge pull request #4324 from ethereum/update-aleth
Update aleth for testing
2018-07-02 12:43:45 +02:00
Erik Kundt
1b008c62a1 Adds review suggestions. 2018-07-02 11:44:16 +02:00
Khan M Rashedun-Naby
0e5b97446a As SWITCH..CASE is better than ELSE..IF 2018-07-02 15:42:30 +06:00
Alex Beregszaszi
d072cc6236 Update aleth for testing 2018-07-02 11:34:52 +02:00
Dimitry
7b7df90e76 fix default difficulty to comply with YP rules
fix soltest to work with the recent aleth --test
2018-06-30 13:07:30 +03:00
Alex Beregszaszi
328554a4f9 Add new libsolc entry points (solidity_license/version/compile) 2018-06-29 19:30:37 +02:00
Alex Beregszaszi
7d525620d8 Rename JSONCompiler test suite to LibSolc 2018-06-29 17:47:36 +02:00
Erik Kundt
f3ca0685fe Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
chriseth
8747079746 Fix tests. 2018-06-29 16:24:14 +02:00
chriseth
f69e24c85e Disallow constructor arguments given multiple times. 2018-06-29 16:11:21 +02:00
chriseth
e289c36158
Merge pull request #4354 from ethereum/constructorSyntaxTests
Updates tests to new constructor syntax
2018-06-29 15:45:26 +02:00
chriseth
975dddf1b1
Merge pull request #4385 from ethereum/circle2.0
Update to CircleCI 2.0
2018-06-29 13:28:02 +02:00
Erik Kundt
e6d250772d Updates invalid syntax test. 2018-06-29 13:22:59 +02:00
Erik Kundt
f06ab89953 Moves Circle config to conform version 2.0. 2018-06-29 12:31:18 +02:00
chriseth
d469df45d8
Merge pull request #4352 from D-Nice/develop
Fixes storage ref var typo error from 'prefix' to 'suffix'
2018-06-29 12:27:29 +02:00
Mike
2a9d54af58 Clarify scope of 'using A for B' (#4252)
* Issue 1213: Clarify scope of 'using A for B'

* Typo fix.

* Further restructuring and clarification of contracts doc.

* Revert closer to original wording and formatting.
2018-06-29 12:21:39 +02:00
Erik Kundt
1346b4407f Updates syntax tests to new constructor syntax. 2018-06-29 11:27:01 +02:00
Erik Kundt
12c4eb7697 Updates compiled unit tests to new constructor syntax. 2018-06-29 11:27:01 +02:00
chriseth
c9cab80389
Merge pull request #4375 from ethereum/fallbackExternalBackwardsCompatible
Fallback function has to be external: backwards-compatible changes.
2018-06-29 09:19:24 +02:00
chriseth
eeef82b2d7 Fallback function has to be external: backwards-compatible changes. 2018-06-29 00:23:52 +02:00
chriseth
29f6ee36d0
Merge pull request #4368 from wpank/develop
Added static CSS to Sphinx in order to fix bug with RTD theme table wrapping
2018-06-28 23:59:21 +02:00
chriseth
f1bfafedff
Merge pull request #4377 from ajsantander/manjaro-linux
Support Manjaro Linux distributions in dependencies script
2018-06-28 23:45:08 +02:00
ajs
fee4932906 Support Manjaro Linux distributions in dependencies script 2018-06-28 18:13:15 -03:00
D-Nice
3cad417710 Add passing test case 2018-06-28 16:45:53 -04:00
Alex Beregszaszi
4268062985
Merge pull request #4365 from ethereum/type-identifier-test
Some more type identifier tests
2018-06-28 16:26:25 +02:00
D-Nice
d62476fb1f
Adds storage_reference.sol syntax test 2018-06-27 19:42:46 -04:00
wpank
3cc780de33 Added static CSS to Sphinx in order to fix bug with RTD theme table wrapping 2018-06-27 12:01:48 -07:00
Alex Beregszaszi
775590b0f2 Add more FixedPoint type tests 2018-06-27 19:05:00 +02:00
Alex Beregszaszi
76465f2352 Add one more type identifier escaping test 2018-06-27 18:38:42 +02:00
chriseth
4a842ecc82
Merge pull request #4097 from ethereum/noPackedExceptForPacked
[BREAKING] call only takes a single argument and does not pad
2018-06-27 18:29:01 +02:00
Alex Beregszaszi
ce4b233f8f
Merge pull request #4360 from mattaereal/doc_patches-1
Docs: Adding AFL's alternative configuration with clang.
2018-06-27 17:56:51 +02:00
Matías Aereal Aeón
638ac15956 Adding AFL's alternative configuration with clang. 2018-06-27 11:02:27 -03:00
chriseth
92cb4acd8a Also mention regular abi.encode in error message. 2018-06-27 15:00:34 +02:00
chriseth
b67dfa154c
Merge pull request #4269 from ethereum/require-emit
[BREAKING] Remove non-0.5.0 warning for emit keyword (make it mandatory)
2018-06-27 12:04:49 +02:00
chriseth
4e8883b63d Add emit keyword to tests. 2018-06-27 10:49:16 +02:00
chriseth
b55d9aacff Add emit keyword to documentation. 2018-06-27 10:38:59 +02:00
chriseth
01fd5a8d51 Add emit keyword to compilation tests. 2018-06-27 10:37:46 +02:00
chriseth
b9d035264d Add some more emits. 2018-06-26 20:09:54 +02:00
Alex Beregszaszi
80b7d36187 Remove non-0.5.0 warning for emit keyword (make it mandatory) 2018-06-26 20:00:54 +02:00
chriseth
503eb8caa5
Merge pull request #4342 from rnaby/l/a/Types
RationalNumberType::isImplicitlyConvertibleTo Refactor
2018-06-26 17:54:09 +02:00
chriseth
4bb9fced1e
Merge pull request #4332 from ethereum/dockerfile-small-improvements
Dockerfile small improvements
2018-06-26 12:26:19 +02:00
chriseth
e6595d8806
Merge pull request #4318 from ethereum/yul-internal
Rename some internal constructs from Julia/Iulia to Yul
2018-06-26 12:24:07 +02:00
Christian Parpart
b9f2a7804c adds .dockerignore file 2018-06-26 12:21:04 +02:00
Christian Parpart
37b5669ec3 make build concurrency build-time customizable 2018-06-26 12:13:03 +02:00
chriseth
5939ef9922
Merge pull request #4353 from ethereum/compilerstack-api
Document the internal API of CompilerStack
2018-06-26 12:13:01 +02:00
Christian Parpart
7546100776 Dockerfile: improves docker image size and small others
This greatly improves size of the final docker image with the help of
multi-stage docker builds.

With that change, we can also make the build stage readable/maintainable
again by splitting up into multiple RUN statements as well as not
needing to clean-up temporary objects.

The dependencies have been put on top of the primary COPY statement
in order to not rebuild the dependencies each time one wants to rebuild
the docker image (for example due to code changes).

The solc compilation itself is now parallelized to the CPU core count
to speed up those builds that have more cores available on their docker
build system.

Future Notes:
-------------

We could further improve the Dockerfile by explicitely adding the
directories this docker build is interested in (such as solc source code
exclusively).

Or one may want to also use the build step for automated testing (CI)
by enforcing soltest and cmdlineTests.sh right before finalizing the image.
2018-06-26 12:12:35 +02:00
chriseth
d1acd6ba15
Merge pull request #4355 from ethereum/docs-alloc
Clarify that using msize without updating the free-memory-pointer is a bad idea
2018-06-26 12:12:01 +02:00
chriseth
24f124f849
Merge pull request #4331 from ethereum/v050-var-keyword-preparations-soltests
Adapt soltest suite to use explicit types over "var" keyword
2018-06-26 12:07:19 +02:00
Christian Parpart
e38139c800 test: Adapted to the change of the var-keyword elimination. 2018-06-26 10:40:26 +02:00