aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Changelog entry and tests.chriseth2018-11-262-0/+11
|
* Tests.Daniel Kirchner2018-11-269-0/+166
|
* Merge pull request #5486 from ethereum/allowExternalPublicOverridechriseth2018-11-264-1/+32
|\ | | | | Allow external public override
| * Changelog entry and tests.chriseth2018-11-264-1/+32
| |
* | Merge pull request #5494 from ethereum/scanner-error-handlingchriseth2018-11-268-11/+16
|\ \ | | | | | | Improved Scanner error diagnostics.
| * | Adapting tests to Scanner's lexical error diagnostics change.Christian Parpart2018-11-248-30/+32
| | |
| * | adapt to latest code changesLazaridis2018-11-248-23/+26
| | |
* | | Merge pull request #5497 from ethereum/langutil-SourceReferenceFormatterchriseth2018-11-266-7/+7
|\ \ \ | |_|/ |/| | Moving SourceReferenceFormatter into langutil namespace.
| * | Moving SourceReferenceFormatter into langutil namespace.Christian Parpart2018-11-246-7/+7
| |/
* / decouple TestCase class from test/libsolidityLazaridis2018-11-256-5/+5
|/
* Merge pull request #5491 from ethereum/libyul-as-librarychriseth2018-11-249-80/+64
|\ | | | | Libyul as static library (version 3 ;( )
| * Isolating libyul library API into its own namespace `yul`.Christian Parpart2018-11-238-55/+42
| |
| * CMake: Isolate libyul into its own static libraryChristian Parpart2018-11-231-1/+1
| |
| * Reorder some include files and group <libyul/>'s together (as much as possible)Christian Parpart2018-11-233-9/+6
| |
| * Rewrite header paths to adapt to recent `git mv` of libsolidity/inlineasm to ↵Christian Parpart2018-11-236-16/+16
| | | | | | | | libyul
* | Add SMTChecker tests for standard JSONLeonardo Alt2018-11-2311-2/+255
|/
* Merge pull request #5451 from ethereum/bound_function_testschriseth2018-11-234-0/+43
|\ | | | | Add assert and tests for bound functions
| * Add assert and tests for bound functionsLeonardo Alt2018-11-224-0/+43
| |
* | Organize smt tests in subdirectoriesLeonardo Alt2018-11-2246-0/+0
| |
* | Remove pragma ABIEncoderV2 from smt testLeonardo Alt2018-11-221-6/+8
| |
* | Drop numbering in front of the SMTChecker testsAlex Beregszaszi2018-11-2246-0/+0
| |
* | Move most of SMTChecker tests from C++ to isoltestAlex Beregszaszi2018-11-2247-593/+489
|/ | | | But keep divison in C++ because results differ between different solvers
* Merge pull request #5427 from ethereum/liblangutilchriseth2018-11-2237-56/+86
|\ | | | | Factor out langutil, a new static library that is shared between libyul/libsolidity
| * Introduce namespace `langutil` in liblangutil directory.Christian Parpart2018-11-2227-25/+52
| | | | | | | | | | | | | | Also: - Use {}-style list initialisation for SourceLocation construction - Introduce new system includes - Changes the API of the Scanner to take source as value (with move) as opposed to as a reference
| * Isolating files shared between Yul- and Solidity language frontend.Christian Parpart2018-11-2225-35/+38
| |
* | Fix constructor in AuctionRegistrarAlex Beregszaszi2018-11-221-1/+1
|/
* LLL: implement WITH keywordAlex Beregszaszi2018-11-211-0/+13
|
* Merge pull request #5444 from Mordax/issue-5168-rmvirtualAlex Beregszaszi2018-11-212-6/+6
|\ | | | | Removing redundant virtual from override function declaration
| * Removing redundant virtual from override function declarationmordax2018-11-212-6/+6
| | | | | | | | | | | | Remove trailing whitespace Remove changelog change
* | Merge pull request #5355 from ethereum/yul-forloop-pre-rewritechriseth2018-11-215-1/+75
|\ \ | |/ |/| [Yul] Implements a pass to rewrite for-loop's pre block into the parent's Block
| * [Yul] Implements a pass to rewrite for-loop's pre block into the parent's Block.Christian Parpart2018-11-165-1/+75
| |
* | [SMTChecker] Support bound function callsLeonardo Alt2018-11-194-0/+78
| |
* | [SMTChecker] Implement uninterpreted functions and use it for blockhash()Leonardo Alt2018-11-151-2/+6
|/
* Do not perform cleanup on unsigned integers when loading from calldata.chriseth2018-11-151-1/+1
|
* Merge pull request #5410 from ethereum/lll-buildchriseth2018-11-144-3/+12
|\ | | | | Do not build LLL unless requested via the LLL cmake option
| * Move LLL tests into a single directoryAlex Beregszaszi2018-11-142-0/+0
| |
| * Do not build tests for LLL if disabledAlex Beregszaszi2018-11-142-3/+12
| |
* | Fix commandline tests.chriseth2018-11-141-1/+1
|/
* Use latest solcjs and replace compileStandard by compile.chriseth2018-11-131-1/+12
|
* Remove old libsolc API (compileJSON, compileJSONMulti, compileJSONCallback)Alex Beregszaszi2018-11-132-141/+4
|
* LLL: ensure assembly tests have the correct argumentsAlex Beregszaszi2018-11-131-168/+168
|
* LLL: add test which has a sub assembly without a forced STOPAlex Beregszaszi2018-11-131-0/+14
|
* LLL bytecode is padded by STOP in testsAlex Beregszaszi2018-11-131-239/+239
|
* LLL: do not wrap opcode tests into sequenceAlex Beregszaszi2018-11-131-239/+239
|
* Update tests.chriseth2018-11-131-66/+66
|
* Merge pull request #5406 from ethereum/uninitializedStorageUnimplementedchriseth2018-11-132-0/+8
|\ | | | | Ignore unimplemented functions for detecting uninitialized storage returns.
| * Ignore unimplemented functions for storage returns.Daniel Kirchner2018-11-132-0/+8
| |
* | Merge pull request #5333 from ethereum/joinPerformancechriseth2018-11-131-0/+654
|\ \ | | | | | | [Yul] Use map join algorithm for performance.
| * | Remove variables that go out of scope from data structure.chriseth2018-11-131-139/+170
| | |
| * | Use map join algorithm for performance.chriseth2018-11-131-0/+623
| |/
* / Deterministic YulStringRepository using string hashes.Daniel Kirchner2018-11-133-11/+10
|/
* Remove trailing whitespace.chriseth2018-11-122-2/+2
|
* Refactor of bool TypeChecker::visit(FunctionCall const& _functionCall).Kristofer Peterson2018-11-103-1/+11
| | | | | | Visit method now cleanly determines if node represents a function call, struct construction or type conversion. Type checking, validation and error message logic is moved to separate methods.
* Merge pull request #5128 from ethereum/breakUnbreakchriseth2018-11-094-5/+74
|\ | | | | [Yul] Test case that shows that break / unbreak are more or less inverse
| * Test case that shows that break/unbreak are more or less inverse.chriseth2018-11-094-5/+74
| |
* | Reset yul string repository.chriseth2018-11-091-0/+2
| |
* | Merge pull request #5265 from ethereum/cleanupsha3chriseth2018-11-094-4/+4
|\ \ | |/ |/| Simplify sha3.
| * Renamed SHA3.{h,cpp} files.chriseth2018-10-184-4/+4
| |
* | Remove side-effect-free statements.chriseth2018-11-092-3/+9
| |
* | Merge pull request #5325 from ethereum/fixDataFlowchriseth2018-11-082-0/+104
|\ \ | | | | | | [Yul] Fix data flow analyzer for function definitions.
| * | Fix data flow analyzer for function definitions.chriseth2018-11-082-0/+104
| | |
* | | Merge pull request #5365 from ethereum/improveNameDispenserchriseth2018-11-0813-63/+63
|\ \ \ | | | | | | | | [Yul] Use single counter for name dispenser for performance reasons.
| * | | Use single counter for name dispenser for performance reasons.chriseth2018-11-0813-63/+63
| | | |
* | | | Merge pull request #5366 from ethereum/addVarDeclchriseth2018-11-081-1/+5
|\ \ \ \ | | | | | | | | | | [Yul] Add VarDeclPropagator to full suite and interactive optimizer.
| * | | | Add VarDeclPropagator to full suite and interactive optimizer.chriseth2018-11-081-1/+5
| | |/ / | |/| |
* | | | Merge pull request #5351 from ethereum/functionTypeConversionchriseth2018-11-0813-0/+128
|\ \ \ \ | | | | | | | | | | Relax type equality requirement of function types during conversion in code generation.
| * | | | Function type conversion test cases.Daniel Kirchner2018-11-0813-0/+128
| | | | |
* | | | | Merge pull request #5348 from ethereum/boostRationalNegativeDenominatorFixchriseth2018-11-081-0/+5
|\ \ \ \ \ | |_|/ / / |/| | | | Fix negative denominator in ``boost::rational`` during exponentiation.
| * | | | Fix negative denominator in ``boost::rational`` during exponentiation.Daniel Kirchner2018-11-061-0/+5
| |/ / /
* | | | Merge pull request #5327 from ethereum/rematerializerSmallchriseth2018-11-081-1/+5
|\ \ \ \ | |_|/ / |/| | | Add rematerializer to interactive optimizer.
| * | | Add rematerializer to interactive optimizer.chriseth2018-10-281-1/+5
| | | |
* | | | Performance: Replace string by special single-copy YulString class.chriseth2018-11-081-4/+4
| | | |
* | | | Eliminate `byte`-typedef and use `uint8_t` in all their places instead.Christian Parpart2018-11-073-154/+154
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is made to (easily) be forward compatible with future C++ standards, in order to allow compiling the code with newer standards at some point in the future. * Removed the `using byte = uint8_t;` line from Common.h * Mechanically change all uses of `byte` to `uint8_t`. Tested with GCC 7.3 in C++11/14/17 modes :-)
* | | Remove uses of boost::rational with negative denominator, which breaks with ↵Daniel Kirchner2018-11-061-2/+0
| | | | | | | | | | | | boost 1.68.
* | | Fixes crash while encoding too large arrays.Erik Kundt2018-10-303-0/+26
| | |
* | | Yul: Implements empty-var-decl-propagationChristian Parpart2018-10-269-0/+105
|/ /
* | Merge pull request #5273 from ethereum/interactiveOptchriseth2018-10-252-0/+228
|\ \ | | | | | | [Yul] Interactive optimizer tool
| * | Add redundant assign and ssa.chriseth2018-10-241-1/+10
| | |
| * | Interactive optimizer tool.chriseth2018-10-242-0/+219
| | |
* | | Merge pull request #5283 from ethereum/smt_fixed_byteschriseth2018-10-253-8/+16
|\ \ \ | | | | | | | | [SMTChecker] Support FixedBytes
| * | | Grouping of symbolic variables in the same file and support to FixedBytesLeonardo Alt2018-10-253-8/+16
| |/ /
* | | Merge pull request #5242 from ethereum/someCheckschriseth2018-10-254-0/+44
|\ \ \ | | | | | | | | Some well-formedness checks for the Yul AST.
| * | | Added some tests.chriseth2018-10-244-0/+44
| | | |
* | | | Merge pull request #5271 from ethereum/fullSuitechriseth2018-10-252-0/+29
|\ \ \ \ | | | | | | | | | | [Yul] Full suite tests.
| * | | | Full suite tests.chriseth2018-10-252-0/+29
| | |/ / | |/| |
* | | | Merge pull request #5296 from ethereum/setPragmaToArbitrarychriseth2018-10-2592-2012/+52
|\ \ \ \ | |/ / / |/| | | Set pragma to arbitrary
| * | | Remove pragma changer.chriseth2018-10-241-2/+0
| | | |
| * | | Set pragma to arbitrary.chriseth2018-10-2452-52/+52
| | | |
| * | | Only run zeppelin as external tests.chriseth2018-10-2439-1958/+0
| | | |
* | | | Merge pull request #5272 from ethereum/smt_special_varschriseth2018-10-2410-17/+128
|\ \ \ \ | | | | | | | | | | [SMTChecker] Support msg.*, tx.*, block.*, gasleft and blockhash
| * | | | Add gasleft constraint and use full member access nameLeonardo Alt2018-10-232-0/+14
| | | | |
| * | | | [SMTChecker] Support msg.*, tx.*, block.*, gasleft and blockhashLeonardo Alt2018-10-199-17/+114
| | |/ / | |/| |
* | | | Redundant assign eliminator.chriseth2018-10-2420-0/+413
| |/ / |/| |
* | | Refactor `solidity::Token` into an `enum class` with `TokenTraits` helper ↵Christian Parpart2018-10-221-3/+3
|/ / | | | | | | namespace
* | Merge pull request #5256 from ethereum/lvalueCleanupchriseth2018-10-191-0/+18
|\ \ | | | | | | Lvalue cleanup
| * | Add a test for delete x.lengthchriseth2018-10-181-0/+18
| | |
* | | Merge pull request #5267 from ethereum/ssatransformchriseth2018-10-1912-0/+314
|\ \ \ | | | | | | | | SSA transform - first step.
| * | | SSA transform - first step.chriseth2018-10-1912-0/+314
| | |/ | |/|
* | | Merge pull request #5260 from ethereum/flattenMorechriseth2018-10-191-0/+22
|\ \ \ | | | | | | | | Flatten more.
| * | | Flatten more.chriseth2018-10-181-0/+22
| | |/ | |/|
* | | Merge pull request #5258 from ethereum/coverage2chriseth2018-10-192-0/+56
|\ \ \ | | | | | | | | Add some simplification tests for operations.
| * | | Add some simplification tests for operations.chriseth2018-10-182-0/+56
| |/ /
* | | Merge pull request #5213 from Mordax/issue-5103chriseth2018-10-191-0/+15
|\ \ \ | | | | | | | | Tests for flipping signs on signed type edge case
| * | | Added test for flipping signs on signed type edge casemordax2018-10-161-0/+15
| | | |
* | | | Merge pull request #5270 from ethereum/inlineFlexiblechriseth2018-10-191-1/+1
|\ \ \ \ | | | | | | | | | | Make full inliner more flexible.
| * | | | Make full inliner more flexible.chriseth2018-10-181-1/+1
| | |_|/ | |/| |
* | | | Fix a bug in CSE where a variable that was already out of scope was used.chriseth2018-10-181-1/+1
| | | |
* | | | Test case that shows a CSE bug related to scopes.chriseth2018-10-181-0/+25
|/ / /
* | | Merge pull request #5240 from ethereum/limitDispenserSizechriseth2018-10-183-6/+40
|\ \ \ | |_|/ |/| | [Yul] Limit name length created by dispenser
| * | Limit size of generated names and add convenience constructors.chriseth2018-10-173-6/+40
| | |
* | | Merge pull request #5232 from ethereum/inlineHeuristicchriseth2018-10-173-0/+97
|\ \ \ | |/ / |/| | [Yul] Add simple inlining heuristic
| * | Use metrics in the full inliner.chriseth2018-10-173-0/+97
| | |
* | | Handle externally supplied variables correctly in disambiguator.chriseth2018-10-171-1/+1
|/ /
* | Inline each function separately.chriseth2018-10-162-41/+16
| |
* | Test for crash via inlining.chriseth2018-10-161-0/+84
| |
* | New full inliner.chriseth2018-10-1610-56/+124
| |
* | Add a "full simplify" test that applies multiple elementary transforms.chriseth2018-10-1617-0/+198
| |
* | New simplifier via broken expressions.chriseth2018-10-161-1/+1
| |
* | Merge pull request #5225 from mestorlx/issue5007chriseth2018-10-161-0/+8
|\ \ | |/ |/| Prevent crash in case there are no contracts
| * fix issue##5007mestorlx2018-10-161-0/+8
| |
* | Merge pull request #5226 from ethereum/chriseth-patch-3chriseth2018-10-161-1/+2
|\ \ | | | | | | Correct include path
| * | Correct include pathchriseth2018-10-161-1/+2
| | |
* | | Merge pull request #5222 from ethereum/yul-block-flattenerchriseth2018-10-165-0/+93
|\ \ \ | |/ / |/| | [WIP] Yul: Introduces a block flattening pass
| * | Yul: Introduces a block flattening pass + testsChristian Parpart2018-10-165-0/+93
| |/
* / Bug fix: Add missing include in test/Options.h; otherwise compiler does not ↵Bhargava Shastry2018-10-151-1/+1
|/ | | | recognise the boost object that Options subclasses
* [SMTChecker] Inline calls to internal functionsLeonardo Alt2018-10-1522-7/+290
|
* Merge pull request #5221 from ethereum/splitRenamingLeftoverschriseth2018-10-151-1/+1
|\ | | | | Some renaming leftovers.
| * Some renaming leftovers.chriseth2018-10-151-1/+1
| |
* | Merge pull request #5208 from mestorlx/bug4156chriseth2018-10-153-0/+43
|\ \ | |/ |/| [WIP] Bad identifier suggestion in certain cases
| * Updated MAXIMUM_STRING_DISTANCE to non static maximumStringDistance taking ↵mestorlx2018-10-133-0/+43
| | | | | | | | into account length of the identifier
* | Renaming namespace dev::julia to dev::yul.Christian Parpart2018-10-157-13/+13
| |
* | Renaming libjulia to libyulChristian Parpart2018-10-15119-30/+30
| |
* | Merge pull request #5149 from ethereum/fix_assertion_on_inval_tuple_callchriseth2018-10-152-0/+16
|\ \ | | | | | | Fixes invalid function calls to literals inside tuple assignment's LHS.
| * | Fixes invalid function calls to literals inside tuple assignment's LHS.Christian Parpart2018-10-152-0/+16
| |/
* / Also substitute variables in CSE.chriseth2018-10-121-0/+27
|/
* Merge pull request #5127 from ethereum/exprUnbreakerchriseth2018-10-1217-0/+236
|\ | | | | [Yul] Expression joiner.
| * Expression joiner.chriseth2018-10-1217-0/+236
| |
* | Merge pull request #5206 from ethereum/splitConstantsToochriseth2018-10-124-33/+56
|\ \ | | | | | | [Yul] Split constants too
| * | Also split constants.chriseth2018-10-124-33/+56
| |/
* | Merge pull request #5145 from ethereum/hashLinkerchriseth2018-10-122-1/+19
|\ \ | |/ |/| Hash linker
| * Change library placeholder to `__$<hash>$__`.chriseth2018-10-121-1/+1
| |
| * Use hash for library placeholders.chriseth2018-10-122-1/+19
| |
* | Move unused pruner tests.chriseth2018-10-1212-129/+113
| |
* | Move expression simplifier tests.chriseth2018-10-1218-178/+158
| |
* | Move rematerialiser tests.chriseth2018-10-1219-179/+292
| |
* | Move main function tests.chriseth2018-10-127-87/+117
| |
* | Move tests for full inliner.chriseth2018-10-129-175/+205
| |
* | Move expression inliner tests.chriseth2018-10-129-95/+124
| |
* | Move function hoister tests.chriseth2018-10-127-85/+97
| |
* | Move function grouper tests.chriseth2018-10-127-85/+102
| |
* | Move expression splitter tests.chriseth2018-10-127-156/+106
| |
* | Move common subexpression eliminator tests.chriseth2018-10-128-102/+81
|/
* Remove old disambiguator test.chriseth2018-10-111-105/+0
|
* Disambiguator tests.chriseth2018-10-119-0/+159
|
* Add Yul optimizer test framework.chriseth2018-10-116-2/+266
|
* Combine test path discovery.chriseth2018-10-115-41/+93
|
* Extract test suite runs.chriseth2018-10-111-36/+39
|
* Extract function.chriseth2018-10-111-19/+25
|
* Adds syntax tests for array index access.Erik Kundt2018-10-115-0/+31
|
* Merge pull request #5195 from ethereum/unsigned-array-indexchriseth2018-10-114-0/+40
|\ | | | | Do not crash on non-unsigned array index
| * Fixes crash on non-unsigned array index.Erik Kundt2018-10-114-0/+40
| |
* | Improved error message for lookup in function types.Martin Diz2018-10-105-0/+85
| |
* | Merge pull request #5186 from ethereum/renameBreakerchriseth2018-10-101-3/+3
|\ \ | | | | | | Rename ExpressionBreaker to ExpressionSplitter.
| * | Rename ExpressionBreaker to ExpressionSplitter.chriseth2018-10-101-3/+3
| | |
* | | Merge pull request #5134 from ethereum/fuzzer-input-filechriseth2018-10-101-11/+27
|\ \ \ | |/ / |/| | solfuzzer: adds --input-file=FILENAME command line argument (defaulting to stdin)
| * | adds --input-file=FILENAME to solfuzzerChristian Parpart2018-10-101-11/+27
| | |
* | | Merge pull request #5184 from ethereum/viewFunctionDocschriseth2018-10-101-0/+25
|\ \ \ | |_|/ |/| | Library view functions
| * | Documents library view functions and adds unit test.Erik Kundt2018-10-101-0/+25
| | |
* | | Merge pull request #5180 from ethereum/cpp-cleanupchriseth2018-10-104-5/+3
|\ \ \ | |_|/ |/| | Some C++ cleanup
| * | Do not require ctype/stdio if not neededAlex Beregszaszi2018-10-102-2/+0
| | |
| * | Use nullptr instead of NULL where appropriateAlex Beregszaszi2018-10-102-3/+3
| | |
* | | Merge pull request #5076 from ethereum/exprBreakerchriseth2018-10-092-0/+253
|\ \ \ | | | | | | | | [Yul] Expression breaker.
| * | | Expression breaker.chriseth2018-10-092-0/+253
| | | |
* | | | Fixes large rational number literals being wrongly interpreted.Christian Parpart2018-10-092-0/+18
|/ / / | | | | | | | | | Fixes #5052.
* | | Merge pull request #5124 from lazaridiscom/1802-hex-error-reportingchriseth2018-10-091-4/+8
|\ \ \ | | | | | | | | use Token type for hex error, draft re #1802
| * | | provide general hex-literal error message, fixes #1802Lazaridis2018-10-091-4/+8
| |/ / | | | | | | | | | dummy
* / / Fix commandline tests for release version.chriseth2018-10-097-9/+4
|/ /
* | Fix ast json test for function kind.chriseth2018-10-092-1/+2
| |
* | Merge pull request #4734 from ethereum/astUpdatechriseth2018-10-0929-10/+571
|\ \ | |/ |/| JSON AST: replace ``isConstructor`` by ``kind`` which also supports fallbacks
| * Restore ``isConstructor`` in the legacy AST.Daniel Kirchner2018-09-1113-0/+13
| |
| * Add new test cases.Daniel Kirchner2018-09-119-0/+548
| |
| * Replace ``isConstructor`` field in the JSON AST by a ``kind`` field.Daniel Kirchner2018-09-1120-20/+20
| |
* | soltest: provides sane defaults for --testpath command line optionChristian Parpart2018-10-081-0/+23
| |
* | Fix typos.chriseth2018-10-041-1/+1
| |
* | Fixes #5051 (introduced in #4684), effectively allowing underscores in ↵Christian Parpart2018-10-021-0/+1
| | | | | | | | address literals.
* | Merge pull request #5104 from ethereum/fuzzerchriseth2018-10-011-45/+26
|\ \ | | | | | | Do not use compileJSON wrapper in the fuzzer
| * | Do not use compileJSON wrapper in the fuzzerAlex Beregszaszi2018-09-291-45/+26
| | |
* | | Merge pull request #5115 from mestorlx/cleancirclecichriseth2018-10-011-2/+8
|\ \ \ | | | | | | | | removed stray (B in CI test output
| * | | removed stray (B in CI test outputMartin Diz2018-09-291-2/+8
| | | |
* | | | Merge pull request #5075 from ethereum/fixInlinerchriseth2018-10-011-0/+35
|\ \ \ \ | |_|/ / |/| | | [Yul] Fix inliner
| * | | Fix for inlining inside conditions.chriseth2018-10-011-30/+30
| | | |
| * | | Tests for inlining inside condition.chriseth2018-09-251-0/+35
| | | |
* | | | Merge pull request #4676 from jwasinger/extcodehashAlex Beregszaszi2018-09-282-0/+17
|\ \ \ \ | | | | | | | | | | Add support for EXTCODEHASH
| * | | | Add LLL tests for EXTCODEHASHAlex Beregszaszi2018-09-261-0/+4
| | | | |
| * | | | Add test for extcodehashAlex Beregszaszi2018-09-261-0/+13
| | | | |
* | | | | Be more strict about values in the optimizer block in StandardJSONAlex Beregszaszi2018-09-261-0/+65
|/ / / /
* | | | Merge pull request #5061 from ethereum/fixedSizeArrayLengthchriseth2018-09-264-2/+32
|\ \ \ \ | | | | | | | | | | Disallow fixed-size arrays with zero length
| * | | | Moves length check to reference resolver.Erik Kundt2018-09-225-8/+32
| | | | |
| * | | | Disallows fixed-size multidim. arrays with zero-length.Erik Kundt2018-09-221-0/+6
| | | | |
* | | | | CREATE2 is part of Constantinople nowAlex Beregszaszi2018-09-261-5/+7
| | | | | | | | | | | | | | | | | | | | Also add hasCreate2 to EVMVersion
* | | | | Better regex for finding version pragmas and replace it with >=0.0Alex Beregszaszi2018-09-262-2/+2
| | | | | | | | | | | | | | | | | | | | There is a bug which stops ^0 from working.
* | | | | Automatically replace version pragmas in compilation testsAlex Beregszaszi2018-09-261-0/+2
| | | | |
* | | | | Require 0.5.0 in contract testsAlex Beregszaszi2018-09-263-3/+3
| | | | |
* | | | | Turn on patch to replace version pragmas for ZeppelinAlex Beregszaszi2018-09-261-2/+2
| |/ / / |/| | | | | | | | | | | An also replace every single one of them with ^0
* | | | Merge pull request #5034 from liangdzou/fix_test_format_issuechriseth2018-09-251-2/+4
|\ \ \ \ | |_|/ / |/| | | fix format issue for test files to enable the format checker in PR #5027
| * | | fix format issue for test filesliangdzou2018-09-241-2/+4
| |/ /
* | | Merge pull request #5003 from herrBez/cleanUpdatedchriseth2018-09-2412-0/+106
|\ \ \ | | | | | | | | Add syntax tests to fix #4627
| * | | Add syntax tests to augment the test coverage ofherrBez2018-09-2112-0/+106
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libsolidity/parsing/Scanner.cpp and libsolidity/parsing/Scanner.h Fix #4627 and PR #5003. - Add multiline comment test - Add upper case hex literal test - Add test for unicode escapes - Add test for strings with escaped newlines - Add test for string escapes - Add test for strings that do not terminate before end of file - Add test for unterminated blocks
* | | Merge pull request #5050 from ethereum/standard-json-crashesAlex Beregszaszi2018-09-211-1/+1
|\ \ \ | | | | | | | | Add proper error reporting when invalid settings are provided in StandardJSON
| * | | Add proper error reporting when invalid settings are provided in StandardJSONAlex Beregszaszi2018-09-211-1/+1
| |/ /
* | | Merge pull request #5030 from ethereum/payableConversionchriseth2018-09-216-0/+40
|\ \ \ | | | | | | | | Make non-payable default for conversion to address.
| * | | Make non-payable default for conversion to address.chriseth2018-09-206-0/+40
| |/ /
* / / Disallow uppercase X in hex number literalshydai2018-09-191-0/+5
|/ /
* | Merge pull request #4999 from liangdzou/fix_typochriseth2018-09-172-3/+3
|\ \ | | | | | | fix some code format problems
| * | fix some format typosliangdzou2018-09-172-3/+3
| | |
* | | Merge pull request #4984 from elopio/add-missing-inliner-testchriseth2018-09-171-0/+3
|\ \ \ | |/ / |/| | Add a missing tests for yul inliner optimization
| * | Add a missing tests for yul inliner optimizationLeo Arias2018-09-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | When the statement has two return values, the function is not inlinable. When the function has one statement but it is not an assignment to the return variable, the function is not inlinable. l
* | | Do not set to ref for explicit conversion and add assertion for arrayliangdzou2018-09-147-0/+67
|/ / | | | | | | type conversion. Also, add some test cases for #4901 and #4948.
* | Merge pull request #4968 from ethereum/alethUpdateCompatiblechriseth2018-09-142-31/+22
|\ \ | | | | | | Fix tests for newer versions of aleth.
| * | Disable blockhash test for constantinople due to changes between aleth versions.Daniel Kirchner2018-09-131-29/+20
| | |
| * | Use "pending", not "latest" during ``eth_call`` in ``sendMessage``.Daniel Kirchner2018-09-131-2/+2
| | |
* | | Merge pull request #4911 from ethereum/addressPayableDaniel Kirchner2018-09-1334-7/+1434
|\ \ \ | |/ / |/| | Payable and non-payable address type.
| * | Add ``stateMutability`` field to JSON AST for ``address`` types.Daniel Kirchner2018-09-133-0/+1171
| | |
| * | Add payable and non-payable state mutability to AddressType.Daniel Kirchner2018-09-1331-7/+263
| | |
* | | give more information (at most 35 chars before and after) for too long linesliangdzou2018-09-1313-2/+82
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add tests for giving more informations for too long lines add edge tests for giving more informations for too long lines avoid printing out tailing white space update test case after avoiding printing out trailing whitespace update test case for removing the pre-release warning from reference refactor the code to if-else flavor rename folder to cmdlineErrorReports under test rename folder to cmdlineErrorReports under test ignore whitespace for reference files avoiding to modify the file stderr_path by call sed without -i option print ' ...' instead of ' ... ' at the end of a line
* | Update test suite to use address payable.Daniel Kirchner2018-09-1226-67/+121
| |
* | Accept ``address payable`` during parsing.Daniel Kirchner2018-09-1119-1/+224
|/
* Update bug description, add regex and tests.chriseth2018-09-101-0/+34
|
* Tests.chriseth2018-09-101-0/+40
|
* Merge pull request #4912 from ethereum/fixNewlinechriseth2018-09-101-0/+106
|\ | | | | Fix bugs in comments.
| * Tests.chriseth2018-09-061-0/+98
| |
| * This fixes several bugs with regards to line breaks and comments:chriseth2018-09-061-0/+8
| | | | | | | | | | | | | | | | | | | | | | - any unicode line break (line feed, vertical tab, form feed, carriage return, NEL, LS and PS) is considered to terminate a single-line comment. The line break itself is considered to be the next token after the comment, leading to a parser error if it is not an ascii character (i.e. for NEL, LS and PS). - unterminated multiline comments are considered illegal tokens - '/** /' is considered an unterminated multiline comment (previously, whitespace was allowed before the last '/'
* | Buglist check script supports json pathsLeonardo Alt2018-09-072-21/+155
|/
* Merge pull request #4872 from bakaoh/issue4716chriseth2018-09-061-0/+8
|\ | | | | Crash when array index value is too large
| * Fix #4716: Crash when array index value is too largebakaoh2018-09-051-0/+8
| |
* | Split IntegerType into IntegerType and AddressType.Daniel Kirchner2018-09-051-2/+2
| |
* | Merge pull request #4590 from ethereum/msgValueModifierchriseth2018-09-057-1/+39
|\ \ | | | | | | Warn if modifier uses msg.value in non-payable function
| * | Fix endToEnd testLeonardo Alt2018-09-041-0/+10
| | |
| * | Turn warning into error.chriseth2018-09-043-3/+3
| | |
| * | Warns if modifier uses msg.value in non-payable function.Erik Kundt2018-09-045-0/+28
| |/
* | Merge pull request #4895 from ethereum/abidecodesinglechriseth2018-09-052-0/+12
|\ \ | | | | | | Fix abi.decode returning single value.
| * | Fix abi.decode returning single value.chriseth2018-09-052-0/+12
| | |
* | | Merge pull request #4866 from bakaoh/issue4743chriseth2018-09-0538-45/+45
|\ \ \ | | | | | | | | Fix#4743: Incorrect source location for nameless parameters
| * | | Update test to correct source location for nameless parametersbakaoh2018-08-3138-45/+45
| | |/ | |/|
* | | Merge pull request #4880 from ethereum/fix_cmdlineTest_tmpdirchriseth2018-09-051-13/+13
|\ \ \ | |_|/ |/| | Rename TMPDIR to SOLTMPDIR in cmdlineTests
| * | mktemp might use variable TMPDIR. Renaming it in our script to avoid conflicts.Leonardo Alt2018-09-031-13/+13
| |/
* | Merge pull request #4888 from ↵chriseth2018-09-045-0/+58
|\ \ | | | | | | | | | | | | ethereum/disallow_single_statement_vardecl_if_while_for Disallow single statement var decl in if/while/for without blocks
| * | Changed error message and added testsLeonardo Alt2018-09-045-0/+58
| |/
* | Add another end-to-end test.Daniel Kirchner2018-09-041-0/+127
| |
* | Update compilation tests.Daniel Kirchner2018-09-044-16/+11
| |