Commit Graph
1311 Commits
Author SHA1 Message Date
Alex Beregszaszi b6dfd9ef54 Ensure that library addresses supplied are of correct length and hex prefixed in JSONIO 2018-03-01 12:03:56 +01:00
chriseth 9e3da89a7a Merge pull request #3607 from izgzhen/complain-unknown-params
stop allow_guessing for command line option parser
2018-02-28 17:42:14 +01:00
chriseth 7938339572 Merge pull request #3617 from ethereum/jsonio-libraries
Add more comprehensive tests and checks for libraries in JSONIO
2018-02-28 17:40:29 +01:00
chriseth fb8c4bd7c2 Merge pull request #3615 from ethereum/test-framework
Simplify contract compilation in the test framework
2018-02-28 16:35:22 +01:00
chriseth 22d26e059c Merge pull request #3613 from ethereum/require-visibility
Issue error if no visibility is specified (on 0.5.0)
2018-02-28 16:33:39 +01:00
Alex Beregszaszi 7897301b71 Properly validate invalid hex characters in JSONIO libraries 2018-02-28 10:44:48 +01:00
Alex Beregszaszi 83fec0232d Add more comprehensive tests and checks for libraries in JSONIO 2018-02-28 10:36:07 +01:00
Zhen Zhang 5fd9ea4b2a Stop allow_guessing for command line option parser 2018-02-28 09:31:24 +08:00
Alex Beregszaszi 0346f72342 Use compileContract in contract tests 2018-02-27 20:08:24 +01:00
Alex Beregszaszi 029e19983c Split compileContract off compileAndRunWithoutCheck in SolidityExecutionFramework 2018-02-27 20:08:24 +01:00
chriseth 908b46e9a7 Merge pull request #3476 from ethereum/scoping
C99/C++ scoping rules
2018-02-27 17:06:10 +01:00
Alex Beregszaszi a566825589 Issue error if no visibility is specified (on 0.5.0) 2018-02-27 16:31:53 +01:00
Alex Beregszaszi 2abc5be7e6 Merge pull request #2541 from ethereum/asm-bitshift
Add bit shifting opcodes (EIP145)
2018-02-27 14:47:07 +01:00
Alex Beregszaszi 6512bfbcea Merge pull request #3601 from ethereum/circleParallel
Parallelize tests on circle.
2018-02-27 13:54:45 +01:00
Alex Beregszaszi 73c5d99bfa Add basic test for shift opcodes 2018-02-27 13:43: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 6b9dda06f3 Enable C99-scoping with the 0.5.0-experimental pragma. 2018-02-27 12:17:25 +01:00
chriseth 0005990382 Tests for new scoping behaviour. 2018-02-27 12:17:25 +01:00
chriseth 69f5f2eb65 Adjust tests. 2018-02-27 12:17:25 +01:00
chriseth 6a83beaab5 Run tests in parallel on circle. 2018-02-27 12:08:27 +01:00
Alex Beregszaszi 5c0d82059f Turn throw into a syntax error for 0.5.0 2018-02-27 02:10:24 +01:00
Alex Beregszaszi b62d43912b Merge pull request #3589 from ethereum/identifiers
Clean up type identifiers
2018-02-26 20:27:26 +01:00
Alex Beregszaszi 0736d91eaa Add test for escapeIdentifier 2018-02-26 19:09:44 +01:00
chriseth 8ae6a76c58 Test data location of getter return type. 2018-02-26 11:17:32 +01:00
Alex Beregszaszi 4d1b969543 Use readStandardInput in the fuzzer 2018-02-23 09:05:04 +01:00
chriseth b5a3b6a429 Parser test. 2018-02-22 15:17:43 +01:00
chriseth ad010f557b Tests for warnings. 2018-02-22 15:17:43 +01:00
chriseth 388718b59f Introduce emit statement. 2018-02-22 15:17:30 +01:00
chriseth c182284d28 Do not warn about analysis-only experimental features. 2018-02-22 14:50:20 +01:00
Alex Beregszaszi ae02bb5aad Raise error on oversized number literals in assembly 2018-02-22 01:02:19 +01:00
chriseth 98324d6c89 Merge pull request #3555 from ethereum/libraryTestCallInput
Provide proper input for test call.
2018-02-21 17:23:41 +01:00
chriseth 3076a434ba Merge pull request #3554 from ethereum/reuseScannerOrNot
Expect end of string at end of top-level block for assembly parser.
2018-02-21 00:41:57 +01:00
chriseth e2bf5de8a2 Expect end of string at end of top-level block for assembly parser. 2018-02-21 00:41:39 +01:00
Alexander Arlt 0f29ac4e56 Add new JSON API for better abstraction and for supporting strict JSON parsing 2018-02-20 21:58:26 +01:00
chriseth 89a8f4096c Provide proper input for test call. 2018-02-20 19:31:26 +01:00
chriseth 3ba8af4fd5 Provide input for two optimizer tests. 2018-02-20 18:03:39 +01:00
chriseth decfa0eed0 Test aliasing in shadowing. 2018-02-20 13:06:28 +01:00
chriseth a680cbd474 Test `_offset` for constants in inline assembly. 2018-02-19 19:22:39 +01:00
chriseth abc23ac608 Merge pull request #3135 from federicobond/formatter-instance
Convert static SourceReferenceFormatter functions to member ones
2018-02-19 17:34:07 +01:00
Emilio Almansi 47a0e374e2 Fix indentation. 2018-02-19 16:45:38 +01:00
Emilio Almansi ca6957da37 Added property _documentation_ to Function, Event, and Modifier definition classes. 2018-02-19 16:45:38 +01:00
Federico Bond d7532f7b9c Convert static SourceReferenceFormatter functions to member ones 2018-02-19 15:04:22 +01:00
Alexander Arlt 1d4547ab03 Minor improvement: check sources
- returns error, if "sources" is an array, an empty object or not defined
- Added new test-cases in test/libsolidity/StandardCompiler.cpp
2018-02-16 18:44:46 +01:00
chriseth 2b5a5a8669 Make addmod and mulmod revert if the last argument is zero. 2018-02-15 13:52:17 +01:00
chriseth e08a206070 Disallow uninitialized storage pointers as experimental 0.5.0 feature. 2018-02-15 11:58:50 +01:00
chriseth 23484ba6a4 Merge pull request #3498 from ethereum/allowthisfselector
Allow `this.f.selector` to be pure.
2018-02-13 17:08:35 +01:00
Balajiganapathi S 8a491c77ba Restructure code for alternative identifier suggestions 2018-02-13 15:00:15 +00:00
Balajiganapathi S d123e777d3 Add tests for similarity routine 2018-02-13 14:59:36 +00:00
Balajiganapathi S b1417b318f Move string distance function to utils and format error message 2018-02-13 14:59:33 +00:00