Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adjust tests. | chriseth | 2018-06-25 | 24 | -170/+100 |
| | |||||
* | Forwarding length check. | chriseth | 2018-06-25 | 1 | -8/+4 |
| | |||||
* | Keep the 'if it not used as an address' helper message for all cases of ↵ | Alex Beregszaszi | 2018-06-25 | 4 | -4/+4 |
| | | | | address related warnings | ||||
* | Do not change SMT tests | Alex Beregszaszi | 2018-06-25 | 1 | -10/+10 |
| | |||||
* | Update tests for strict address literals | Jason Cobb | 2018-06-25 | 11 | -20/+19 |
| | |||||
* | Disallow the years unit denomination properly | Alex Beregszaszi | 2018-06-22 | 3 | -9/+2 |
| | |||||
* | Merge pull request #4306 from ethereum/remove_050_workaround_scoping | chriseth | 2018-06-21 | 26 | -102/+30 |
|\ | | | | | [BREAKING] C99 scoping rules by default (remove 050 workaround) | ||||
| * | C99 scoping rules by default | Leonardo Alt | 2018-06-20 | 26 | -102/+30 |
| | | |||||
* | | Merge pull request #4219 from ethereum/functionTypeNamedArguments | Alex Beregszaszi | 2018-06-21 | 3 | -7/+6 |
|\ \ | |/ |/| | Turn named return parameters in function types into an error. | ||||
| * | Return parameters in function types may not be named. | Daniel Kirchner | 2018-06-18 | 3 | -7/+6 |
| | | |||||
* | | Disallow raw callcode (was deprecated in 0.4.12) | Alex Beregszaszi | 2018-06-20 | 6 | -51/+4 |
| | | |||||
* | | Refactor syntax test infrastructure to prepare introducing semantics tests. | Daniel Kirchner | 2018-06-15 | 4 | -118/+201 |
|/ | |||||
* | Enforce disallowing empty structs | Christian Parpart | 2018-06-14 | 9 | -75/+23 |
| | | | | | | | | 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. | ||||
* | Properly pad data from calldata. | chriseth | 2018-06-13 | 2 | -8/+7 |
| | |||||
* | Disallow sha3/suicide aliases | Alex Beregszaszi | 2018-06-13 | 5 | -100/+15 |
| | |||||
* | Merge pull request #3627 from ethereum/additional-keywords | Alex Beregszaszi | 2018-06-12 | 1 | -2/+20 |
|\ | | | | | [BREAKING] Add new reserved keywords. | ||||
| * | Add new reserved keywords. | Daniel Kirchner | 2018-06-12 | 1 | -2/+20 |
| | | |||||
* | | Merge pull request #4277 from ethereum/signedRightShift | Daniel Kirchner | 2018-06-12 | 1 | -0/+33 |
|\ \ | | | | | | | Signed Right Shift: Additional test and more explanation. | ||||
| * | | Additional test and more explanation. | Daniel Kirchner | 2018-06-12 | 1 | -0/+33 |
| |/ | |||||
* | | Merge pull request #4273 from ethereum/soltestExceptions | Daniel Kirchner | 2018-06-12 | 1 | -3/+10 |
|\ \ | |/ |/| | Improve exception handling in soltest and isoltest. | ||||
| * | Improve exception handling in soltest and isoltest. | Daniel Kirchner | 2018-06-12 | 1 | -3/+10 |
| | | |||||
* | | Use proper SAR for signed right shifts and emulate on pre-constantinople. | Daniel Kirchner | 2018-06-12 | 1 | -57/+115 |
|/ | |||||
* | Merge pull request #4241 from ethereum/show-named-arg | Alex Beregszaszi | 2018-06-06 | 1 | -1/+1 |
|\ | | | | | Show named argument name in error | ||||
| * | Show named argument name in error | Alex Beregszaszi | 2018-06-06 | 1 | -1/+1 |
| | | |||||
* | | Extract test cases from ViewPureChecker | Alex Beregszaszi | 2018-06-06 | 23 | -359/+227 |
|/ | |||||
* | Merge pull request #4208 from ethereum/extract-name-and-type-tests | chriseth | 2018-06-05 | 551 | -7038/+4242 |
|\ | | | | | Extract name and type tests | ||||
| * | Move "create2_as_variable" back to non-isoltest tests. | chriseth | 2018-06-05 | 2 | -6/+15 |
| | | |||||
| * | Remove extracted tests from SolidityNameAndTypeResolution | Alex Beregszaszi | 2018-05-31 | 1 | -7051/+0 |
| | | |||||
| * | Split out SolidityNameAndTypeResolution tests into SyntaxTests | Alex Beregszaszi | 2018-05-31 | 551 | -0/+4244 |
| | | |||||
| * | Reformat test for extraction tool | Alex Beregszaszi | 2018-05-31 | 1 | -1/+3 |
| | | |||||
* | | Merge pull request #4213 from ethereum/fixpop | chriseth | 2018-06-04 | 1 | -0/+34 |
|\ \ | | | | | | | Fix bug related to byte array pop. | ||||
| * | | Add test for pop on the stack. | chriseth | 2018-05-31 | 1 | -0/+34 |
| |/ | |||||
* / | Remove sha3/suicide from assembly tests | Jason Cobb | 2018-06-04 | 2 | -24/+7 |
|/ | |||||
* | Merge pull request #4172 from ethereum/trailing_dot | chriseth | 2018-05-31 | 4 | -0/+38 |
|\ | | | | | [BREAKING] Disallow trailing dot not followed by number | ||||
| * | Disallow trailing dots that are not followed by a number | Leonardo Alt | 2018-05-30 | 4 | -0/+38 |
| | | |||||
* | | Merge pull request #4205 from ethereum/name-and-type-tests-split | chriseth | 2018-05-31 | 1 | -18/+78 |
|\ \ | | | | | | | Split up last NameAndTypeResolution test cases | ||||
| * | | Split up last NameAndTypeResolution test cases | Alex Beregszaszi | 2018-05-30 | 1 | -18/+78 |
| |/ | |||||
* | | Merge pull request #3743 from ethereum/popStorageArray | chriseth | 2018-05-31 | 30 | -0/+340 |
|\ \ | |/ |/| | pop() for storage arrays | ||||
| * | Fixes assembly bug and adds tests to cover it. | Erik Kundt | 2018-05-30 | 1 | -23/+45 |
| | | |||||
| * | Adds syntax tests, documentation and changelog entry. | Erik Kundt | 2018-05-30 | 29 | -0/+54 |
| | | | | | | | | Refines comment for array utility function. | ||||
| * | Improves assembly and adds more tests. | Erik Kundt | 2018-05-30 | 1 | -1/+124 |
| | | |||||
| * | Implements pop() for byte arrays. | Erik Kundt | 2018-05-29 | 1 | -6/+81 |
| | | |||||
| * | Implements pop() for value type arrays. | bitshift | 2018-05-29 | 1 | -0/+66 |
| | | |||||
* | | Merge pull request #4176 from sifmelcara/add/calldata-keyword | chriseth | 2018-05-30 | 16 | -4/+87 |
|\ \ | | | | | | | Add a new keyword, "calldata", to allow explicitly specify data location in external function's argument list | ||||
| * | | Allow using `calldata` keyword to specify data location | mingchuan | 2018-05-30 | 16 | -4/+87 |
| |/ | |||||
* | | Split up NameAndTypeResolution test cases | Alex Beregszaszi | 2018-05-30 | 1 | -154/+492 |
| | | |||||
* | | Extend function type comparison test | Alex Beregszaszi | 2018-05-30 | 1 | -0/+16 |
|/ | |||||
* | Simplify fromElementaryTypeName tests | Alex Beregszaszi | 2018-05-24 | 1 | -96/+6 |
| | |||||
* | Move fromElementaryTypeName tests to SolidityTypes | Alex Beregszaszi | 2018-05-24 | 2 | -109/+117 |
| | |||||
* | Merge pull request #4067 from ethereum/050 | chriseth | 2018-05-24 | 15 | -74/+172 |
|\ | | | | | [BREAKING] Version 0.5.0 | ||||
| * | Update control flow graph. | Daniel Kirchner | 2018-05-17 | 2 | -7/+19 |
| | | |||||
| * | Fix continue inside do-while. | Daniel Kirchner | 2018-05-17 | 1 | -0/+21 |
| | | |||||
| * | Adjust tests. | Daniel Kirchner | 2018-05-17 | 3 | -23/+23 |
| | | |||||
| * | Disallow conversions between bytesX and uintY of different size. | Daniel Kirchner | 2018-05-17 | 8 | -15/+56 |
| | | |||||
| * | Add syntax tests and Changelog entry | Leonardo Alt | 2018-05-17 | 1 | -0/+53 |
| | | |||||
| * | Bool variables should not allow arithmetic comparison | Leonardo Alt | 2018-05-17 | 1 | -29/+0 |
| | | |||||
* | | Move comments into test sources in SolidityNameAndTypeResolution | Alex Beregszaszi | 2018-05-23 | 1 | -43/+46 |
| | | |||||
* | | Move more parser tests to syntax tests | Alex Beregszaszi | 2018-05-22 | 55 | -642/+458 |
| | | |||||
* | | Tidy up tests to always have closing braces on the proper line | Alex Beregszaszi | 2018-05-16 | 4 | -38/+76 |
|/ | |||||
* | Split warning for multi arguments for hash functions | Alex Beregszaszi | 2018-05-16 | 7 | -18/+36 |
| | |||||
* | Add test for single non-bytes argument. | chriseth | 2018-05-16 | 1 | -0/+12 |
| | |||||
* | Adjust tests. | chriseth | 2018-05-16 | 11 | -10/+28 |
| | |||||
* | Add test for forwarding length check. | chriseth | 2018-05-16 | 1 | -0/+45 |
| | |||||
* | Merge pull request #4145 from ethereum/more-parser-test-moves | chriseth | 2018-05-16 | 12 | -132/+102 |
|\ | | | | | Move couple of parser tests to syntax tests. | ||||
| * | Move couple of parser tests to syntax tests. | Alex Beregszaszi | 2018-05-16 | 12 | -132/+102 |
| | | |||||
* | | Add tests for multi variable declaration statement. | chriseth | 2018-05-16 | 9 | -0/+107 |
|/ | |||||
* | Merge pull request #4139 from ethereum/abiEncodeIsPure | chriseth | 2018-05-15 | 1 | -0/+7 |
|\ | | | | | ABI encoding functions are pure and should be usable in constants. | ||||
| * | ABI encoding functions are pure and should be usable in constants. | chriseth | 2018-05-15 | 1 | -0/+7 |
| | | |||||
* | | Merge pull request #3947 from ethereum/smt_storage | chriseth | 2018-05-15 | 1 | -0/+76 |
|\ \ | |/ |/| | [SMTChecker] Support to integer and Bool storage vars | ||||
| * | Testing state vars that are declared after functions that use them | Leonardo Alt | 2018-05-15 | 1 | -4/+3 |
| | | |||||
| * | [SMTChecker] Declaring all state vars before any function is visited | Leonardo Alt | 2018-05-15 | 1 | -0/+11 |
| | | |||||
| * | [SMTChecker] Support to integer and Bool storage vars | Leonardo Alt | 2018-05-15 | 1 | -0/+66 |
| | | |||||
* | | Merge pull request #4062 from ethereum/revert-variable | chriseth | 2018-05-15 | 1 | -0/+40 |
|\ \ | |/ |/| | Fix revert with reason coming from a string variable | ||||
| * | Fix revert with reason coming from a string variable | Alex Beregszaszi | 2018-05-09 | 1 | -0/+40 |
| | | |||||
* | | Add test for default location. | Daniel Kirchner | 2018-05-15 | 1 | -0/+19 |
| | | |||||
* | | Add control flow analyzer and test for uninitialized storage returns. | Daniel Kirchner | 2018-05-15 | 22 | -0/+375 |
| | | |||||
* | | Remove "view"'s in end-to-end tests that will result in errors in 0.5.0. | Daniel Kirchner | 2018-05-11 | 1 | -7/+7 |
| | | |||||
* | | Replace constant with view in the tests. | Daniel Kirchner | 2018-05-09 | 13 | -107/+88 |
|/ | |||||
* | Merge pull request #4104 from ethereum/parserErrorSourceLocations | Alex Beregszaszi | 2018-05-09 | 31 | -57/+57 |
|\ | | | | | Proper source locations for parser errors. | ||||
| * | Update test expectations. | Daniel Kirchner | 2018-05-09 | 31 | -57/+57 |
| | | |||||
* | | Add more tests for right shifts. | Daniel Kirchner | 2018-05-09 | 1 | -0/+157 |
|/ | |||||
* | Merge pull request #4054 from ethereum/token-names | chriseth | 2018-05-09 | 19 | -32/+32 |
|\ | | | | | Improve parser error messages | ||||
| * | Update parser test expectations | Alex Beregszaszi | 2018-05-04 | 19 | -32/+32 |
| | | |||||
* | | Test with high path complexity. | chriseth | 2018-05-09 | 1 | -0/+40 |
| | | |||||
* | | New tests for wildcard assignments. | chriseth | 2018-05-08 | 5 | -0/+66 |
| | | |||||
* | | Remove deprecated syntax from a test | chriseth | 2018-05-08 | 1 | -1/+1 |
| | | |||||
* | | Extract tests. | chriseth | 2018-05-08 | 6 | -74/+47 |
| | | |||||
* | | Merge pull request #4063 from ethereum/emit-non-event | chriseth | 2018-05-04 | 1 | -0/+10 |
|\ \ | |/ |/| | Show proper error when trying to emit a non-event | ||||
| * | Show proper error when trying to emit a non-event | Alex Beregszaszi | 2018-05-04 | 1 | -0/+10 |
| | | |||||
* | | Simplify expectIdentifierToken by using expectToken | Alex Beregszaszi | 2018-05-04 | 9 | -10/+10 |
|/ | |||||
* | Merge pull request #4053 from ethereum/parser-syntax-tests | chriseth | 2018-05-03 | 30 | -319/+183 |
|\ | | | | | Move some parser tests to syntax tests | ||||
| * | Move some parser tests to syntax tests | Alex Beregszaszi | 2018-05-03 | 30 | -319/+183 |
| | | |||||
* | | Merge pull request #3797 from ethereum/shift-constantinople | chriseth | 2018-05-02 | 1 | -3/+2 |
|\ \ | | | | | | | Use native shift instructions on Constantinople | ||||
| * | | Update source location test expectations | Alex Beregszaszi | 2018-05-01 | 1 | -3/+2 |
| |/ | |||||
* | | Revert "BREAKING: Bool variables should not allow arithmetic comparison" | chriseth | 2018-05-02 | 2 | -53/+29 |
| | | |||||
* | | Merge pull request #4003 from ethereum/bool_vars_comparison | chriseth | 2018-05-02 | 2 | -29/+53 |
|\ \ | | | | | | | BREAKING: Bool variables should not allow arithmetic comparison | ||||
| * | | Add syntax tests and Changelog entry | Leonardo Alt | 2018-04-27 | 1 | -0/+53 |
| | | | |||||
| * | | Bool variables should not allow arithmetic comparison | Leonardo Alt | 2018-04-27 | 1 | -29/+0 |
| | | | |||||
* | | | Add virtual destructors on base classes. | Alexander Arlt | 2018-05-02 | 1 | -0/+1 |
| |/ |/| | |||||
* | | Add syntax tests for bytesM | Alex Beregszaszi | 2018-04-30 | 5 | -0/+62 |
|/ | |||||
* | Merge pull request #3981 from ethereum/years-suffix | chriseth | 2018-04-24 | 7 | -19/+35 |
|\ | | | | | The "year" denomination is deprecated | ||||
| * | The "year" denomination is deprecated | Alex Beregszaszi | 2018-04-23 | 3 | -0/+13 |
| | | |||||
| * | Add more denomination tests | Alex Beregszaszi | 2018-04-23 | 2 | -0/+11 |
| | | |||||
| * | Extract subdenomination tests | Alex Beregszaszi | 2018-04-23 | 3 | -19/+11 |
| | | |||||
* | | Merge pull request #3970 from elopio/test/docstring-tag-end | Alex Beregszaszi | 2018-04-24 | 2 | -0/+6 |
|\ \ | | | | | | | docstring: add missing space | ||||
| * | | docstring: add missing space | Leo Arias | 2018-04-24 | 2 | -0/+6 |
| | | | |||||
* | | | Merge pull request #3976 from ethereum/emptyTupleComponent | chriseth | 2018-04-23 | 7 | -0/+78 |
|\ \ \ | |_|/ |/| | | Empty tuple components should not be possible | ||||
| * | | Treats inline array as an error. | Erik Kundt | 2018-04-23 | 1 | -3/+1 |
| | | | |||||
| * | | Turns it into warning (error for 0.5.0) and adds Changelog entry. | Erik Kundt | 2018-04-23 | 8 | -15/+45 |
| | | | |||||
| * | | Prevents null type from being used in tuple. | Erik Kundt | 2018-04-22 | 5 | -0/+50 |
| |/ | |||||
* | | Turn deprecated warnings for sha3/suicide into errors (experimental 0.5.0) | Alex Beregszaszi | 2018-04-21 | 2 | -1/+14 |
| | | |||||
* | | Extract syntax tests | Alex Beregszaszi | 2018-04-21 | 2 | -26/+13 |
|/ | |||||
* | Update tight packing test cases | Alex Beregszaszi | 2018-04-20 | 1 | -3/+14 |
| | |||||
* | Make literals an error for tight packing (experimental 0.5.0) | Alex Beregszaszi | 2018-04-20 | 1 | -0/+26 |
| | |||||
* | Remove unnecessary masking of the result of known short instructions | Alex Beregszaszi | 2018-04-20 | 1 | -0/+20 |
| | |||||
* | Merge pull request #3941 from ethereum/bytes-contract | chriseth | 2018-04-19 | 1 | -0/+7 |
|\ | | | | | Disallow explicit conversion of bytesXX to contract | ||||
| * | Disallow explicit conversion of bytesXX to contract | Alex Beregszaszi | 2018-04-19 | 1 | -0/+7 |
| | | |||||
* | | Improve error message for failed member lookup. | chriseth | 2018-04-19 | 3 | -0/+24 |
| | | |||||
* | | Extract tests. | chriseth | 2018-04-19 | 2 | -15/+10 |
|/ | |||||
* | Warn about functions named "constructor". | chriseth | 2018-04-19 | 1 | -0/+5 |
| | |||||
* | Fix name clashes between constructor and fallback function. | chriseth | 2018-04-18 | 4 | -2/+14 |
| | |||||
* | Extract tests. | chriseth | 2018-04-18 | 26 | -182/+197 |
| | |||||
* | Merge pull request #3868 from ethereum/bytescleanup | chriseth | 2018-04-16 | 1 | -0/+23 |
|\ | | | | | Properly force-clean for shortening bytesXX conversions. | ||||
| * | Tests for bytes cleanup. | chriseth | 2018-04-16 | 1 | -0/+23 |
| | | |||||
* | | Merge pull request #3793 from ethereum/rationalNumberLimit | chriseth | 2018-04-16 | 9 | -0/+136 |
|\ \ | |/ |/| | Rational number limit | ||||
| * | Limits rational numbers to 4096 bits. | Erik Kundt | 2018-04-16 | 9 | -0/+136 |
| | | |||||
* | | Merge pull request #3875 from ethereum/constructorSelfRef | chriseth | 2018-04-14 | 3 | -0/+50 |
|\ \ | |/ |/| | Stricter check for "this" in constructor. | ||||
| * | Stricter check for member access to "this" in constructor. | Daniel Kirchner | 2018-04-13 | 3 | -0/+50 |
| | | |||||
* | | Adds unit test that covers long typeDescription and renames suite. | Erik Kundt | 2018-04-13 | 2 | -1/+29 |
| | | |||||
* | | Separates tests for legacy and compact output. | Erik Kundt | 2018-04-13 | 2 | -231/+332 |
| | | |||||
* | | Adds type expectations to legacy tests. | Erik Kundt | 2018-04-13 | 1 | -0/+7 |
| | | |||||
* | | Uses short string representation of TypePointer | Erik Kundt | 2018-04-13 | 1 | -0/+30 |
| | | |||||
* | | Merge pull request #3364 from ethereum/revertWithReason | chriseth | 2018-04-13 | 6 | -22/+260 |
|\ \ | | | | | | | Revert with reason | ||||
| * | | Remove dead code and clarify throw. | chriseth | 2018-04-13 | 1 | -1/+0 |
| | | | |||||
| * | | Update documentation and minor changes. | chriseth | 2018-04-12 | 1 | -1/+0 |
| | | | |||||
| * | | Use error signature for revert data. | chriseth | 2018-04-12 | 1 | -9/+14 |
| | | | |||||
| * | | Update expectation. | chriseth | 2018-04-12 | 1 | -2/+2 |
| | | | |||||
| * | | Adjust expectations in case of homestead VM. | chriseth | 2018-04-12 | 1 | -11/+16 |
| | | | |||||
| * | | Adjust tests. | chriseth | 2018-04-12 | 3 | -13/+19 |
| | | | |||||
| * | | Update source location tests. | chriseth | 2018-04-12 | 1 | -5/+16 |
| | | | |||||
| * | | Tests about error bubbling for create and transfer. | chriseth | 2018-04-12 | 1 | -2/+70 |
| | | | |||||
| * | | Bubble up error messages. | chriseth | 2018-04-12 | 1 | -0/+37 |
| | | | |||||
| * | | Allow error string for ``require``. | chriseth | 2018-04-12 | 1 | -0/+56 |
| | | | |||||
| * | | Tests for revert with reason string. | chriseth | 2018-04-12 | 2 | -1/+53 |
| |/ | |||||
* | | Merge pull request #2980 from ethereum/abi-api | chriseth | 2018-04-13 | 11 | -52/+505 |
|\ \ | | | | | | | Add abi.encode and abi.encodePacked | ||||
| * | | Allow struct encoding with new encoder. | chriseth | 2018-04-12 | 5 | -5/+161 |
| | | | |||||
| * | | Check partial function parameters if rest is arbitrary. | chriseth | 2018-04-12 | 1 | -0/+13 |
| | | | |||||
| * | | Tests for view and pure. | chriseth | 2018-04-12 | 2 | -0/+44 |
| | | | |||||
| * | | Tests. | chriseth | 2018-04-12 | 4 | -102/+218 |
| | | | |||||
| * | | Add abi.encode, abi.encodePacked, abi.encodeWithSelector and ↵ | Alex Beregszaszi | 2018-04-12 | 2 | -0/+124 |
| | | | | | | | | | | | | abi.encodeWithSignature. | ||||
* | | | Add additional test for ``var`` for storage variables. | Daniel Kirchner | 2018-04-12 | 3 | -7/+36 |
| | | | |||||
* | | | Fix internal compiler error when parsing ``var`` declaration without identifier. | Daniel Kirchner | 2018-04-12 | 3 | -22/+26 |
| |/ |/| | |||||
* | | Merge pull request #3848 from ethereum/constantDivisionByZero | chriseth | 2018-04-12 | 14 | -20/+98 |
|\ \ | |/ |/| | Error on invalid arithmetic with constant expressions. | ||||
| * | Add test to check ConstantEvaluator for pure non-rational functions. | Daniel Kirchner | 2018-04-12 | 1 | -0/+11 |
| | | |||||
| * | Add tests for literal operations as well. | Daniel Kirchner | 2018-04-12 | 4 | -0/+20 |
| | | |||||
| * | Error on invalid arithmetic with constant expressions. | Daniel Kirchner | 2018-04-12 | 9 | -20/+67 |
| | | |||||
* | | Properly cope with constructor headers. | chriseth | 2018-04-12 | 2 | -0/+15 |
| | | |||||
* | | Update expectations. | chriseth | 2018-04-12 | 10 | -17/+18 |
| | | |||||
* | | Extract modifier tests. | chriseth | 2018-04-12 | 15 | -158/+73 |
| | | |||||
* | | Warn if modifiers are applied to functions without implementation. | chriseth | 2018-04-12 | 2 | -0/+23 |
| | | |||||
* | | New tests for function state variables. | chriseth | 2018-04-12 | 6 | -0/+61 |
| | | |||||
* | | Add expectations. | chriseth | 2018-04-12 | 24 | -9/+53 |
| | | |||||
* | | Extract function type tests. | chriseth | 2018-04-12 | 26 | -313/+132 |
| | | |||||
* | | Merge pull request #3863 from ethereum/fixGasEstimation | chriseth | 2018-04-12 | 1 | -0/+13 |
|\ \ | |/ |/| | Correctly ignore costs of fallback for other functions. | ||||
| * | Correctly ignore costs of fallback for other functions. | chriseth | 2018-04-12 | 1 | -0/+13 |
| | | |||||
* | | Fix ConstantEvaluator to correctly handle single element tuples. | Daniel Kirchner | 2018-04-12 | 3 | -0/+35 |
| | | |||||
* | | Syntax Tests: extract array_length_* tests. | Daniel Kirchner | 2018-04-12 | 20 | -165/+117 |
|/ | |||||
* | Merge pull request #3580 from ethereum/asm-bitshift-optim | chriseth | 2018-04-11 | 2 | -0/+131 |
|\ | | | | | Add simplification rule for bitwise shifting | ||||
| * | Ignore shift warnings on constantinople tests | Alex Beregszaszi | 2018-04-10 | 1 | -0/+2 |
| | | |||||
| * | Add end to end tests for SHL/SHR/SAR instructions (constantinople only) | Alex Beregszaszi | 2018-04-10 | 1 | -0/+129 |
| | | |||||
* | | Fix line numbers for errors. | chriseth | 2018-04-11 | 2 | -512/+512 |
| | | |||||
* | | Merge pull request #3309 from ethereum/limit-errors | chriseth | 2018-04-11 | 2 | -0/+1048 |
|\ \ | | | | | | | Limit the number of errors output in a single run to 256 | ||||
| * | | Limit the number of errors output in a single run to 256 | Alex Beregszaszi | 2018-04-06 | 2 | -0/+1048 |
| |/ | |||||
* | | Fix bug in typechecking when comparing rational literals | Jason Cobb | 2018-04-11 | 1 | -0/+7 |
| | | |||||
* | | Add source locations to syntax test expectations. | Daniel Kirchner | 2018-04-10 | 53 | -89/+163 |
| | | |||||
* | | Error when using no parentheses in modifier-style constructor calls. | Daniel Kirchner | 2018-04-10 | 2 | -2/+5 |
| | | |||||
* | | Move constructor argument override check to TypeChecker and reuse ↵ | Daniel Kirchner | 2018-04-09 | 8 | -7/+19 |
| | | | | | | | | annotations in ContractCompiler. | ||||
* | | Allow duplicated constructor calls, if no arguments; support for multiple ↵ | Daniel Kirchner | 2018-04-09 | 8 | -5/+38 |
| | | | | | | | | | | | | inheritance; backwards compatibility. # tmp | ||||
* | | Error on duplicated super constructor calls | Federico Bond | 2018-04-09 | 3 | -4/+12 |
|/ | |||||
* | Allow ``memory`` suffix for internal elementary type parsing. | chriseth | 2018-04-05 | 1 | -0/+1 |
| | |||||
* | Merge pull request #3824 from ethereum/baseArgumentsEmptyParenthesis | Daniel Kirchner | 2018-04-05 | 3 | -1/+16 |
|\ | | | | | Error when using empty parentheses for base class constructors that r… | ||||
| * | Error when using empty parenthesis for base class constructors that require ↵ | Daniel Kirchner | 2018-04-05 | 3 | -1/+16 |
| | | | | | | | | arguments. | ||||
* | | Merge pull request #3745 from ethereum/fixRecursion | Alex Beregszaszi | 2018-04-05 | 14 | -125/+115 |
|\ \ | | | | | | | Fix invalid recursion errors for structs | ||||
| * | | Extract constant cycle tests. | chriseth | 2018-04-03 | 5 | -32/+32 |
| | | | |||||
| * | | Fix detection of recursive structs. | chriseth | 2018-04-03 | 2 | -0/+30 |
| | | | |||||
| * | | Extract recursive struct tests. | chriseth | 2018-04-03 | 8 | -93/+53 |
| | | | |||||
* | | | Merge pull request #3822 from ethereum/swap-comparison | chriseth | 2018-04-05 | 1 | -0/+44 |
|\ \ \ | | | | | | | | | Replace comparison operators with opposites if preceded by SWAP1 | ||||
| * | | | Add end-to-end test for SwapComparison and CommutativeSwap peephole optimisers | Alex Beregszaszi | 2018-04-05 | 1 | -0/+44 |
| | | | | |||||
* | | | | More specific push implementation. | chriseth | 2018-04-04 | 2 | -2/+67 |
|/ / / | |||||
* | | | Merge pull request #3808 from ethereum/parserTests | chriseth | 2018-04-04 | 7 | -119/+74 |
|\ \ \ | | | | | | | | | SyntaxTests: extend syntax tests and isoltest to support parser error… | ||||
| * | | | Adds parsing sub-directory in syntaxTests and moves two example tests from ↵ | Daniel Kirchner | 2018-04-04 | 3 | -20/+9 |
| | | | | | | | | | | | | | | | | SolidityParser.cpp to test contracts. | ||||
| * | | | SyntaxTests: extend syntax tests and isoltest to support parser errors and ↵ | Daniel Kirchner | 2018-04-04 | 4 | -99/+65 |
| | | | | | | | | | | | | | | | | compiler exceptions. | ||||
* | | | | Create empty dynamic memory arrays more efficiently. | chriseth | 2018-04-04 | 4 | -8/+66 |
| |_|/ |/| | | |||||
* | | | Remove redundant test and enforce success without warnings. | Daniel Kirchner | 2018-04-04 | 1 | -7/+1 |
| | | | |||||
* | | | Constructors are defined using the ``constructor`` keyword. | Daniel Kirchner | 2018-04-04 | 3 | -5/+40 |
|/ / | |||||
* | | Merge pull request #3693 from ethereum/optimizeMLOAD | Alex Beregszaszi | 2018-04-03 | 2 | -8/+81 |
|\ \ | |/ |/| | Optimize across MLOAD if MSIZE is not used. | ||||
| * | Add memory array init test. | chriseth | 2018-04-03 | 1 | -0/+26 |
| | | |||||
| * | Test number of sstore operations. | chriseth | 2018-04-03 | 1 | -7/+33 |
| | | |||||
| * | Optimize across MLOAD if MSIZE is not used. | chriseth | 2018-04-03 | 1 | -1/+22 |
| | | |||||
* | | Merge pull request #3699 from ethereum/interfaceExternalVisibility | Alex Beregszaszi | 2018-04-03 | 8 | -48/+39 |
|\ \ | | | | | | | Defaults to external visibility for interfaces. | ||||
| * | | Makes visibility warning more concise. | Erik Kundt | 2018-04-03 | 1 | -1/+1 |
| | | | |||||
| * | | Moves all interface function visibility related tests. | Erik Kundt | 2018-04-03 | 6 | -48/+26 |
| | | | |||||
| * | | Defaults to external visibility for interfaces. | bitshift | 2018-04-03 | 2 | -0/+13 |
| | | | |||||
* | | | Fix: Treat empty base constructor argument list as not provided. | chriseth | 2018-04-03 | 2 | -0/+16 |
| |/ |/| | |||||
* | | Set default fixed point decimal places to 18 | Jason Cobb | 2018-03-31 | 1 | -5/+5 |
| | | |||||
* | | Update tests for empty structs | Alex Beregszaszi | 2018-03-31 | 2 | -0/+2 |
| | | |||||
* | | Merge pull request #3790 from ethereum/empty-structs | chriseth | 2018-03-30 | 3 | -1/+12 |
|\ \ | | | | | | | Disallow empty structs | ||||
| * | | Still allow empty structs for non-0.5.0 mode | Alex Beregszaszi | 2018-03-27 | 2 | -1/+7 |
| | | | |||||
| * | | Disallow empty structs | Alex Beregszaszi | 2018-03-27 | 2 | -1/+6 |
| | | | |||||
* | | | Prevent encoding of weird types and support packed encoding of external ↵ | chriseth | 2018-03-29 | 6 | -0/+87 |
| |/ |/| | | | | | function types. | ||||
* | | Merge pull request #3775 from federicobond/improve-error-fractional-shift | chriseth | 2018-03-28 | 1 | -0/+10 |
|\ \ | |/ |/| | Improve error message when attempting to shift by fractional number | ||||
| * | Improve error message when trying to shift by fractional number | Federico Bond | 2018-03-22 | 1 | -0/+10 |
| | | |||||
* | | Merge pull request #3681 from ethereum/interface-external | chriseth | 2018-03-27 | 1 | -0/+14 |
|\ \ | | | | | | | Allow overriding external functions in interfaces with public in a child | ||||
| * | | Allow overriding external functions in interfaces with public in an ↵ | Alex Beregszaszi | 2018-03-26 | 1 | -0/+14 |
| |/ | | | | | | | implementing contract | ||||
* | | Merge pull request #3686 from ethereum/doNotIncludeItnernal | chriseth | 2018-03-27 | 1 | -0/+60 |
|\ \ | | | | | | | Do not include internal functions only used by constructor | ||||
| * | | Test that internal functions only used by constructor are not included in ↵ | chriseth | 2018-03-27 | 1 | -0/+60 |
| |/ | | | | | | | runtime context. | ||||
* | | Merge pull request #3748 from ethereum/extractScopingTests | chriseth | 2018-03-27 | 17 | -223/+130 |
|\ \ | | | | | | | Extract scoping tests | ||||
| * | | Extract scoping tests. | chriseth | 2018-03-16 | 17 | -223/+130 |
| | | | |||||
* | | | Changes deprecation and adjusts tests. | bitshift | 2018-03-27 | 3 | -39/+52 |
| | | | |||||
* | | | Adds unit tests for moved function. | bitshift | 2018-03-27 | 4 | -5/+49 |
| |/ |/| | |||||
* | | Tests for returning dynamic data. | chriseth | 2018-03-21 | 2 | -6/+104 |
| | | |||||
* | | Decode dynamic data. | chriseth | 2018-03-21 | 1 | -0/+5 |
| | | |||||
* | | Only consider files ending with .sol and not starting with ~ in syntax tests. | Daniel Kirchner | 2018-03-16 | 2 | -1/+10 |
|/ | |||||
* | Only colour error type, not error message in isoltest. | Daniel Kirchner | 2018-03-15 | 1 | -10/+16 |
| | |||||
* | Add formatted printing to SyntaxTest and expand its public interface. | Daniel Kirchner | 2018-03-15 | 3 | -16/+123 |
| | |||||
* | Merge branch 'develop' into externalFunctionsInLibraries | chriseth | 2018-03-15 | 18 | -19/+112 |
|\ | |||||
| * | Merge pull request #3734 from ethereum/soltestOptions | chriseth | 2018-03-15 | 15 | -18/+18 |
| |\ | | | | | | | test: Rename test/TestHelper.* to test/Options.* and add Options::val… | ||||
| | * | test: Rename test/TestHelper.* to test/Options.* and add Options::validate(). | Daniel Kirchner | 2018-03-14 | 15 | -18/+18 |
| | | | |||||
| * | | Merge pull request #3725 from ethereum/blockhashNoCall | chriseth | 2018-03-15 | 1 | -0/+17 |
| |\ \ | | | | | | | | | Allow ``block.blockhash`` without it being called. | ||||
| | * | | Allow ``block.blockhash`` without being called. | chriseth | 2018-03-14 | 1 | -0/+17 |
| | | | | |||||
| * | | | Merge pull request #3722 from ethereum/fixMods | Alex Beregszaszi | 2018-03-15 | 2 | -0/+66 |
| |\ \ \ | | | | | | | | | | | Fix modifier lookup in libraries. | ||||
| | * | | | Tests. | chriseth | 2018-03-13 | 1 | -0/+52 |
| | | | | | |||||
| | * | | | Changelog entry. | chriseth | 2018-03-13 | 1 | -0/+14 |
| | |/ / | |||||
| * | / | DocStringParser: Add Changelog entry and test case for empty descriptions. | Daniel Kirchner | 2018-03-14 | 1 | -0/+6 |
| | |/ | |/| | |||||
| * | | Store filenames in static variable to guarantee sufficient lifetime. | Daniel Kirchner | 2018-03-14 | 1 | -1/+5 |
| |/ | |||||
* / | Make external library functions accessible. | chriseth | 2018-03-14 | 2 | -0/+29 |
|/ | |||||
* | Minor adjustments. | Daniel Kirchner | 2018-03-13 | 1 | -4/+4 |
| | |||||
* | Refactoring; fuse SyntaxTestParser and SyntaxTester to SyntaxTest. | Daniel Kirchner | 2018-03-13 | 5 | -307/+240 |
| | |||||
* | Workaround for boost < 1.59.0 | Daniel Kirchner | 2018-03-13 | 1 | -0/+13 |
| | |||||
* | Infrastructure for extracting syntax tests in separate test files. | Daniel Kirchner | 2018-03-13 | 9 | -52/+367 |
| | |||||
* | [SMTChecker_Bool] Fix PR comments; Add support to gt, ge, lt, le. and tests. | Leonardo Alt | 2018-03-13 | 1 | -0/+40 |
| | |||||
* | [SMTChecker] Support to Bool variables | Leonardo Alt | 2018-03-13 | 1 | -0/+98 |
| | |||||
* | Support constantinople in evm-version | Alex Beregszaszi | 2018-03-13 | 1 | -0/+2 |
| | |||||
* | Fix test. | chriseth | 2018-03-07 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3611 from ethereum/warn-using-address-overload | Alex Beregszaszi | 2018-03-07 | 2 | -11/+170 |
|\ | | | | | Warn if using address overloads on contracts | ||||
| * | Warn if using address overloads on contracts | Alex Beregszaszi | 2018-03-05 | 2 | -11/+170 |
| | | |||||
* | | Tests for warnings/errors for loose assembly. | chriseth | 2018-03-07 | 1 | -4/+192 |
| | | |||||
* | | Merge pull request #2966 from ethereum/useStaticCall | Alex Beregszaszi | 2018-03-07 | 1 | -4/+56 |
|\ \ | | | | | | | Use STATICCALL for pure function calls. | ||||
| * | | Test for using staticcall for view and pure functions. | chriseth | 2018-03-06 | 1 | -4/+56 |
| | | | |||||
* | | | Merge pull request #3549 from ethereum/fixmultidim | Alex Beregszaszi | 2018-03-06 | 1 | -0/+56 |
|\ \ \ | |/ / |/| | | Properly detect which array and struct types are unsupported by the old ABI encoder. |