Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add test for content of creationCode and runtimeCode. | chriseth | 2019-01-18 | 1 | -2/+45 |
| | |||||
* | Tests. | chriseth | 2019-01-18 | 1 | -0/+64 |
| | |||||
* | Merge pull request #4951 from ethereum/alethUpdates | chriseth | 2018-12-13 | 1 | -1/+2 |
|\ | | | | | Use current aleth release for testing. | ||||
| * | Test updates for recent versions of aleth. | Daniel Kirchner | 2018-12-11 | 1 | -1/+2 |
| | | |||||
* | | Tests for gas costs. | chriseth | 2018-12-11 | 1 | -1/+1 |
|/ | |||||
* | Fix bug related to state variables of function type accessed via base contract. | chriseth | 2018-11-30 | 1 | -0/+20 |
| | |||||
* | Merge pull request #5382 from ethereum/libraryMappingPublic | chriseth | 2018-11-27 | 1 | -0/+84 |
|\ | | | | | Allow mapping arguments for public and external library functions. | ||||
| * | Allow mapping arguments for public and external library functions. | Daniel Kirchner | 2018-11-26 | 1 | -0/+84 |
| | | |||||
* | | Tests. | Daniel Kirchner | 2018-11-26 | 1 | -0/+52 |
|/ | |||||
* | Changelog entry and tests. | chriseth | 2018-11-26 | 1 | -0/+15 |
| | |||||
* | Add assert and tests for bound functions | Leonardo Alt | 2018-11-22 | 1 | -0/+19 |
| | |||||
* | Isolating files shared between Yul- and Solidity language frontend. | Christian Parpart | 2018-11-22 | 1 | -2/+2 |
| | |||||
* | Eliminate `byte`-typedef and use `uint8_t` in all their places instead. | Christian Parpart | 2018-11-07 | 1 | -38/+38 |
| | | | | | | | | | | | 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 :-) | ||||
* | Merge pull request #5256 from ethereum/lvalueCleanup | chriseth | 2018-10-19 | 1 | -0/+18 |
|\ | | | | | Lvalue cleanup | ||||
| * | Add a test for delete x.length | chriseth | 2018-10-18 | 1 | -0/+18 |
| | | |||||
* | | Added test for flipping signs on signed type edge case | mordax | 2018-10-16 | 1 | -0/+15 |
|/ | |||||
* | Documents library view functions and adds unit test. | Erik Kundt | 2018-10-10 | 1 | -0/+25 |
| | |||||
* | Disable blockhash test for constantinople due to changes between aleth versions. | Daniel Kirchner | 2018-09-13 | 1 | -29/+20 |
| | |||||
* | Update test suite to use address payable. | Daniel Kirchner | 2018-09-12 | 1 | -7/+55 |
| | |||||
* | Tests. | chriseth | 2018-09-10 | 1 | -0/+40 |
| | |||||
* | Merge pull request #4590 from ethereum/msgValueModifier | chriseth | 2018-09-05 | 1 | -0/+10 |
|\ | | | | | Warn if modifier uses msg.value in non-payable function | ||||
| * | Fix endToEnd test | Leonardo Alt | 2018-09-04 | 1 | -0/+10 |
| | | |||||
* | | Add another end-to-end test. | Daniel Kirchner | 2018-09-04 | 1 | -0/+127 |
| | | |||||
* | | Add return data to bare calls. | Daniel Kirchner | 2018-09-04 | 1 | -53/+105 |
|/ | |||||
* | Merge pull request #4822 from ethereum/addressStaticCall | chriseth | 2018-08-16 | 1 | -0/+69 |
|\ | | | | | Add ``staticcall`` to ``address``. | ||||
| * | Add ``staticcall`` to ``address``. | Daniel Kirchner | 2018-08-15 | 1 | -0/+69 |
| | | |||||
* | | Add end to end tests | Leonardo Alt | 2018-08-15 | 1 | -0/+203 |
|/ | |||||
* | Add abi.decode(bytes data, (...)) | chriseth | 2018-08-15 | 1 | -0/+197 |
| | |||||
* | Update tests | Chase McDermott | 2018-08-15 | 1 | -21/+21 |
| | |||||
* | Adds support for structs in interfaces. | Christian Parpart | 2018-08-14 | 1 | -0/+62 |
| | | | | Closes #4733. | ||||
* | Fix tests for constantinople (expect zero for the time being). | Daniel Kirchner | 2018-08-14 | 1 | -9/+22 |
| | |||||
* | Add missing tests for ``gasleft()``, ``blockhash()`` ``tx.gasprice`` and ↵ | Daniel Kirchner | 2018-08-14 | 1 | -0/+80 |
| | | | | ``block.gaslimit``. | ||||
* | Merge pull request #4798 from ethereum/mappingArgumentsAndReturns | chriseth | 2018-08-13 | 1 | -0/+242 |
|\ | | | | | Mapping arguments and returns | ||||
| * | Allow mappings of arrays as arguments and return values of internal functions. | Daniel Kirchner | 2018-08-13 | 1 | -0/+30 |
| | | |||||
| * | Allow mapping arguments and return values in all internal functions. | Daniel Kirchner | 2018-08-13 | 1 | -0/+56 |
| | | |||||
| * | Allow mapping arguments and return values in internal library functions. | Daniel Kirchner | 2018-08-13 | 1 | -0/+156 |
| | | |||||
* | | Disallow ambiguous conversions between number literals and bytesXX types. | Daniel Kirchner | 2018-08-13 | 1 | -53/+53 |
|/ | |||||
* | Merge pull request #4684 from ethereum/underscores_in_numeric_literals | chriseth | 2018-08-09 | 1 | -0/+16 |
|\ | | | | | [BREAKING] Underscores in numeric literals | ||||
| * | Cleanup & polish numbers-with-underscores parsing, also improving tests. | Christian Parpart | 2018-08-08 | 1 | -1/+1 |
| | | |||||
| * | Add stricter hex underscore rules | Balajiganapathi S | 2018-08-08 | 1 | -0/+16 |
| | | |||||
* | | Remove experimental 0.5.0 pragma | Alex Beregszaszi | 2018-08-08 | 1 | -2/+1 |
|/ | |||||
* | Merge pull request #4731 from ethereum/interface-enum | chriseth | 2018-08-07 | 1 | -0/+44 |
|\ | | | | | Allow enums in interfaces | ||||
| * | Add endToEnd test for referencing enums | Alex Beregszaszi | 2018-08-07 | 1 | -0/+44 |
| | | |||||
* | | Add test for abi.encode (negative) literals | Alex Beregszaszi | 2018-08-07 | 1 | -0/+36 |
|/ | |||||
* | Tests for deriving types for empty string. | chriseth | 2018-08-06 | 1 | -0/+38 |
| | |||||
* | Merge pull request #4671 from ethereum/mappingTupleAssignment | chriseth | 2018-08-06 | 1 | -0/+67 |
|\ | | | | | Disallow assignments to mappings within tuple assignments; allow for local variables. | ||||
| * | Additional semantics test cases. | Daniel Kirchner | 2018-08-03 | 1 | -0/+45 |
| | | |||||
| * | Allow assignments to local variables of mapping types. | Daniel Kirchner | 2018-08-03 | 1 | -0/+22 |
| | | |||||
* | | Drops tests for inline assembly jumps and function access as both isn't ↵ | Christian Parpart | 2018-08-02 | 1 | -46/+0 |
| | | | | | | | | possible anymore. | ||||
* | | Drop swap_peephole_optimization test from EndToEndTests | Christian Parpart | 2018-08-02 | 1 | -44/+0 |
| | | | | | | | | Already covered by libevmasm/Optimiser: peephole_noncommutative_swap1, peephole_commutative_swap1 and peephole_swap_comparison | ||||
* | | Update tests to remove support for loose assembly | Christian Parpart | 2018-08-02 | 1 | -46/+10 |
|/ | |||||
* | Fix tests regarding contract type conversion. | chriseth | 2018-08-01 | 1 | -1/+1 |
| | |||||
* | Disallow conversion between unrelated contract types. | chriseth | 2018-08-01 | 1 | -3/+3 |
| | |||||
* | Merge pull request #4527 from ethereum/mappingEnforceStorage | Alex Beregszaszi | 2018-07-24 | 1 | -1/+1 |
|\ | | | | | Enforces explicit data location for mappings | ||||
| * | Enforces data location of local mappings to storage. | Erik Kundt | 2018-07-24 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #4439 from ethereum/address_members | chriseth | 2018-07-19 | 1 | -26/+26 |
|\ \ | |/ |/| | [BREAKING] Enforce address members not accessible by contract instance | ||||
| * | Address members not accessible by contract instance | Leonardo Alt | 2018-07-17 | 1 | -26/+26 |
| | | |||||
* | | Adjusts tests to expect type errors on default visibility. | Erik Kundt | 2018-07-18 | 1 | -3/+3 |
|/ | |||||
* | Merge pull request #4481 from ethereum/disallow-throw | chriseth | 2018-07-16 | 1 | -8/+8 |
|\ | | | | | [BREAKING] Deprecate the throw statement | ||||
| * | Replace throw with revert() in end-to-end tests | Alex Beregszaszi | 2018-07-16 | 1 | -8/+8 |
| | | |||||
* | | Fixes end-to-end tests. | Erik Kundt | 2018-07-16 | 1 | -13/+13 |
| | | |||||
* | | Specifies visibility in unit tests. | Erik Kundt | 2018-07-16 | 1 | -88/+88 |
|/ | |||||
* | Merge pull request #4500 from ethereum/v050-interface-functions-must-be-external | chriseth | 2018-07-16 | 1 | -1/+1 |
|\ | | | | | [BREAKING] interface functions must be external | ||||
| * | enforce interface-functions to be external-declared | Christian Parpart | 2018-07-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | - libsolidity: Enforce interface-functions must be external-declared. - Changelog adapted to reflect changes wrt. functions in interfaces. - test: Adjustments according to prior interface-function changes. - tests: Adapting SolidityEndToEndTest to interface-function change. - docs: Adapted documentation to interface-function change. | ||||
* | | Added default data locations to parameters for end to end tests. | Chase McDermott | 2018-07-16 | 1 | -159/+159 |
|/ | |||||
* | Update tests. | Daniel Kirchner | 2018-07-13 | 1 | -3/+22 |
| | |||||
* | Merge pull request #4478 from ethereum/requireStorageLocation | chriseth | 2018-07-13 | 1 | -4/+4 |
|\ | | | | | Turn missing storage locations into an error. | ||||
| * | Update test wrt requiring storage locations. | Daniel Kirchner | 2018-07-12 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #4428 from ethereum/enforce_staticcall_view | chriseth | 2018-07-12 | 1 | -1/+37 |
|\ \ | | | | | | | [BREAKING] Enforce STATICCALL for view and pure | ||||
| * | | Use STATICCALL for view and pure | Leonardo Alt | 2018-07-11 | 1 | -1/+37 |
| |/ | |||||
* | | Merge pull request #4083 from ethereum/variable_stack_slot | chriseth | 2018-07-12 | 1 | -2/+316 |
|\ \ | |/ |/| | [BREAKING] Allocate local variables according to their scope | ||||
| * | Change test from public to external | Leonardo Alt | 2018-07-11 | 1 | -1/+1 |
| | | |||||
| * | Added assertion and tests suggestions | Leonardo Alt | 2018-07-11 | 1 | -5/+13 |
| | | |||||
| * | Add more tests and assertions | Leonardo Alt | 2018-07-11 | 1 | -1/+153 |
| | | |||||
| * | Added tests and review suggestions | Leonardo Alt | 2018-07-11 | 1 | -0/+154 |
| | | |||||
* | | Merge pull request #4388 from ethereum/noPackedLiterals | chriseth | 2018-07-11 | 1 | -5/+5 |
|\ \ | | | | | | | Disallow packed encoding of literals. | ||||
| * | | Disallow packed encoding of literals. | chriseth | 2018-07-03 | 1 | -5/+5 |
| | | | |||||
* | | | test: Fix typos. | Cryptomental | 2018-07-11 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | Fix typos using codespell. Refs: #4442 | ||||
* | | | Merge pull request #4466 from ethereum/tupleNotEmpty | chriseth | 2018-07-11 | 1 | -1/+1 |
|\ \ \ | |_|/ |/| | | Disallow empty tuple components. | ||||
| * | | Update end-to-end tests. | Daniel Kirchner | 2018-07-10 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #4415 from ethereum/uninitializedStoragePointer | chriseth | 2018-07-10 | 1 | -3/+4 |
|\ \ \ | |/ / |/| | | [BREAKING] Turn uninitialized storage variables into error. | ||||
| * | | Update tests. | Daniel Kirchner | 2018-07-10 | 1 | -3/+4 |
| | | | |||||
* | | | Update tests. | Daniel Kirchner | 2018-07-10 | 1 | -27/+2 |
|/ / | |||||
* | | Fix allocation of byte arrays. | chriseth | 2018-07-05 | 1 | -2/+3 |
| | | |||||
* | | Fixes compilation errors. | Erik Kundt | 2018-07-04 | 1 | -3/+3 |
| | | |||||
* | | Fixes defects in end-to-end tests. | Erik Kundt | 2018-07-04 | 1 | -7/+7 |
| | | |||||
* | | Updates end-to-end tests to specify default visibility. | Erik Kundt | 2018-07-04 | 1 | -787/+787 |
| | | |||||
* | | Enforcing error on msg.gas and block.blockhash() | Leonardo Alt | 2018-07-04 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #4379 from ethereum/constructorArgsTwice | chriseth | 2018-07-04 | 1 | -22/+6 |
|\ \ | |/ |/| | Disallow constructor arguments given multiple times. | ||||
| * | Fix tests. | chriseth | 2018-06-29 | 1 | -22/+6 |
| | | |||||
* | | Merge pull request #4374 from ↵ | chriseth | 2018-07-03 | 1 | -59/+50 |
|\ \ | | | | | | | | | | | | | ethereum/v050-var-keyword-removal-preps-end2end-tests V050 var keyword removal preparations (End-to-End tests) | ||||
| * | | test: ensure compiled tests do not use var-keyword in preparation of ↵ | Christian Parpart | 2018-07-02 | 1 | -59/+50 |
| |/ | | | | | | | var-keyword removal | ||||
* / | Determine transaction status in RPC sessions. | Daniel Kirchner | 2018-07-02 | 1 | -1/+25 |
|/ | |||||
* | Updates compiled unit tests to new constructor syntax. | Erik Kundt | 2018-06-29 | 1 | -89/+89 |
| | |||||
* | Fallback function has to be external: backwards-compatible changes. | chriseth | 2018-06-29 | 1 | -21/+21 |
| | |||||
* | Merge pull request #4097 from ethereum/noPackedExceptForPacked | chriseth | 2018-06-28 | 1 | -50/+44 |
|\ | | | | | [BREAKING] call only takes a single argument and does not pad | ||||
| * | Adjust tests. | chriseth | 2018-06-25 | 1 | -42/+40 |
| | | |||||
| * | Forwarding length check. | chriseth | 2018-06-25 | 1 | -8/+4 |
| | | |||||
* | | Add emit keyword to tests. | chriseth | 2018-06-27 | 1 | -90/+16 |
|/ | |||||
* | Update tests for strict address literals | Jason Cobb | 2018-06-25 | 1 | -2/+2 |
| | |||||
* | C99 scoping rules by default | Leonardo Alt | 2018-06-20 | 1 | -1/+1 |
| | |||||
* | Disallow raw callcode (was deprecated in 0.4.12) | Alex Beregszaszi | 2018-06-20 | 1 | -36/+0 |
| | |||||
* | Enforce disallowing empty structs | Christian Parpart | 2018-06-14 | 1 | -3/+0 |
| | | | | | | | | 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 | 1 | -3/+5 |
| | |||||
* | Disallow sha3/suicide aliases | Alex Beregszaszi | 2018-06-13 | 1 | -59/+2 |
| | |||||
* | Additional test and more explanation. | Daniel Kirchner | 2018-06-12 | 1 | -0/+33 |
| | |||||
* | Use proper SAR for signed right shifts and emulate on pre-constantinople. | Daniel Kirchner | 2018-06-12 | 1 | -57/+115 |
| | |||||
* | 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 | 1 | -20/+5 |
|/ | |||||
* | Fixes assembly bug and adds tests to cover it. | Erik Kundt | 2018-05-30 | 1 | -23/+45 |
| | |||||
* | 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 #4067 from ethereum/050 | chriseth | 2018-05-24 | 1 | -21/+42 |
|\ | | | | | [BREAKING] Version 0.5.0 | ||||
| * | Fix continue inside do-while. | Daniel Kirchner | 2018-05-17 | 1 | -0/+21 |
| | | |||||
| * | Adjust tests. | Daniel Kirchner | 2018-05-17 | 1 | -21/+21 |
| | | |||||
* | | Tidy up tests to always have closing braces on the proper line | Alex Beregszaszi | 2018-05-16 | 1 | -19/+38 |
|/ | |||||
* | Add test for forwarding length check. | chriseth | 2018-05-16 | 1 | -0/+45 |
| | |||||
* | Add tests for multi variable declaration statement. | chriseth | 2018-05-16 | 1 | -0/+27 |
| | |||||
* | 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 |
| | | |||||
* | | 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 | 1 | -3/+3 |
|/ | |||||
* | Add more tests for right shifts. | Daniel Kirchner | 2018-05-09 | 1 | -0/+157 |
| | |||||
* | Remove unnecessary masking of the result of known short instructions | Alex Beregszaszi | 2018-04-20 | 1 | -0/+20 |
| | |||||
* | 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 |
| | | |||||
* | | Limits rational numbers to 4096 bits. | Erik Kundt | 2018-04-16 | 1 | -0/+23 |
|/ | |||||
* | Merge pull request #3364 from ethereum/revertWithReason | chriseth | 2018-04-13 | 1 | -0/+208 |
|\ | | | | | Revert with reason | ||||
| * | Use error signature for revert data. | chriseth | 2018-04-12 | 1 | -9/+14 |
| | | |||||
| * | Adjust expectations in case of homestead VM. | chriseth | 2018-04-12 | 1 | -11/+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 | 1 | -0/+37 |
| | | |||||
* | | Merge pull request #2980 from ethereum/abi-api | chriseth | 2018-04-13 | 1 | -0/+357 |
|\ \ | |/ |/| | Add abi.encode and abi.encodePacked | ||||
| * | Allow struct encoding with new encoder. | chriseth | 2018-04-12 | 1 | -0/+106 |
| | | |||||
| * | Tests. | chriseth | 2018-04-12 | 1 | -39/+182 |
| | | |||||
| * | Add abi.encode, abi.encodePacked, abi.encodeWithSelector and ↵ | Alex Beregszaszi | 2018-04-12 | 1 | -0/+108 |
| | | | | | | | | abi.encodeWithSignature. | ||||
* | | Error on invalid arithmetic with constant expressions. | Daniel Kirchner | 2018-04-12 | 1 | -6/+6 |
|/ | |||||
* | Merge pull request #3580 from ethereum/asm-bitshift-optim | chriseth | 2018-04-11 | 1 | -0/+129 |
|\ | | | | | Add simplification rule for bitwise shifting | ||||
| * | Add end to end tests for SHL/SHR/SAR instructions (constantinople only) | Alex Beregszaszi | 2018-04-10 | 1 | -0/+129 |
| | | |||||
* | | Error on duplicated super constructor calls | Federico Bond | 2018-04-09 | 1 | -4/+4 |
|/ | |||||
* | 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 | 1 | -0/+65 |
|/ | |||||
* | Create empty dynamic memory arrays more efficiently. | chriseth | 2018-04-04 | 1 | -1/+35 |
| | |||||
* | Add memory array init test. | chriseth | 2018-04-03 | 1 | -0/+26 |
| | |||||
* | Optimize across MLOAD if MSIZE is not used. | chriseth | 2018-04-03 | 1 | -1/+22 |
| | |||||
* | Prevent encoding of weird types and support packed encoding of external ↵ | chriseth | 2018-03-29 | 1 | -0/+25 |
| | | | | function types. | ||||
* | Changes deprecation and adjusts tests. | bitshift | 2018-03-27 | 1 | -24/+7 |
| | |||||
* | Adds unit tests for moved function. | bitshift | 2018-03-27 | 1 | -0/+29 |
| | |||||
* | Merge branch 'develop' into externalFunctionsInLibraries | chriseth | 2018-03-15 | 1 | -1/+70 |
|\ | |||||
| * | Merge pull request #3734 from ethereum/soltestOptions | chriseth | 2018-03-15 | 1 | -1/+1 |
| |\ | | | | | | | 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 | 1 | -1/+1 |
| | | | |||||
| * | | 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 |
| | |/ | |||||
| * / | Tests. | chriseth | 2018-03-13 | 1 | -0/+52 |
| |/ | |||||
* / | Make external library functions accessible. | chriseth | 2018-03-14 | 1 | -0/+15 |
|/ | |||||
* | Test for using staticcall for view and pure functions. | chriseth | 2018-03-06 | 1 | -4/+56 |
| | |||||
* | Improved gasleft tests. | Daniel Kirchner | 2018-03-06 | 1 | -0/+12 |
| | |||||
* | Remove unstable test case. | Daniel Kirchner | 2018-03-05 | 1 | -19/+0 |
| | |||||
* | Move msg.gas to global function gasleft(). Closes #2971. | Daniel Kirchner | 2018-03-05 | 1 | -0/+19 |
| | |||||
* | Some more scoping tests. | chriseth | 2018-02-27 | 1 | -0/+28 |
| | |||||
* | Only active variables at the point of their declaration. | chriseth | 2018-02-27 | 1 | -0/+20 |
| | |||||
* | Introduce emit statement. | chriseth | 2018-02-22 | 1 | -0/+97 |
| | |||||
* | Provide proper input for test call. | chriseth | 2018-02-21 | 1 | -2/+2 |
| | |||||
* | Make addmod and mulmod revert if the last argument is zero. | chriseth | 2018-02-15 | 1 | -0/+27 |
| | |||||
* | Add tests for selectors for public variables. | chriseth | 2018-02-13 | 1 | -3/+8 |
| | |||||
* | Prevent libraries from being called. | chriseth | 2018-01-19 | 1 | -0/+33 |
| | |||||
* | Merge pull request #3183 from federicobond/fix-event-parsing | Yoichi Hirai | 2017-12-12 | 1 | -3/+3 |
|\ | | | | | Fix event parsing. Refs #3175 | ||||
| * | Fix event parsing. Refs #3175 | Federico Bond | 2017-11-23 | 1 | -3/+3 |
| | | |||||
* | | If statement for Iulia / inline assembly. | chriseth | 2017-11-22 | 1 | -0/+18 |
| | | |||||
* | | Allow constant integer variables as array lengths. | Balajiganapathi S | 2017-11-22 | 1 | -0/+18 |
|/ | |||||
* | Do not accept truncated function selectors. | chriseth | 2017-10-18 | 1 | -0/+19 |
| | |||||
* | Allocate one byte per memory byte array element instead of 32. | chriseth | 2017-10-17 | 1 | -0/+24 |
| | |||||
* | Snarks test using Byzantium precompiles | Alex Beregszaszi | 2017-10-09 | 1 | -0/+301 |
| | | | | | | | | | | * Snark tests. * Verifying routine. * Example proof. * Update precompiled positions to Byzantium ruleset. | ||||
* | Fix overload resolution when conflict is with members of address (balance, ↵ | Alex Beregszaszi | 2017-09-28 | 1 | -0/+25 |
| | | | | transfer, etc) | ||||
* | Fix other test to use ABI_CHECK | Alex Beregszaszi | 2017-09-27 | 1 | -23/+25 |
| | |||||
* | Fix encoded EndToEnd inputs. | chriseth | 2017-09-26 | 1 | -7/+7 |
| | |||||
* | Improved error messages for EndToEnd tests. | chriseth | 2017-09-25 | 1 | -823/+847 |
| | |||||
* | Support multiple assignment in inline assembly | Alex Beregszaszi | 2017-09-20 | 1 | -0/+25 |
| | |||||
* | Add tests for constant bytes/strings | Alex Beregszaszi | 2017-09-19 | 1 | -0/+24 |
| | |||||
* | Implement struct encoder. | chriseth | 2017-09-16 | 1 | -44/+0 |
| | |||||
* | Fix tests. | chriseth | 2017-09-16 | 1 | -0/+1 |
| | |||||
* | Expect test to fail until implemented. | chriseth | 2017-09-16 | 1 | -1/+4 |
| | |||||
* | Update tests and error messages. | chriseth | 2017-09-16 | 1 | -4/+4 |
| | |||||
* | Allow structs as part of function interfaces. | chriseth | 2017-09-16 | 1 | -0/+41 |
| | |||||
* | Merge pull request #2473 from ethereum/functiontype-sig | Alex Beregszaszi | 2017-09-14 | 1 | -0/+24 |
|\ | | | | | Add .selector member on function types | ||||
| * | Use hashing function in tests | Alex Beregszaszi | 2017-09-13 | 1 | -3/+3 |
| | | |||||
| * | Rename .sig to .selector on function types | Alex Beregszaszi | 2017-09-13 | 1 | -3/+3 |
| | | |||||
| * | Add tests for function type sigs | Alex Beregszaszi | 2017-09-13 | 1 | -0/+24 |
| | | |||||
* | | Fix tests | chriseth | 2017-09-06 | 1 | -1/+1 |
| | | |||||
* | | Change tests to use view or pure as appropriate | Alex Beregszaszi | 2017-09-06 | 1 | -15/+15 |
|/ | |||||
* | ABI encoder tests. | chriseth | 2017-08-14 | 1 | -2/+19 |
| | |||||
* | Some more ABI tests. | chriseth | 2017-08-10 | 1 | -0/+94 |
| | |||||
* | Merge pull request #2673 from ethereum/builtin-gas | chriseth | 2017-08-04 | 1 | -15/+0 |
|\ | | | | | Disallow gas modifier on sha256/ripemd160/ecrecover | ||||
| * | Disallow gas modifier on sha255/ripemd160/ecrecover | Alex Beregszaszi | 2017-08-02 | 1 | -15/+0 |
| | | |||||
* | | Add test for call/callcode/delegatecall to invalid address | Alex Beregszaszi | 2017-08-02 | 1 | -0/+22 |
| | | |||||
* | | .delegatecall() should always return a boolean of execution status | Alex Beregszaszi | 2017-08-02 | 1 | -0/+36 |
|/ | |||||
* | Add test for tight packing keccak256/sha256/ripemd160 | Alex Beregszaszi | 2017-08-01 | 1 | -0/+81 |
| | |||||
* | Use keccak256 instead of sha3 | chriseth | 2017-07-28 | 1 | -1/+1 |
| | |||||
* | Test case for invalid ecrecover call. | chriseth | 2017-07-28 | 1 | -0/+47 |
| | |||||
* | Re-allow multiple modifiers per function. | chriseth | 2017-07-27 | 1 | -0/+28 |
| | |||||
* | Add end-to-end test | Alex Beregszaszi | 2017-07-13 | 1 | -0/+18 |
| | |||||
* | Merge pull request #2501 from ethereum/undef-macros | chriseth | 2017-07-12 | 1 | -1/+1 |
|\ | | | | | Move UndefMacros from libdevcore to libsolidity/parsing | ||||
| * | Move UndefMacros from libdevcore to libsolidity/parsing | Alex Beregszaszi | 2017-07-02 | 1 | -1/+1 |
| | | |||||
* | | Test for internal "variable already present" error. | chriseth | 2017-07-05 | 1 | -0/+27 |
|/ | |||||
* | test: add a test passing an invalid boolean value as an event argument | Yoichi Hirai | 2017-07-01 | 1 | -0/+15 |
| | | | | Fixes #1381 | ||||
* | test: add an assertion about storing an invalid boolean into the memory | Yoichi Hirai | 2017-07-01 | 1 | -0/+8 |
| | |||||
* | test: add a test about storing an invalid boolean | Yoichi Hirai | 2017-07-01 | 1 | -0/+21 |
| | |||||
* | Test for negative stack height. | chriseth | 2017-06-28 | 1 | -0/+21 |
| | |||||
* | Test about semantics of "swap" in storage. | chriseth | 2017-06-26 | 1 | -0/+32 |
| | |||||
* | Test for passing empty string literal as function argument. | chriseth | 2017-06-22 | 1 | -0/+23 |
| | |||||
* | Functionality tests for for. | chriseth | 2017-06-16 | 1 | -0/+49 |
| | |||||
* | Test for embedded functions. | chriseth | 2017-06-08 | 1 | -0/+27 |
| | |||||
* | Test for accessing outer inline assembly scope. | chriseth | 2017-06-08 | 1 | -0/+27 |
| | |||||
* | Initial EVM1.5 assembly implementation. | chriseth | 2017-06-08 | 1 | -0/+96 |
| | |||||
* | Add inline assembly test for sha3/keccak256 | Alex Beregszaszi | 2017-05-30 | 1 | -0/+39 |
| | |||||
* | Add test for sha3() == keccak256() | Alex Beregszaszi | 2017-05-30 | 1 | -0/+17 |
| | |||||
* | Use keccak256() in tests (and not sha3()) | Alex Beregszaszi | 2017-05-30 | 1 | -22/+22 |
| | |||||
* | Remove error label / invalid jump label. | chriseth | 2017-04-28 | 1 | -15/+0 |
| | |||||
* | Storage access from inline assembly. | chriseth | 2017-04-25 | 1 | -3/+33 |
| | |||||
* | Convert storge access tests to new explicit slot / offset access. | chriseth | 2017-04-25 | 1 | -5/+9 |
| | |||||
* | Make tests comply with stack height checks. | chriseth | 2017-04-25 | 1 | -0/+1 |
| | |||||
* | Add more complex tests for interfaces | Alex Beregszaszi | 2017-03-18 | 1 | -0/+35 |
| | |||||
* | Merge pull request #1698 from ethereum/exp-notation | chriseth | 2017-03-15 | 1 | -0/+33 |
|\ | | | | | Fix scientific notation in number literals | ||||
| * | Add tests for negative base | Alex Beregszaszi | 2017-03-15 | 1 | -0/+12 |
| | | |||||
| * | Add tests for fractional numbers in exponential notation | Alex Beregszaszi | 2017-03-15 | 1 | -0/+4 |
| | | |||||
| * | Add tests for scientific notation | Alex Beregszaszi | 2017-03-15 | 1 | -0/+17 |
| | | |||||
* | | Merge pull request #1729 from ethereum/constantvariables | Yoichi Hirai | 2017-03-15 | 1 | -1/+52 |
|\ \ | | | | | | | Only allow pure expressions for constant state variables. | ||||
| * | | Disallow constants that are neither value types nor strings. | chriseth | 2017-03-13 | 1 | -24/+26 |
| | | | |||||
| * | | Allow enum values for constants. | chriseth | 2017-03-13 | 1 | -1/+0 |
| | | | |||||
| * | | End to end tests for constants. | chriseth | 2017-03-13 | 1 | -0/+50 |
| |/ | |||||
* / | Require and Assert. | chriseth | 2017-03-14 | 1 | -18/+24 |
|/ | |||||
* | Test for array singletons. | chriseth | 2017-03-06 | 1 | -0/+14 |
| | |||||
* | Merge pull request #1702 from ethereum/assertError | Yoichi Hirai | 2017-03-04 | 1 | -18/+18 |
|\ | | | | | Change effect of assert to invalid opcode. | ||||
| * | Remove assert for now. | chriseth | 2017-02-24 | 1 | -18/+18 |
| | | |||||
* | | Disallow setting .gas() on .transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -17/+0 |
| | | |||||
* | | Fix test for gas overloading in .transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -2/+13 |
| | | |||||
* | | Support gas modifier on addr.transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -0/+6 |
| | | |||||
* | | Add test for address.transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -0/+36 |
|/ | |||||
* | Merge pull request #1661 from ethereum/asm-revert | chriseth | 2017-02-13 | 1 | -0/+24 |
|\ | | | | | Implement REVERT (EIP140) | ||||
| * | Check for state changes in revert() tests | Alex Beregszaszi | 2017-02-11 | 1 | -0/+5 |
| | | |||||
| * | Add tests for revert() | Alex Beregszaszi | 2017-02-11 | 1 | -0/+19 |
| | | |||||
* | | Merge pull request #1676 from ethereum/test-modifytimestamp | chriseth | 2017-02-13 | 1 | -2/+8 |
|\ \ | |/ |/| | Add blockTimestamp and do not rely on mining time (soltest) | ||||
| * | Compare start/end timestamp | Alex Beregszaszi | 2017-02-10 | 1 | -1/+4 |
| | | |||||
| * | Do not use modifyTimestamp where not needed | Alex Beregszaszi | 2017-02-10 | 1 | -2/+5 |
| | | |||||
* | | Add tests for assert() | Alex Beregszaszi | 2017-02-10 | 1 | -0/+19 |
|/ |