aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #2673 from ethereum/builtin-gaschriseth2017-08-042-15/+24
|\
| * Disallow gas modifier on sha255/ripemd160/ecrecoverAlex Beregszaszi2017-08-022-15/+24
* | Add test for call/callcode/delegatecall to invalid addressAlex Beregszaszi2017-08-021-0/+22
* | .delegatecall() should always return a boolean of execution statusAlex Beregszaszi2017-08-021-0/+36
|/
* Add test for tight packing keccak256/sha256/ripemd160Alex Beregszaszi2017-08-011-0/+81
* Add test for disallowed gas/value modifiers on builtinsAlex Beregszaszi2017-08-011-1/+49
* Fix import error check for release version.chriseth2017-07-311-4/+5
* Use keccak256 instead of sha3chriseth2017-07-281-1/+1
* Test case for invalid ecrecover call.chriseth2017-07-281-0/+47
* Merge pull request #2635 from ethereum/fixCrashOnAssignmentToNonLValueAlex Beregszaszi2017-07-271-0/+14
|\
| * Test for assigning to non-lvalue.chriseth2017-07-261-0/+14
* | Re-allow multiple modifiers per function.chriseth2017-07-272-1/+29
* | Merge pull request #2650 from ethereum/metadata-test-fixchriseth2017-07-271-2/+4
|\ \
| * | Fix metadata testsAlex Beregszaszi2017-07-271-2/+4
* | | Merge pull request #2642 from ethereum/test-split-asmYoichi Hirai2017-07-271-821/+2
|\ \ \ | |/ / |/| |
| * | Split off libevmasm specific optimiser testsAlex Beregszaszi2017-07-271-821/+2
* | | Merge pull request #2566 from ethereum/metadata-only-relevantchriseth2017-07-271-0/+67
|\ \ \
| * | | Add tests for relevant metadata filesAlex Beregszaszi2017-07-191-0/+67
* | | | Merge pull request #1637 from ethereum/warn-shadowing-globalschriseth2017-07-262-26/+146
|\ \ \ \ | |_|/ / |/| | |
| * | | Warn about shadowing variables.Alex Beregszaszi2017-07-252-26/+146
| | |/ | |/|
* | | Add CompilerStack::setOptimiserSettingsAlex Beregszaszi2017-07-263-3/+6
* | | Add CompilerStack::setLibrariesAlex Beregszaszi2017-07-261-1/+2
* | | Remove unused interfaces from CompilerStackAlex Beregszaszi2017-07-261-1/+3
* | | Merge pull request #2603 from ethereum/test-jsoncompilerchriseth2017-07-261-2/+95
|\ \ \ | |/ / |/| |
| * | Add test for compileStandardAlex Beregszaszi2017-07-191-0/+29
| * | Add test for compileSingleAlex Beregszaszi2017-07-191-0/+51
| * | Add test for compileJSONCallbackAlex Beregszaszi2017-07-191-3/+16
| |/
* | Cleanup fixed point type changeschriseth2017-07-201-81/+73
* | Change fixed point types to have digit countVoR02202017-07-201-54/+50
* | Merge pull request #2334 from ethereum/printMultiErrorAlex Beregszaszi2017-07-201-1/+8
|\ \
| * | Print information about types of errors.chriseth2017-07-191-1/+8
| |/
* / Add test and changelogAlex Beregszaszi2017-07-191-1/+15
|/
* Merge pull request #2589 from ethereum/rename-onchainmetadataYoichi Hirai2017-07-191-1/+1
|\
| * Rename onChainMetadata to metadataAlex Beregszaszi2017-07-191-1/+1
* | Merge pull request #2597 from ethereum/modifier-internalYoichi Hirai2017-07-191-0/+14
|\ \
| * | Mark modifiers as internalAlex Beregszaszi2017-07-191-0/+14
| |/
* / Run metadata and gas meter tests when optimiser is on tooAlex Beregszaszi2017-07-192-4/+2
|/
* Do not use obscure CompilerStack methods in testsAlex Beregszaszi2017-07-184-4/+12
* Test for version/license in jsonCompilerAlex Beregszaszi2017-07-181-0/+15
* Add test for explicit type conversion literal stringAlex Beregszaszi2017-07-141-0/+37
* Disable large arrays for memory location tooAlex Beregszaszi2017-07-141-1/+1
* Add tests for large calldata arraysAlex Beregszaszi2017-07-141-0/+25
* Merge pull request #2504 from ethereum/inlineasm-decl-emptyAlex Beregszaszi2017-07-132-0/+23
|\
| * Add end-to-end testAlex Beregszaszi2017-07-131-0/+18
| * Support parsing let statements without a valueAlex Beregszaszi2017-07-131-0/+5
* | Merge pull request #2567 from ethereum/refactorExceptionschriseth2017-07-131-1/+1
|\ \
| * | Refactor exceptions and provide comment function.chriseth2017-07-131-1/+1
* | | Add another transfer testcase.chriseth2017-07-131-0/+18
| |/ |/|
* | Fix error message formattingFederico Bond2017-07-131-1/+1
* | Add type error when attempting value transfer to a non-payable contractFederico Bond2017-07-131-0/+70
|/
* Merge pull request #2501 from ethereum/undef-macroschriseth2017-07-121-1/+1
|\
| * Move UndefMacros from libdevcore to libsolidity/parsingAlex Beregszaszi2017-07-021-1/+1
* | Issue proper warning trying to access calldata variables in inline assemblyAlex Beregszaszi2017-07-121-0/+14
* | Add failing implicit conversion testAlex Beregszaszi2017-07-111-0/+12
* | Fix invalid "explicit storage keyword" warning for reference members of structs.chriseth2017-07-111-1/+1
* | Deprecate throw.chriseth2017-07-061-0/+12
* | Warn if local storage reference variable does not use "storage" explicitly.chriseth2017-07-061-2/+28
* | Test for internal "variable already present" error.chriseth2017-07-051-0/+27
|/
* Merge pull request #2481 from ethereum/mload-optimchriseth2017-07-011-53/+0
|\
| * Removed useless test.chriseth2017-07-011-53/+0
* | test: add a test passing an invalid boolean value as an event argumentYoichi Hirai2017-07-011-0/+15
* | test: add an assertion about storing an invalid boolean into the memoryYoichi Hirai2017-07-011-0/+8
* | test: add a test about storing an invalid booleanYoichi Hirai2017-07-011-0/+21
|/
* Correctly check for jump warningsAlex Beregszaszi2017-07-011-27/+29
* Warn on JUMP/JUMPI in inline assemblyAlex Beregszaszi2017-07-011-0/+8
* Warn about callcode.chriseth2017-06-301-1/+26
* Test for negative stack height.chriseth2017-06-281-0/+21
* Verbose error message test failure.chriseth2017-06-281-1/+10
* Give min and max values in warning message.chriseth2017-06-281-2/+20
* Adjust other tests.chriseth2017-06-281-8/+8
* Fix test error reporting if we ignore warnings.chriseth2017-06-281-3/+9
* Update tests themselveschriseth2017-06-281-2/+2
* Test for var i = 0;chriseth2017-06-281-0/+22
* Merge pull request #2464 from federicobond/deprecate-function-type-nameschriseth2017-06-271-0/+20
|\
| * Warn deprecated usage of parameter names in function typesFederico Bond2017-06-271-0/+20
* | Merge pull request #2437 from ethereum/warnDoubleCopyStorageAlex Beregszaszi2017-06-272-0/+106
|\ \
| * | Some more tests.chriseth2017-06-261-0/+32
| * | Test about semantics of "swap" in storage.chriseth2017-06-261-0/+32
| * | Warn about copies in storage that might overwrite unexpectedly.chriseth2017-06-261-0/+42
* | | Update tests for function type comparisonAlex Beregszaszi2017-06-271-0/+11
* | | Tests for comparison of non-comparable types.chriseth2017-06-261-0/+34
|/ /
* | Merge pull request #2450 from ethereum/addressstringAlex Beregszaszi2017-06-261-0/+19
|\ \
| * | Check for address-like strings being treated as addresses.chriseth2017-06-221-0/+19
* | | Merge pull request #2460 from ethereum/disallowMultiModifierAlex Beregszaszi2017-06-261-0/+22
|\ \ \
| * | | Disallow invoking the same modifier multiple times.chriseth2017-06-241-0/+22
* | | | Merge pull request #2449 from federicobond/warn-bytesxx-decimalchriseth2017-06-261-2/+32
|\ \ \ \
| * | | | Warn if decimal literals are used in a bytesXX contextFederico Bond2017-06-241-2/+32
| | |/ / | |/| |
* | | | Review suggestions.chriseth2017-06-241-1/+1
* | | | Fix tests.chriseth2017-06-242-20/+34
* | | | Fix location tests.chriseth2017-06-241-2/+2
| |/ / |/| |
* | | Check for constness of address constant.chriseth2017-06-231-0/+10
* | | Merge pull request #2452 from ethereum/fixPassingEmptyStringAlex Beregszaszi2017-06-231-0/+23
|\ \ \ | |_|/ |/| |
| * | Test for passing empty string literal as function argument.chriseth2017-06-221-0/+23
| |/
* / Fix segmentation fault with constant function parametersFederico Bond2017-06-221-0/+20
|/
* Merge pull request #2416 from federicobond/multiple-specifierschriseth2017-06-191-0/+18
|\
| * Display error if payable or constant is specified multiple timesFederico Bond2017-06-171-0/+18
* | Merge pull request #2225 from ethereum/julia-forchriseth2017-06-192-0/+97
|\ \ | |/ |/|
| * Test for variable redeclaration in for loopsAlex Beregszaszi2017-06-161-0/+5
| * Fix test.chriseth2017-06-161-1/+1
| * Some more parsing tests.chriseth2017-06-161-0/+14
| * Functionality tests for for.chriseth2017-06-161-0/+49
| * Some more tests.chriseth2017-06-161-2/+14
| * Parse for statement in assembly parser / printerAlex Beregszaszi2017-06-161-0/+17
* | Fix UTF-8 validation for high codepoints (>10000)Alex Beregszaszi2017-06-161-0/+10
|/
* Merge pull request #2397 from ethereum/doublepushchriseth2017-06-151-0/+26
|\
| * Peephole optimizer for double push.chriseth2017-06-151-0/+26
* | Merge branch 'develop' into asm-auxchriseth2017-06-151-0/+10
|\ \
| * \ Merge pull request #2192 from winsvega/developAlex Beregszaszi2017-06-151-0/+10
| |\ \ | | |/ | |/|
| | * add new opcode instructions to the parserDimitry2017-06-151-0/+10
* | | Match substring in tests to avoid metadata issuesAlex Beregszaszi2017-06-151-2/+2
* | | Print auxiliary data in the assemblyAlex Beregszaszi2017-06-151-1/+2
|/ /
* | Merge pull request #2381 from ethereum/fixcrashchriseth2017-06-151-1/+14
|\ \
| * | Fix a crash about a non-callable expression.chriseth2017-06-141-1/+14
* | | Merge pull request #2384 from ethereum/parseFunctionalInstructionschriseth2017-06-151-1/+11
|\ \ \ | |_|/ |/| |
| * | Enforce function arguments when parsing functional instructions.chriseth2017-06-141-1/+11
* | | Additional test.chriseth2017-06-141-0/+8
* | | Merge pull request #2392 from federicobond/disallow-trailing-commaschriseth2017-06-141-0/+11
|\ \ \ | |/ / |/| |
| * | Forbid trailing commas in named argumentsFederico Bond2017-06-141-0/+11
| |/
* | Merge pull request #2331 from ethereum/ASTDocumentationEntrychriseth2017-06-143-6/+36
|\ \ | |/ |/|
| * tests for non-legacy modedjudjuu2017-06-071-0/+8
| * new test case and indentation fixdjudjuu2017-06-062-4/+26
| * adjusted test-casesdjudjuu2017-05-312-2/+2
* | Add a warning about a varialbe of the name of an instructionYoichi Hirai2017-06-131-1/+1
* | Add a failing test as suggested inYoichi Hirai2017-06-131-0/+9
* | Add a test about checking a warningYoichi Hirai2017-06-131-2/+14
* | test: Add different styles of returndatacopy and returndatasizeYoichi Hirai2017-06-131-0/+10
* | libevmasm: add RETURNDATACOPY and RETURNDATASIZEYoichi Hirai2017-06-131-0/+10
* | Use lowercase when reporting instruction error.chriseth2017-06-091-3/+3
* | Add test for two functions calling eachotherAlex Beregszaszi2017-06-091-0/+1
* | Test for embedded functions.chriseth2017-06-082-0/+32
* | Move inline assembly to new abstraction and test both backends.chriseth2017-06-081-14/+25
* | Test for accessing outer inline assembly scope.chriseth2017-06-082-2/+60
* | Initial EVM1.5 assembly implementation.chriseth2017-06-083-0/+147
* | Merge pull request #2332 from ethereum/fixLiteralPrintchriseth2017-06-061-1/+1
|\ \
| * | adjusted testcase and renamingdjudjuu2017-06-061-1/+1
| |/
* | Merge pull request #2317 from ethereum/keccak256chriseth2017-05-315-69/+133
|\ \ | |/ |/|
| * Add inline assembly test for sha3/keccak256Alex Beregszaszi2017-05-302-0/+47
| * Add test for sha3() == keccak256()Alex Beregszaszi2017-05-301-0/+17
| * Use keccak256() in tests (and not sha3())Alex Beregszaszi2017-05-304-54/+54
| * Rename the SHA3 assembly instruction to KECCAK256Alex Beregszaszi2017-05-301-15/+15
* | Refactor error reportingRhett Aultman2017-05-304-23/+31
|/
* Fix expected message in test caseAlex Beregszaszi2017-05-261-1/+1
* Better error messages for invalid switch casesAlex Beregszaszi2017-05-261-2/+2
* Disallow instructions as a switch expressionAlex Beregszaszi2017-05-261-1/+1
* Add testsAlex Beregszaszi2017-05-261-0/+52
* Uniform error messagesAlex Beregszaszi2017-05-241-1/+1
* Add testsAlex Beregszaszi2017-05-241-0/+11
* Validate metadata JSON tooAlex Beregszaszi2017-05-241-1/+4
* Split out metadata test into its own fileAlex Beregszaszi2017-05-242-20/+60
* Add testsAlex Beregszaszi2017-05-231-0/+26
* Merge pull request #2265 from roadriverrail/inline_asm_unused_warningchriseth2017-05-221-0/+14
|\
| * Analyze InlineAssembly for variable useRhett Aultman2017-05-221-0/+14
* | Merge pull request #1810 from ethereum/compactJsonchriseth2017-05-223-17/+21
|\ \ | |/ |/|
| * testsuite adjustmentdjudjuu2017-05-192-5/+7
| * Compact format for AST-Json with backwards compatibilitychriseth2017-05-172-14/+16
* | Merge pull request #2262 from ethereum/interface-cleanupchriseth2017-05-192-3/+3
|\ \
| * | Rename CompilerStack.metadata to CompilerStack.natspecAlex Beregszaszi2017-05-191-2/+2
| * | Use CompilerStack.contractABI directlyAlex Beregszaszi2017-05-191-1/+1
| |/
* / Add tests for bool literalAlex Beregszaszi2017-05-191-0/+6
|/
* Run in optimizer mode when requestedAlex Beregszaszi2017-05-061-1/+2
* Split out common metadata validation codeAlex Beregszaszi2017-05-062-98/+8
* Add basic test for jsonCompilerAlex Beregszaszi2017-05-061-0/+143
* Merge pull request #2194 from ethereum/removeerrorlabelchriseth2017-05-052-16/+1
|\
| * Remove error label / invalid jump label.chriseth2017-04-282-16/+1
* | Merge pull request #2206 from ethereum/fixoptimizerchriseth2017-05-031-19/+31
|\ \
| * | Stricter tests for constant optimization.chriseth2017-05-021-19/+31
* | | Fix tests.chriseth2017-05-031-0/+3
* | | Cleanup, style and additional test.chriseth2017-05-031-2/+10
* | | More strict tests.chriseth2017-05-031-7/+7
* | | Treat returns with expressions as return param useRhett Aultman2017-05-031-0/+16
* | | Warn on unused local variablesRhett Aultman2017-05-031-31/+154
* | | Merge pull request #2211 from ethereum/jsonio-fixesAlex Beregszaszi2017-05-021-6/+6
|\ \ \
| * | | Follow the JSON I/O spec closelyAlex Beregszaszi2017-05-021-6/+6
| |/ /
* | | Style and stricter tests.chriseth2017-05-021-1/+9
* | | Deprecate use of unary '+'Rhett Aultman2017-04-291-1/+10
|/ /
* | Merge pull request #2171 from ethereum/splitParseAndAnalyzechriseth2017-04-284-16/+19
|\ \ | |/ |/|
| * enumchecks not workingdjuju2017-04-281-0/+3
| * refactoring parse() into two separate functionsdjuju2017-04-273-16/+16
* | Remove parentheses from around function return parametersAlex Beregszaszi2017-04-271-6/+6
* | Merge pull request #1711 from ethereum/asmfunctionschriseth2017-04-263-38/+148
|\ \ | |/ |/|
| * Fix storage access tests.chriseth2017-04-251-5/+5
| * Fix test buildAlex Beregszaszi2017-04-251-0/+1
| * Storage access from inline assembly.chriseth2017-04-251-3/+33
| * Convert storge access tests to new explicit slot / offset access.chriseth2017-04-251-5/+9
| * Review comments.chriseth2017-04-252-0/+35
| * Use raw string for tests.chriseth2017-04-251-3/+15
| * Make tests comply with stack height checks.chriseth2017-04-253-27/+26
| * Use actual type checking phase of assembler.chriseth2017-04-251-1/+1
| * Refactor assembly analysis into scope filling and checking.chriseth2017-04-251-10/+39
* | Remove a test about SELFDESTRUCT because the test harness obtains refund whil...Yoichi Hirai2017-04-251-13/+0
* | test: fix invalid signaturesYoichi Hirai2017-04-251-2/+2
* | test: add a test case about the gas cost of EXTCODESIZEYoichi Hirai2017-04-251-0/+15
* | test: add a failing test case about the gas cost of SUICIDE opcodeYoichi Hirai2017-04-251-0/+13
* | Add a failing test about the gas cost of BALANCEYoichi Hirai2017-04-251-0/+13
* | test: add a test about gas costs of EXPYoichi Hirai2017-04-251-0/+17
|/
* More pure tests.chriseth2017-04-251-0/+8
* Test for side-effect free condition.chriseth2017-04-221-0/+13
* Change error message.chriseth2017-04-211-2/+2
* Warn about side-effect free statements.chriseth2017-04-211-15/+43
* Add test for legacyASTAlex Beregszaszi2017-04-211-1/+6
* Add test for bytecodeAlex Beregszaszi2017-04-211-0/+21
* Add compilation test and verify outputAlex Beregszaszi2017-04-211-0/+79
* Trigger cases by the JSON (and not string) interfaceAlex Beregszaszi2017-04-211-1/+11
* Add basic tests for StandardCompilerAlex Beregszaszi2017-04-211-0/+155
* Check that contract inheriting from base with unimplemented constructor is ab...chriseth2017-03-221-1/+6
* Disallow private or internal functions in interfacesAlex Beregszaszi2017-03-181-0/+20
* Add more complex tests for interfacesAlex Beregszaszi2017-03-182-0/+52
* Disallow constructor in interfacesAlex Beregszaszi2017-03-181-1/+1
* Disallow enums in interfacesAlex Beregszaszi2017-03-181-0/+10
* Use declared instead of definedAlex Beregszaszi2017-03-181-1/+1
* Add tests for interfacesAlex Beregszaszi2017-03-182-0/+107
* Add ContractKind to ContractDefinitionAlex Beregszaszi2017-03-181-1/+1
* Change references to FunctionType::LocationAlex Beregszaszi2017-03-161-1/+1
* Merge pull request #1698 from ethereum/exp-notationchriseth2017-03-154-25/+64
|\
| * Add tests for negative baseAlex Beregszaszi2017-03-151-0/+12
| * Add tests for fractional numbers in exponential notationAlex Beregszaszi2017-03-152-0/+5
| * Add tests for scientific notationAlex Beregszaszi2017-03-154-25/+47
* | Mention 'transfer' in warning about unchecked 'send'.chriseth2017-03-151-1/+1
* | Merge pull request #1729 from ethereum/constantvariablesYoichi Hirai2017-03-152-7/+136
|\ \
| * | Turn non-constant constants error into warning.chriseth2017-03-151-2/+4
| * | Disallow constants that are neither value types nor strings.chriseth2017-03-132-26/+44
| * | Allow enum values for constants.chriseth2017-03-131-1/+0
| * | End to end tests for constants.chriseth2017-03-131-0/+50
| * | Type checking for pure expressions.chriseth2017-03-131-10/+20
| * | Some new tests for constant variables.chriseth2017-03-131-0/+50
* | | Require and Assert.chriseth2017-03-141-18/+24
|/ /
* | Merge pull request #1751 from ethereum/warnLiteralExpBaseYoichi Hirai2017-03-111-0/+30
|\ \ | |/ |/|
| * Tests for warning about literal constant base in exponentition.chriseth2017-03-071-0/+30
* | Merge pull request #1747 from ethereum/fixICEInternalConstructorYoichi Hirai2017-03-091-0/+18
|\ \
| * | Test for trying to construct an inconstructible contract before its definition.chriseth2017-03-061-0/+18
| |/
* | Merge pull request #1748 from ethereum/singletonArraychriseth2017-03-081-0/+14
|\ \
| * | Test for array singletons.chriseth2017-03-061-0/+14
| |/
* | Tests for no compound assignment for tuples.chriseth2017-03-081-0/+12
* | Merge pull request #1750 from ethereum/asmoctalYoichi Hirai2017-03-081-0/+18
|\ \
| * | Disallow octal literals.chriseth2017-03-071-0/+18
| |/
* | Merge pull request #1736 from ethereum/boundoptimizerYoichi Hirai2017-03-081-0/+62
|\ \
| * | Tests for optimizing constants.chriseth2017-03-031-0/+62
* | | Merge pull request #1733 from ethereum/selfReferentialConstantchriseth2017-03-071-8/+41
|\ \ \
| * | | Check for circular references in constant variables.chriseth2017-03-061-8/+13
| * | | Tests for cyclic dependencies between constants.chriseth2017-03-061-0/+28
| | |/ | |/|
* / | Test for uninitialized mapping.chriseth2017-03-061-0/+24
|/ /
* | Merge pull request #1702 from ethereum/assertErrorYoichi Hirai2017-03-041-18/+18
|\ \ | |/ |/|
| * Remove assert for now.chriseth2017-02-241-18/+18
* | Test for declaring variable with empty tuple type.chriseth2017-03-021-0/+13
* | Test case for external function type with calldata argument.chriseth2017-03-011-0/+17
* | Merge pull request #1651 from ethereum/transfer-methodchriseth2017-02-242-0/+54
|\ \
| * | Disallow setting .gas() on .transfer()Alex Beregszaszi2017-02-241-17/+0
| * | Fix test for gas overloading in .transfer()Alex Beregszaszi2017-02-241-2/+13
| * | Support gas modifier on addr.transfer()Alex Beregszaszi2017-02-241-0/+6
| * | Add type checking test for address methodsAlex Beregszaszi2017-02-241-0/+18