chriseth
|
dce6224052
|
Merge pull request #4062 from ethereum/revert-variable
Fix revert with reason coming from a string variable
|
2018-05-15 14:44:39 +02:00 |
|
Daniel Kirchner
|
9b7ded2f78
|
Remove "view"'s in end-to-end tests that will result in errors in 0.5.0.
|
2018-05-11 11:01:06 +02:00 |
|
Alex Beregszaszi
|
c03a29dea8
|
Fix revert with reason coming from a string variable
|
2018-05-09 17:53:17 +02:00 |
|
Daniel Kirchner
|
bc47265b3f
|
Replace constant with view in the tests.
|
2018-05-09 15:07:47 +02:00 |
|
Daniel Kirchner
|
3e6a8d7c2a
|
Add more tests for right shifts.
|
2018-05-09 12:50:56 +02:00 |
|
Alex Beregszaszi
|
38460d8b47
|
Remove unnecessary masking of the result of known short instructions
|
2018-04-19 23:59:06 +01:00 |
|
chriseth
|
3d04d83297
|
Merge pull request #3868 from ethereum/bytescleanup
Properly force-clean for shortening bytesXX conversions.
|
2018-04-16 15:23:36 +02:00 |
|
chriseth
|
bf57500e25
|
Tests for bytes cleanup.
|
2018-04-16 12:47:38 +02:00 |
|
Erik Kundt
|
33fbf88707
|
Limits rational numbers to 4096 bits.
|
2018-04-16 11:45:55 +02:00 |
|
chriseth
|
7054defdd6
|
Merge pull request #3364 from ethereum/revertWithReason
Revert with reason
|
2018-04-12 21:01:08 +02:00 |
|
chriseth
|
44416d1ac6
|
Merge pull request #2980 from ethereum/abi-api
Add abi.encode and abi.encodePacked
|
2018-04-12 20:55:03 +02:00 |
|
chriseth
|
75b8828666
|
Allow struct encoding with new encoder.
|
2018-04-12 16:37:16 +02:00 |
|
chriseth
|
4faa839813
|
Use error signature for revert data.
|
2018-04-12 13:09:38 +02:00 |
|
chriseth
|
e133b1a0cd
|
Adjust expectations in case of homestead VM.
|
2018-04-12 13:09:38 +02:00 |
|
chriseth
|
aa715f8759
|
Tests about error bubbling for create and transfer.
|
2018-04-12 13:09:38 +02:00 |
|
chriseth
|
7a9ee69e98
|
Bubble up error messages.
|
2018-04-12 13:09:38 +02:00 |
|
chriseth
|
ae1d040285
|
Allow error string for `require `.
|
2018-04-12 13:09:37 +02:00 |
|
chriseth
|
a06249c984
|
Tests for revert with reason string.
|
2018-04-12 13:09:37 +02:00 |
|
chriseth
|
44c0d7ca5e
|
Tests.
|
2018-04-12 00:10:25 +02:00 |
|
Alex Beregszaszi
|
d56acb68ab
|
Add abi.encode, abi.encodePacked, abi.encodeWithSelector and abi.encodeWithSignature.
|
2018-04-11 22:32:10 +02:00 |
|
Daniel Kirchner
|
daa69df447
|
Error on invalid arithmetic with constant expressions.
|
2018-04-11 21:17:10 +02:00 |
|
chriseth
|
d50d1f0ac1
|
Merge pull request #3580 from ethereum/asm-bitshift-optim
Add simplification rule for bitwise shifting
|
2018-04-11 17:18:31 +02:00 |
|
Alex Beregszaszi
|
5f76f47f2e
|
Add end to end tests for SHL/SHR/SAR instructions (constantinople only)
|
2018-04-10 15:29:54 +01:00 |
|
Federico Bond
|
4e037281ac
|
Error on duplicated super constructor calls
|
2018-04-09 11:22:35 +02:00 |
|
chriseth
|
c6da5c1650
|
Merge pull request #3822 from ethereum/swap-comparison
Replace comparison operators with opposites if preceded by SWAP1
|
2018-04-05 11:57:26 +02:00 |
|
Alex Beregszaszi
|
8dc9113e37
|
Add end-to-end test for SwapComparison and CommutativeSwap peephole optimisers
|
2018-04-05 10:54:39 +02:00 |
|
chriseth
|
65f18a18de
|
More specific push implementation.
|
2018-04-04 16:50:45 +02:00 |
|
chriseth
|
0cbe55005d
|
Create empty dynamic memory arrays more efficiently.
|
2018-04-04 12:37:04 +02:00 |
|
chriseth
|
e64e397f24
|
Add memory array init test.
|
2018-04-03 14:34:32 +02:00 |
|
chriseth
|
6777f7a57f
|
Optimize across MLOAD if MSIZE is not used.
|
2018-04-03 14:34:32 +02:00 |
|
chriseth
|
5c8a6aac69
|
Prevent encoding of weird types and support packed encoding of external function types.
|
2018-03-29 09:57:11 +01:00 |
|
bitshift
|
2c56e53046
|
Changes deprecation and adjusts tests.
|
2018-03-27 03:30:03 +01:00 |
|
bitshift
|
be35a65eb3
|
Adds unit tests for moved function.
|
2018-03-27 03:30:03 +01:00 |
|
chriseth
|
78abe81f08
|
Merge branch 'develop' into externalFunctionsInLibraries
|
2018-03-14 18:07:55 +01:00 |
|
chriseth
|
d0c96d53e9
|
Merge pull request #3734 from ethereum/soltestOptions
test: Rename test/TestHelper.* to test/Options.* and add Options::val…
|
2018-03-14 18:05:48 +01:00 |
|
chriseth
|
abc7a45230
|
Merge pull request #3725 from ethereum/blockhashNoCall
Allow ``block.blockhash`` without it being called.
|
2018-03-14 18:04:40 +01:00 |
|
Daniel Kirchner
|
d63d41b3b5
|
test: Rename test/TestHelper.* to test/Options.* and add Options::validate().
|
2018-03-14 12:04:04 +01:00 |
|
chriseth
|
834d63de2c
|
Allow `block.blockhash ` without being called.
|
2018-03-13 17:34:21 +01:00 |
|
chriseth
|
eecc26deec
|
Make external library functions accessible.
|
2018-03-13 17:18:46 +01:00 |
|
chriseth
|
51f9e350b1
|
Tests.
|
2018-03-13 16:55:41 +01:00 |
|
chriseth
|
a3593df43b
|
Test for using staticcall for view and pure functions.
|
2018-03-06 15:30:18 +01:00 |
|
Daniel Kirchner
|
2213f9946b
|
Improved gasleft tests.
|
2018-03-05 18:45:02 +01:00 |
|
Daniel Kirchner
|
298bdeec49
|
Remove unstable test case.
|
2018-03-05 13:28:27 +01:00 |
|
Daniel Kirchner
|
c633c0eacb
|
Move msg.gas to global function gasleft(). Closes #2971.
|
2018-03-05 11:18:04 +01:00 |
|
chriseth
|
d64aa0eaad
|
Some more scoping tests.
|
2018-02-27 12:41:32 +01:00 |
|
chriseth
|
88a5c66f4a
|
Only active variables at the point of their declaration.
|
2018-02-27 12:17:25 +01:00 |
|
chriseth
|
388718b59f
|
Introduce emit statement.
|
2018-02-22 15:17:30 +01:00 |
|
chriseth
|
89a8f4096c
|
Provide proper input for test call.
|
2018-02-20 19:31:26 +01:00 |
|
chriseth
|
2b5a5a8669
|
Make addmod and mulmod revert if the last argument is zero.
|
2018-02-15 13:52:17 +01:00 |
|
chriseth
|
aea9e7fe54
|
Add tests for selectors for public variables.
|
2018-02-13 14:15:02 +01:00 |
|