Commit Graph

8833 Commits

Author SHA1 Message Date
chriseth
153ae98878 Catch exception in Z3.
Note: This exception might not be the result of resource limitation,
it might also hint towards usage error.
2017-10-17 18:30:10 +01:00
Alex Beregszaszi
a71c6faf0f Remove duplicate >= in Z3 2017-10-17 18:30:07 +01:00
chriseth
114983e079 Missing forward declaration. 2017-10-17 18:30:04 +01:00
chriseth
1f97c1ea8f Rename variables in SMT checker. 2017-10-17 18:29:53 +01:00
chriseth
846b43479d Merge pull request #3088 from ethereum/newffbinary
Use new eth binary.
2017-10-17 11:42:36 +02:00
chriseth
8fbfd62d15 Merge pull request #3067 from ethereum/correct_byte_array_allocation
Allocate one byte per memory byte array element instead of 32.
2017-10-17 10:00:34 +02:00
chriseth
0d6e6cc8f2 Quiet wget. 2017-10-17 09:58:03 +02:00
chriseth
9cab34292c Use new eth binary. 2017-10-17 09:49:49 +02:00
chriseth
6001bd1406 Allocate one byte per memory byte array element instead of 32. 2017-10-16 22:29:31 +02:00
chriseth
7989fc4c35 Merge pull request #3077 from ethereum/optimze_pops
Assume peephole optimizer was successful if number of pops increased.
2017-10-16 22:11:45 +02:00
chriseth
f5e91e4a94 Throw on too many peephole optimizer iterations. 2017-10-16 18:45:21 +02:00
chriseth
18a72dbe46 Merge pull request #3086 from ethereum/allow_gas_in_view
Allow ``gas`` in view functions.
2017-10-16 18:16:40 +02:00
chriseth
c2fab07ccd Merge pull request #3087 from Casinelli/develop
Update abi-spec.rst
2017-10-16 14:29:40 +02:00
Giovanni Casinelli
550653300b Update abi-spec.rst 2017-10-16 19:48:04 +08:00
chriseth
082e7b6a9e Allow `gas` in view functions. 2017-10-16 13:28:44 +02:00
Alex Beregszaszi
dbc8655b36 Merge pull request #3083 from davidau/patch-1
Update miscellaneous.rst
2017-10-16 10:21:42 +01:00
Alex Beregszaszi
a74c9aefa7 Merge pull request #3079 from walter-weinmann/wwe
grammar.txt: spelling error uixed.
2017-10-15 16:25:04 +01:00
David Au
4047ed23fc Update miscellaneous.rst
Fix small typo
2017-10-15 11:04:00 -04:00
walter-weinmann
afef6faeb6 grammar.txt: spelling error uixed. 2017-10-14 15:48:14 +02:00
chriseth
7c94e5462a Assume peephole optimizer was successful if number of pops increased. 2017-10-13 19:00:56 +02:00
chriseth
d9bb4b44a4 Merge pull request #3075 from Digital-Contraptions-Imaginarium/develop
Added boost-static to Fedora dependencies
2017-10-13 17:04:16 +02:00
Gianfranco Cecconi
e19843d9aa Added boost-static to Fedora dependencies
This fixes potential _cmake_ stage of the build, as documented here https://github.com/ethereum/solidity/issues/3071#issuecomment-336477742 .
2017-10-13 16:01:59 +01:00
chriseth
5e2bcd0412 Merge pull request #3072 from ethereum/z3-cmake
Improve Z3 message in cmake
2017-10-13 15:47:53 +02:00
Alex Beregszaszi
372c6693ea Improve Z3 message in cmake 2017-10-13 13:33:18 +01:00
Alex Beregszaszi
81f9f86ce5 Add reference to EIP-55 in address literals (#3062) 2017-10-10 17:54:29 +02:00
Yoichi Hirai
c35496bf4a Merge pull request #3038 from ethereum/interface-external
Force interface functions as external (0.5.0)
2017-10-10 12:21:08 +02:00
Alex Beregszaszi
9ee619c9bb Snarks test using Byzantium precompiles
* Snark tests.

* Verifying routine.

* Example proof.

* Update precompiled positions to Byzantium ruleset.
2017-10-09 11:09:20 +02:00
chriseth
6f832cacde Merge pull request #3054 from limexp/fix/appveyor-pr-test-issue-2272
fix Appveyor PR test (issue #2272)
2017-10-09 11:05:20 +02:00
Boris Kostenko
d9004813d8 fix Appveyor PR test (issue #2272)
Resolve issue #2272. Skip bytecode compare if deploy key is not available. This is the case for PR builds.
2017-10-09 02:57:01 +03:00
Alex Beregszaszi
6c09e32c3f Merge pull request #3015 from Getline-Network/develop
Allow trailing slash in solc -allow-paths.
2017-10-06 14:23:22 +01:00
Sergiusz Bazanski
a458100175 Do not use remove_trailing_separator from Boost 1.58 as 1.56 is required 2017-10-06 13:55:18 +01:00
Sergiusz Bazanski
71a819654e Allow trailing slash in solc -allow-paths. 2017-10-06 13:55:18 +01:00
Alex Beregszaszi
c45e55675c Force interface functions as external (0.5.0) 2017-10-06 13:48:38 +01:00
chriseth
094012dbb0 Merge pull request #3036 from ethereum/constant-eval-refactor
Refactor error reporting in ConstantEvaluator
2017-10-06 13:50:15 +02:00
Yoichi Hirai
961f8746ff Merge pull request #3033 from ethereum/unused-variables-abstract
Ensure unused variables are not warned for in interfaces/abstract contracts
2017-10-06 12:10:45 +02:00
Alex Beregszaszi
475b818801 Remove obsolete createTypeError in AST 2017-10-05 20:18:46 +01:00
Alex Beregszaszi
ed62b2583c Use the proper error reporting interface in ConstantEvaluator 2017-10-05 20:17:54 +01:00
Alex Beregszaszi
c28ed2a619 Add tests for ConstantEvaluator 2017-10-05 20:08:12 +01:00
Alex Beregszaszi
b8be060b30 Ensure unused variables are not warned for in interfaces/abstract contracts 2017-10-05 19:31:53 +01:00
Alex Beregszaszi
b8e904616a Merge pull request #3014 from ethereum/require-storage-keyword
Require location keyword for local variables (0.5.0)
2017-10-05 19:29:43 +01:00
Alex Beregszaszi
81519845bc Require location keyword for local variables (0.5.0) 2017-10-05 19:02:30 +01:00
chriseth
d0fa56a217 Merge pull request #2981 from ethereum/no-address-overload
Do not add members of address to contracts in experimental 0.5.0
2017-10-05 16:12:21 +02:00
Alex Beregszaszi
8b26d65b62 Merge pull request #3020 from ethereum/smt-functioncall
SMT should not crash on special function calls (typecast)
2017-10-05 14:04:16 +01:00
Alex Beregszaszi
6ba0c2bba8 Merge pull request #2982 from ethereum/encoderFixes
ABI encoder fixes and test.
2017-10-05 11:59:42 +01:00
Alex Beregszaszi
09276cb9d3 Do not add members of address to contracts in experimental 0.5.0 2017-10-05 11:42:34 +01:00
Alex Beregszaszi
10529e994f SMT should not crash on typecast/structs 2017-10-05 11:41:11 +01:00
Alex Beregszaszi
880be25811 Merge pull request #3029 from ethereum/tanwisgas
Send all gas for 0.5.0.
2017-10-05 11:34:17 +01:00
chriseth
11c51de5b9 Merge pull request #2968 from ethereum/calldataencodedsize
Add some asserts about calldata encoded size.
2017-10-05 12:16:37 +02:00
chriseth
69ea5c43f3 Send all gas for 0.5.0. 2017-10-05 11:56:36 +02:00
chriseth
54cf15ac4f Merge pull request #2901 from ethereum/compiler-names
Provide optional list of contract names to CompilerStack.compile
2017-10-05 11:23:46 +02:00