Commit Graph

16252 Commits

Author SHA1 Message Date
Gav Wood
25ccfe9ce4 Fix a load of horrible style that got through.
Fix blockchain tests so they don't clobber the AZ blockchain DB!
Make TransientDirectory use a temp path unless otherwise instructed.
2015-03-29 22:23:59 +02:00
subtly
602274c0ef Merge branch 'develop' into reqpeer
Conflicts:
	libp2p/Network.cpp
2015-03-29 22:17:12 +02:00
Gav Wood
5e28d981c7 Refactored much of transaction queue for tidiness and optimisation. 2015-03-29 19:13:39 +02:00
subtly
f6aaa7b12f makePeer and support setting listen IP. 2015-03-28 09:39:04 +01:00
subtly
8df136cdeb Merge branch 'p2p' into reqpeer 2015-03-27 20:59:46 +01:00
subtly
f9091e1677 update CLI and AZ UI for replacing local-networking with explicit --listen-ip 2015-03-27 20:49:05 +01:00
Gav Wood
c188e94273 Merge pull request #1441 from chriseth/ctest
Parse test files to automatically create ctest tests
2015-03-27 19:36:42 +01:00
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