Commit Graph

14695 Commits

Author SHA1 Message Date
Gav Wood
8ec03f1291 Merge pull request #1410 from debris/1351_tests
split #1351, tests
2015-03-27 19:34:07 +01:00
Lefteris Karapetsas
621215918d Abstract contract and inheritance
- Checking the linearized base contracts for abstract functions and
  handle their existence appropriately

- If a contract is abstract it can't be created with new

- An abstract contract is not compiled (no backend code is generated)

- Of course tests
2015-03-27 15:15:34 +01:00
Lefteris Karapetsas
85bb056993 Abstract contract and inheritance
- Checking the linearized base contracts for abstract functions and
  handle their existence appropriately

- If a contract is abstract it can't be created with new

- An abstract contract is not compiled (no backend code is generated)

- Of course tests
2015-03-27 15:15:34 +01:00
chriseth
f728a336b1 Merge pull request #1338 from LianaHus/sol_ConvertContractTypesToAddress
Solidity: Convert contract types to addresses
2015-03-27 15:14:40 +01:00
chriseth
d2b5407502 Merge pull request #1338 from LianaHus/sol_ConvertContractTypesToAddress
Solidity: Convert contract types to addresses
2015-03-27 15:14:40 +01:00
chriseth
9866a92884 Merge pull request #1396 from chriseth/sol_cseOpt2
Common subexpression elimination, including simplifications.
2015-03-27 14:56:47 +01:00
Liana Husikyan
a3d829d074 added externalTypes function to functionType
removed flag for externalSigniture
2015-03-27 13:28:32 +01:00
Liana Husikyan
a427053d99 added externalTypes function to functionType
removed flag for externalSigniture
2015-03-27 13:28:32 +01:00
chriseth
e82b8019ea Parse test files and create ctest tests. 2015-03-27 13:13:08 +01:00
Lefteris Karapetsas
a7e78fadf5 Moving contract fullyImplemented check to TypeRequirements 2015-03-27 11:53:17 +01:00
chriseth
4e20d0fb6d Pattern matching for expression simplification. 2015-03-26 17:51:26 +01:00
chriseth
782e69fbe4 Optimizing various single operations. 2015-03-26 17:51:26 +01:00
subtly
708c55478c adopt node IP address from udp header when ping.ipAddress isn't public 2015-03-26 16:21:25 +01:00
Liana Husikyan
b1ca27ea93 two more tests
style fixes
2015-03-26 14:11:24 +01:00
Liana Husikyan
25e4cf071a two more tests
style fixes
2015-03-26 14:11:24 +01:00
CJentzsch
8a6e284d67 add failing tx test for go 2015-03-26 12:50:39 +01:00
subtly
70184ece42 correct net/test for ping packet 2015-03-26 06:06:34 +01:00
Marek Kotewicz
9a032ef39f fixes for test/TestUtils.h 2015-03-25 19:51:08 +01:00
Marek Kotewicz
ac558b0377 Merge branch 'develop' into 1351_tests 2015-03-25 19:16:06 +01:00
Gav Wood
92dadf3825 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop 2015-03-25 18:39:47 +01:00
Gav Wood
671254626a Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop 2015-03-25 18:39:47 +01:00
Gav Wood
6b50386763 Clean up some code redundancy.
Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
2015-03-25 18:33:20 +01:00
Gav Wood
b655a8b9ae Clean up some code redundancy.
Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
2015-03-25 18:33:20 +01:00
Gav Wood
2372482662 Merge pull request #1387 from winsvega/develop
Transaction Data Must Be Array
2015-03-25 17:49:26 +01:00
Lefteris Karapetsas
fc0b32f683 Parsing of not fully implemented functions
- Adding the possibility of omitting a function body by simply ending a
  function definition with a semicolon

- Such a function is marked as not fully implemented and any contract
  that contains such a function is considered a not fully implemented contract
2015-03-25 14:26:05 +01:00
Lefteris Karapetsas
9d6d7ccab8 Parsing of not fully implemented functions
- Adding the possibility of omitting a function body by simply ending a
  function definition with a semicolon

- Such a function is marked as not fully implemented and any contract
  that contains such a function is considered a not fully implemented contract
2015-03-25 14:26:05 +01:00
Liana Husikyan
8f747aab0f tests for external types 2015-03-25 14:20:13 +01:00
Liana Husikyan
ae0fa99123 tests for external types 2015-03-25 14:20:13 +01:00
Liana Husikyan
9986b072ad renamed externalTypes to externalSignature 2015-03-25 13:59:46 +01:00
Liana Husikyan
54bb1abcfa renamed externalTypes to externalSignature 2015-03-25 13:59:46 +01:00
Liana Husikyan
701b34fbeb renamed getCanonicalSignature
added externalTypes instead of types for interface functions
added simple test

todo
testing
2015-03-25 13:59:46 +01:00
Liana Husikyan
7e73fd3f45 renamed getCanonicalSignature
added externalTypes instead of types for interface functions
added simple test

todo
testing
2015-03-25 13:59:46 +01:00
Liana Husikyan
e3ea90e997 added check for events and stat variables 2015-03-25 13:59:39 +01:00
Liana Husikyan
011d95e7e3 - added externalType to BooleanType.
- fixed the error message
2015-03-25 13:59:39 +01:00
Liana Husikyan
60204d593e added check for valid externalType to checkTypeRequirements for function 2015-03-25 13:59:39 +01:00
Liana Husikyan
607f397234 added externalType for ArrayType 2015-03-25 13:59:39 +01:00
Liana Husikyan
a69d59ae71 added getABIType() to types 2015-03-25 13:59:39 +01:00
Paweł Bylica
f07089ffa3 Test execution stats improvements
--stats can have optional values:
  --stats=out prints all test timings to standard output,
  --stats=<filename> prints all test timings to a file in tab-separated format.

Stats are now kept in vector to allow duplicated values.
2015-03-25 12:13:44 +01:00
Marek Kotewicz
94e4f410e9 ClientBase tests 2015-03-25 10:59:46 +01:00
Lefteris Karapetsas
ee1de5d02e Adding some more reserved keywords 2015-03-24 19:04:41 +01:00
chriseth
0934d0e943 Code generation part 2. 2015-03-24 14:54:33 +01:00
Gav Wood
0b476774a2 Merge pull request #1382 from CJentzsch/addTests
Add tests
2015-03-24 08:59:42 +01:00
winsvega
1806dcf33c Exceptions 2015-03-23 23:50:04 +03:00
CJentzsch
918e1e1738 style 2015-03-23 20:44:51 +01:00
Lefteris Karapetsas
677cefc0e3 Adding keywords for future use section in Token.h 2015-03-23 17:27:27 +01:00
winsvega
158666a2c5 Transaction Data Must Be Array
+libsecp256k1test
2015-03-23 17:52:34 +03:00
subtly
e6a1ca28e5 fix test typo 2015-03-23 15:31:03 +01:00
subtly
272bd3c60c gracefully handle old pingnode packet 2015-03-23 15:26:48 +01:00
CJentzsch
ec1b504c4a refine bcJS_API_TestFiller.json 2015-03-23 14:41:26 +01:00
CJentzsch
db79fcd274 test for in-chain-uncles and uncles with gen 0 2015-03-23 13:14:49 +01:00