aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #2902 from ethereum/warn-obsoletechriseth2017-09-211-2/+27
|\
| * Warn about obsolete sha3/suicide callsAlex Beregszaszi2017-09-191-2/+27
* | Support multiple assignment in inline assemblyAlex Beregszaszi2017-09-203-0/+63
* | Rename MiniMoustache to Whiskers in testsAlex Beregszaszi2017-09-201-0/+0
* | Mark functions staticAlex Beregszaszi2017-09-201-2/+2
* | Mark constructors explicitAlex Beregszaszi2017-09-201-2/+2
* | Ensure parameter names match between headers and implementationAlex Beregszaszi2017-09-202-2/+2
|/
* Add tests for constant bytes/stringsAlex Beregszaszi2017-09-192-0/+36
* Merge pull request #2910 from ethereum/fallback-restrict-externalchriseth2017-09-181-0/+32
|\
| * Force fallback to be external (experimental 0.5.0 change)Alex Beregszaszi2017-09-181-0/+32
* | Fixed tests with mappings in structs and added some more.chriseth2017-09-161-2/+90
* | Use "tuple" for struct types in ABI JSON.chriseth2017-09-162-11/+36
* | Implement struct encoder.chriseth2017-09-162-44/+36
* | Fix tests.chriseth2017-09-163-4/+9
* | Expect test to fail until implemented.chriseth2017-09-161-1/+4
* | Structure type json using "components".chriseth2017-09-161-106/+143
* | Fix interface type conversion internal to structs.chriseth2017-09-162-4/+38
* | Tests for external signatures.chriseth2017-09-161-4/+28
* | Function signatures containing structs.chriseth2017-09-161-6/+14
* | Update tests and error messages.chriseth2017-09-162-13/+13
* | Allow structs as part of function interfaces.chriseth2017-09-163-1/+226
|/
* Named assembly labels.chriseth2017-09-161-0/+28
* Merge pull request #2904 from ethereum/viewPure5Alex Beregszaszi2017-09-151-0/+10
|\
| * Enforce view with error for experimental 0.5.0.chriseth2017-09-141-0/+10
* | Update view/pure tests to contain mandatory visibility specifiersAlex Beregszaszi2017-09-141-53/+51
* | Update type tests to contain mandatory visibility specifiersAlex Beregszaszi2017-09-141-495/+506
|/
* Fix view/pure warnings on selector testsAlex Beregszaszi2017-09-141-14/+14
* Merge pull request #2473 from ethereum/functiontype-sigAlex Beregszaszi2017-09-142-0/+105
|\
| * Use hashing function in testsAlex Beregszaszi2017-09-131-3/+3
| * Rename .sig to .selector on function typesAlex Beregszaszi2017-09-132-14/+14
| * Add tests for function type sigsAlex Beregszaszi2017-09-132-0/+105
* | Merge pull request #2848 from ethereum/checkViewPurechriseth2017-09-143-86/+484
|\ \ | |/ |/|
| * Allow constant variables in pure functions.chriseth2017-09-061-0/+13
| * Fix testschriseth2017-09-061-1/+1
| * Tone down error message.chriseth2017-09-061-3/+3
| * Analyze assembly.chriseth2017-09-062-2/+64
| * New tests for view and pure checker.chriseth2017-09-062-8/+331
| * Change tests to use view or pure as appropriateAlex Beregszaszi2017-09-062-76/+76
* | Travis CI: Fix Emscripten buildPaweł Bylica2017-09-131-3/+2
* | Display helpful warning for unused function arguments/return parametersSuman2017-09-121-7/+7
* | Change retrieveContract to take name and not indexAlex Beregszaszi2017-09-113-6/+6
|/
* Fix warning checking in test framework.chriseth2017-09-062-5/+5
* Change array too large error message as it is valid for non-calldata tooAlex Beregszaszi2017-09-061-3/+3
* Run fuzzer tests without optimizer tooAlex Beregszaszi2017-08-311-0/+7
* Add --without-optimizer option to fuzzerAlex Beregszaszi2017-08-311-4/+7
* Merge pull request #2846 from ethereum/refactorTestsAlex Beregszaszi2017-08-293-223/+275
|\
| * Extract base from NameAndType and use compiler stack.chriseth2017-08-293-223/+275
* | Add header for jsonCompilerAlex Beregszaszi2017-08-292-17/+2
* | Move all file specific globals to anonymous namespaceAlex Beregszaszi2017-08-292-2/+9
* | Include all overloaded events in ABIAlex Beregszaszi2017-08-291-0/+20
* | Crash fix, parseTypeName can return null.chriseth2017-08-281-0/+12
|/
* Merge pull request #2819 from ethereum/compilerstack-typecheckchriseth2017-08-261-4/+3
|\
| * Update SolidityNameAndTypeResolution to match CompilerStackAlex Beregszaszi2017-08-251-4/+3
* | Warn on using literals in tight packingAlex Beregszaszi2017-08-251-0/+44
|/
* Merge pull request #2807 from ethereum/removeABIhchriseth2017-08-252-19/+18
|\
| * Cleanup: Remove ABI.hchriseth2017-08-252-19/+18
* | Add test for jumpdest removal.chriseth2017-08-251-0/+84
* | Update tests.chriseth2017-08-253-12/+12
|/
* Rename statemutability to stateMutability in ABI/ASTAlex Beregszaszi2017-08-241-28/+28
* Add ABI test for pure functionAlex Beregszaszi2017-08-241-0/+55
* Introduce pure specifier on functionsAlex Beregszaszi2017-08-241-0/+10
* Merge pull request #2770 from ethereum/recursionInAsmchriseth2017-08-242-0/+26
|\
| * Check recursion depth in assembly parser.chriseth2017-08-221-1/+1
| * Tests for recursion in JULIA.chriseth2017-08-222-0/+26
* | Add external tests.chriseth2017-08-241-0/+49
* | Merge pull request #2757 from ethereum/cmakeAlex Beregszaszi2017-08-231-23/+6
|\ \
| * | CMake: Make libs dependencies explicitPaweł Bylica2017-08-211-1/+1
| * | CMake: Simplify test tools configPaweł Bylica2017-08-181-22/+5
| * | CMake: Simplify libevmasm configPaweł Bylica2017-08-181-1/+1
| * | CMake: Build static libs by defaultPaweł Bylica2017-08-181-1/+1
* | | Update tests for viewAlex Beregszaszi2017-08-232-1/+62
* | | Introduce view (and keep constant as an alias)Alex Beregszaszi2017-08-231-3/+3
* | | Merge pull request #2734 from ethereum/reject-create-interfaceAlex Beregszaszi2017-08-221-0/+35
|\ \ \ | |_|/ |/| |
| * | Check inheritance specifier arguments for interfaces.chriseth2017-08-221-0/+9
| * | Reject the creation of interface with the new statementAlex Beregszaszi2017-08-221-0/+26
* | | Mark appropriate constructors explicitAlex Beregszaszi2017-08-221-1/+1
|/ /
* | Merge pull request #2773 from ethereum/usingForWithoutLibraryAlex Beregszaszi2017-08-221-0/+15
|\ \
| * | Fix crash related to ``using for`` without a library.chriseth2017-08-211-0/+15
* | | Merge pull request #2771 from ethereum/unused-includesAlex Beregszaszi2017-08-214-6/+0
|\ \ \ | |/ / |/| |
| * | Remove some unused includesAlex Beregszaszi2017-08-214-6/+0
| |/
* | Merge pull request #2748 from ethereum/natspecchriseth2017-08-211-2/+2
|\ \
| * | Remove DocumentationType from natspecAlex Beregszaszi2017-08-161-2/+2
* | | Merge branch 'develop' into library-constructorchriseth2017-08-212-0/+16
|\ \ \
| * | | Be more strict about number literals in assembly.chriseth2017-08-212-0/+16
| | |/ | |/|
* / | Library cannot have constructorsAlex Beregszaszi2017-08-211-0/+10
|/ /
* | Use state mutability in override error messagesAlex Beregszaszi2017-08-171-4/+4
* | Use state mutability in fallback/constructor checkAlex Beregszaszi2017-08-171-2/+2
* | FunctionType comparison/identifer to support all statemutability levelsAlex Beregszaszi2017-08-172-3/+3
* | Warn about shift of literals.chriseth2017-08-161-0/+38
|/
* Add test for payable constructor in ABIAlex Beregszaszi2017-08-151-0/+31
* Add statemutability field to the ABIAlex Beregszaszi2017-08-151-0/+23
* Prevent too deep recursion in parser.chriseth2017-08-151-0/+12
* Tests for recursion exploit in parser.chriseth2017-08-151-0/+24
* Merge pull request #2704 from ethereum/newEncoderchriseth2017-08-142-57/+220
|\
| * Test both encoders.chriseth2017-08-141-77/+137
| * ABI encoder tests.chriseth2017-08-142-2/+105
* | Remove useless payable & constant typecheckAlex Beregszaszi2017-08-141-9/+0
* | Update parser testsAlex Beregszaszi2017-08-141-8/+9
|/
* Merge pull request #2703 from ethereum/warnAboutLargeStorageArrayschriseth2017-08-141-0/+51
|\
| * Warn about large storage structures.chriseth2017-08-121-0/+51
* | Improve and add missing testsFederico Bond2017-08-121-6/+15
|/
* Enforce commas in tuple syntaxFederico Bond2017-08-121-0/+12
* Merge pull request #2730 from ethereum/indented-writerchriseth2017-08-121-0/+75
|\
| * Introduce IndentedWriterAlex Beregszaszi2017-08-111-0/+75
* | Merge pull request #2712 from ethereum/experimental-metadataAlex Beregszaszi2017-08-122-7/+37
|\ \
| * | Output experimental flag in metadata only for risky featuresAlex Beregszaszi2017-08-111-0/+1
| * | Store experimental flag in metadata CBORAlex Beregszaszi2017-08-111-0/+29
| * | Add __test experimental mode for testingAlex Beregszaszi2017-08-111-7/+7
| |/
* / Amend expected test messages for SolidityNameAndTypeResolutionZhen Zhang2017-08-111-168/+168
|/
* Merge pull request #2700 from ethereum/abiTestsAlex Beregszaszi2017-08-103-0/+354
|\
| * Some more ABI tests.chriseth2017-08-103-0/+354
* | Add tests for experimental pragmaAlex Beregszaszi2017-08-101-0/+37
|/
* Show previous visibility specifier in parser errorAlex Beregszaszi2017-08-091-2/+2
* Add test for multiple visibilites on functionsAlex Beregszaszi2017-08-091-1/+6
* Disable unimplemented library functions insteadAlex Beregszaszi2017-08-081-12/+10
* Raise error when using unimplemented internal library functions.Alex Beregszaszi2017-08-081-0/+24
* Constructors must be implemented if declared.Alex Beregszaszi2017-08-051-39/+11
* Merge pull request #2687 from ethereum/show-unimplemented-funcsAlex Beregszaszi2017-08-051-8/+8
|\
| * Fix tests to use unimplementedFunctionsAlex Beregszaszi2017-08-041-8/+8
* | Three more tests for shadowing.chriseth2017-08-051-0/+30
* | Do not mark overloaded functions as shadowingAlex Beregszaszi2017-08-051-0/+11
|/
* 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-272-821/+873
|\ \ \ | |/ / |/| |
| * | Split off libevmasm specific optimiser testsAlex Beregszaszi2017-07-272-821/+873
* | | 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-266-6/+12
* | | 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
| |/
* | LLL: Test cases for nested IF expressions.benjaminion2017-07-211-0/+50
* | 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 #2596 from ethereum/lll-test-optimiserYoichi Hirai2017-07-192-2/+2
|\
| * Run LLL contract tests with optimiser tooAlex Beregszaszi2017-07-192-2/+2
* | 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
* LLL: whole contract tests for the ENS Registry.benjaminion2017-07-182-0/+507
* Merge pull request #2565 from ethereum/literal-string-errorchriseth2017-07-141-0/+37
|\
| * Add test for explicit type conversion literal stringAlex Beregszaszi2017-07-141-0/+37
* | Merge pull request #2559 from benjaminion/lll-contract-test-erc20Alex Beregszaszi2017-07-142-0/+652
|\ \ | |/ |/|
| * LLL: whole contract tests for ERC20 token.benjaminion2017-07-142-0/+652
* | Disable large arrays for memory location tooAlex Beregszaszi2017-07-141-1/+1
* | Add tests for large calldata arraysAlex Beregszaszi2017-07-141-0/+25
* | Refactor compilation tests.chriseth2017-07-141-15/+51
* | Run tests on source code from docsAlex Beregszaszi2017-07-131-0/+25
* | Merge pull request #2504 from ethereum/inlineasm-decl-emptyAlex Beregszaszi2017-07-133-0/+28
|\ \
| * | Add end-to-end testAlex Beregszaszi2017-07-132-1/+19
| * | Support parsing let statements without a valueAlex Beregszaszi2017-07-132-0/+10
* | | 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
|/
* Gnosis compilation contracts.chriseth2017-07-1233-0/+3303
* Merge pull request #2501 from ethereum/undef-macroschriseth2017-07-122-2/+1
|\
| * Move UndefMacros from libdevcore to libsolidity/parsingAlex Beregszaszi2017-07-022-2/+1
* | Merge pull request #2522 from ethereum/testCodechriseth2017-07-1270-0/+10043
|\ \
| * | Added various contracts for testing.chriseth2017-07-0570-0/+10043
* | | Issue proper warning trying to access calldata variables in inline assemblyAlex Beregszaszi2017-07-121-0/+14
* | | Merge pull request #2545 from benjaminion/lll-alloc-updatedAlex Beregszaszi2017-07-121-0/+55
|\ \ \
| * | | LLL: rewrite alloc to avoid issues with edge cases.benjaminion2017-07-121-0/+55
* | | | 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
* | | Test cases for for and while loops.benjaminion2017-07-091-0/+31
* | | 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
* Merge pull request #2418 from benjaminion/lll-macro-testschriseth2017-06-291-2/+196
|\
| * LLL: Full set of test cases for the built-in compiler macros.benjaminion2017-06-281-2/+196
* | Test for negative stack height.chriseth2017-06-281-0/+21
|/
* Merge pull request #2462 from ethereum/lll-fix-defchriseth2017-06-281-11/+26
|\
| * LLL: fix redefinitions on some compilersAlex Beregszaszi2017-06-241-11/+26
* | 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 branch 'develop' into utf8-strict-parserchriseth2017-06-272-0/+151
|\ \ \
| * \ \ 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
| |/ / /
* | | | Add a text corpus to the UTF-8 testsAlex Beregszaszi2017-06-271-0/+113
* | | | Add comprehensive test for UTF-8 validationAlex Beregszaszi2017-06-271-0/+103
|/ / /
* | | 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 #2442 from ethereum/remove-why3chriseth2017-06-261-1/+0
|\ \ \ \
| * | | | Remove Why3 generatorAlex Beregszaszi2017-06-251-1/+0
| |/ / /
* | | | 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
| |/ / / |/| | |
* | | | Merge pull request #2439 from ethereum/lll-varsAlex Beregszaszi2017-06-231-0/+20
|\ \ \ \
| * | | | LLL: fix the set keyword (create symbol if not present)Alex Beregszaszi2017-06-231-0/+20
* | | | | 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
| | |/ / | |/| |
* | | | Merge pull request #2426 from ethereum/miniMoustacheAlex Beregszaszi2017-06-231-0/+127
|\ \ \ \ | |_|_|/ |/| | |
| * | | Whiskers template systemchriseth2017-06-221-0/+127
| |/ /
* | | Merge pull request #2408 from federicobond/constant-parameterschriseth2017-06-231-0/+20
|\ \ \ | |/ / |/| |
| * | Fix segmentation fault with constant function parametersFederico Bond2017-06-221-0/+20
| |/
* | LLL: Fix msg macro with six arguments.benjaminion2017-06-221-0/+17
* | Merge pull request #2415 from benjaminion/lll-fix-create-macrochriseth2017-06-221-0/+28
|\ \
| * | LLL: Testcases for the two create built-in macros.benjaminion2017-06-221-0/+28
* | | Merge pull request #2399 from ethereum/lll-ifchriseth2017-06-221-0/+62
|\ \ \ | |/ / |/| |
| * | Add tests for when/unless/if in LLLAlex Beregszaszi2017-06-221-0/+62
| |/
* / LLL: Test case for ecrecover built-in macro.benjaminion2017-06-221-0/+19
|/