Commit Graph

13180 Commits

Author SHA1 Message Date
chriseth
58a3f3cf68
Merge pull request #6248 from ethereum/shiftopt-fix-overflow
Fixes u256 overflow in logical shift optimization rule and adds tests.
2019-03-13 12:02:33 +01:00
Chris Ward
920f752fec Add mention of docs testing to contribution docs 2019-03-13 12:01:52 +01:00
chriseth
571f400a3e Complete the GT/LT rules. 2019-03-13 12:01:23 +01:00
chriseth
9ccd5dfec3
Merge pull request #6083 from ethereum/docs-shift-clarify
[DOCS] Clarify shift operator
2019-03-13 11:32:58 +01:00
chriseth
d9778158cc
Merge pull request #6184 from ethereum/soltest-extract-ecrecover
[soltest] Extract ecrecover tests
2019-03-13 11:31:52 +01:00
Bhargava Shastry
515fa872c8 Fixes u256 overflow in logical shift optimization rule and adds tests. 2019-03-13 11:19:20 +01:00
Chris Ward
f0f9f5e2f3 Clarify shift operator
Further clarify shift operators

Return infinity

Changes from review

Update docs/types/value-types.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Formatting fix
2019-03-13 10:57:17 +01:00
Erik Kundt
39c45ac8ed Moves ecrecover tests to isoltest. 2019-03-13 10:53:10 +01:00
chriseth
2f37cd0986
Merge pull request #6250 from ethereum/cleanupChangelog
Changelog cleanup.
2019-03-12 22:03:08 +01:00
chriseth
18c5309524
Merge pull request #6203 from ethereum/updateOptimiserReadme
Update optimiser readme.
2019-03-12 22:02:53 +01:00
chriseth
62d8080a19 Update optimiser readme. 2019-03-12 22:02:09 +01:00
chriseth
243096f6b5 Changelog cleanup. 2019-03-12 17:12:12 +01:00
Christian Parpart
cfefa2c1d1
Merge pull request #6136 from ethereum/yul-break-continue
[Yul] introduce break/continue keywords.
2019-03-11 20:38:57 +01:00
chriseth
8445449c7f
Merge pull request #6187 from ethereum/filter-library-abi-3409
Exclude internal functions in library ABIs
2019-03-11 17:39:51 +01:00
chriseth
6683ec90ca
Merge pull request #6209 from ethereum/dynamicCalldataStructs
Allow dynamically encoded calldata structs with ABIEncoderV2.
2019-03-11 17:05:34 +01:00
chriseth
e2776329ed
Merge pull request #6240 from ethereum/fix-error
Fix missing trailing dot in error message
2019-03-11 17:03:55 +01:00
Daniel Kirchner
66fc7ffab2 Allow dynamically encoded calldata structs with ABIEncoderV2. 2019-03-11 16:40:13 +01:00
Mathias Baumann
fbbd03dbd7 Exclude internal functions in library ABIs 2019-03-11 16:33:44 +01:00
Mathias Baumann
e411a502fd Fix missing trailing dot in error message 2019-03-11 16:15:18 +01:00
Alex Beregszaszi
189983a1b8
Merge pull request #6238 from ethereum/reset-version
Reset version to 0.5.6.
2019-03-11 15:56:00 +01:00
Daniel Kirchner
f805939429
Merge pull request #6221 from ethereum/soltest-signature-struct-arrays
[soltest] Allow struct array in function signatures
2019-03-11 15:32:42 +01:00
Alex Beregszaszi
859f905b2e
Merge pull request #6237 from ethereum/smt_merkle_proof_test
[SMTChecker] Add MerkleProof test that used to crash
2019-03-11 15:17:46 +01:00
Christian Parpart
05e2d362c8 [Yul] Adds break/continue statements and some general tests for for-loop syntax. 2019-03-11 15:05:05 +01:00
chriseth
0f98f2a15e
Merge pull request #6236 from ethereum/better-errors
isImplicitlyConvertibleTo(): Add better error messages
2019-03-11 14:58:45 +01:00
chriseth
ba56c307bf Reset version to 0.5.6. 2019-03-11 14:48:27 +01:00
Erik Kundt
cd9c0914cb Allows struct array in soltest function. 2019-03-11 14:36:16 +01:00
Alex Beregszaszi
6718b62f94
Merge pull request #6233 from ethereum/metadata-tests
Improve metadata tests (add CBOR parser)
2019-03-11 14:35:04 +01:00
Leonardo Alt
365b59b1f9 Add MerkleProof test that used to crash 2019-03-11 14:29:47 +01:00
Mathias Baumann
d70cb375cf isImplicitlyConvertibleTo(): Add better error messages 2019-03-11 13:38:02 +01:00
Mathias Baumann
dce8469534 Fix wrong error concatenation 2019-03-11 13:36:40 +01:00
chriseth
4704ef843d
Merge pull request #6235 from ethereum/smt_large_rational
[SMTChecker] Shortcut RationalNumber expressions
2019-03-11 13:09:21 +01:00
chriseth
13bb9b633a
Merge pull request #6200 from ethereum/docs-high-s
[DOCS] Add mention of high s with ecrecover
2019-03-11 13:06:22 +01:00
Alex Beregszaszi
67c15a208d Use CBOR parser in metadata tests 2019-03-11 13:01:37 +01:00
Alex Beregszaszi
61220eb3e0 Add tiny CBOR parser 2019-03-11 13:01:37 +01:00
Leonardo Alt
a8209e9899 [SMTChecker] Shortcut RationalNumber expressions 2019-03-11 12:53:49 +01:00
Alex Beregszaszi
12f34c8229 Add onlyMetadata helper in test/Metadata 2019-03-09 12:34:26 +01:00
Chris Ward
f11f6ab9d9 Add mention of high s
Mention OpenZeppelin library

Change wording
2019-03-08 15:11:27 +01:00
chriseth
4d8c57006b
Merge pull request #6195 from ethereum/extractYulUtils
[REF] Extract utility functions from ABI encoder.
2019-03-08 00:51:58 +01:00
chriseth
5c4a3aa270
Merge pull request #6213 from ethereum/iszeroJump
Peephole optimizer for "iszero iszero <tag> jumpi".
2019-03-07 18:16:29 +01:00
chriseth
e466935e2c
Merge pull request #6219 from ethereum/refactorStandardCompiler
Refactor StandardCompiler to split into input parsing/validating and compilation steps.
2019-03-07 18:12:19 +01:00
chriseth
8b20ecb558 Refactor StandardCompiler to split into input parsing/validating and compilation steps. 2019-03-07 17:49:55 +01:00
chriseth
0eb799424d
Merge pull request #6183 from ethereum/soltest-alignment
[soltest] Introduce explicit alignment
2019-03-07 17:43:59 +01:00
chriseth
e0d1b2f5b3 Peephole optimizer for "iszero iszero <tag> jumpi". 2019-03-07 15:52:02 +01:00
chriseth
c753b6bce5
Merge pull request #6198 from ethereum/smt_enum
[SMTChecker] Support enums without typecast
2019-03-07 15:36:05 +01:00
Leonardo Alt
02d0e609b9 [SMTChecker] Support enums 2019-03-07 15:15:12 +01:00
chriseth
7241aa755c
Merge pull request #6186 from ethereum/runExternalTestsWithOptimizer
Run external tests with and without optimizer.
2019-03-07 12:57:03 +01:00
chriseth
8d9be8bb6d
Merge pull request #6211 from ethereum/fixFormatting
Fix formatting and compilation error.
2019-03-06 22:55:02 +01:00
chriseth
f0a3a56ebc
Merge pull request #6208 from ethereum/simplifyConstantSwitchFirst
Simplify constant switch first
2019-03-06 22:02:55 +01:00
chriseth
553f578d03 Fix compilation error. 2019-03-06 22:01:19 +01:00
chriseth
791fde953d First simplify switch with known constant expression. 2019-03-06 21:32:55 +01:00