Commit Graph
22691 Commits
Author SHA1 Message Date
Lefteris Karapetsas 9dedbb4154 Addressing issues with Enums in Solidity 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas fbd39323af Moving getMemberValue from EnumDefinition to EnumType 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas afc328210e Indentation fixes 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas 1e4c93d5d3 adding Enums to grammar.txt 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas 3dd00cbdd8 Enum Value member access should now work properly
- Also detection of duplicate enum values and tests for them have been
  added
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas b2575b4bcb Addressing issues with Enums in Solidity 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas fe725fbb49 Enum type conversion and member value access.
- Added tests for the type conversion part.

- Enum member value access still needs some work
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas b20ce4451b Typo in EnumValue 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas d8535eb4ea Correcting and testing enum member access 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas fb4ff4af28 implement getType() for EnumValue 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas 60e839954e Enums NameAndTypeResolution - WIP
- Also adding an EndToEnd enum test
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas 52808f67fa EnumDeclaration -> EnumValue 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas 850350e7bc Disallow trailing comma in Enum Declaration 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas b1b6b63d6b Indentation fixes 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas bb30e9184b Introducing EnumType and some Parser tests 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas 91943e7368 Enum Value member access should now work properly
- Also detection of duplicate enum values and tests for them have been
  added
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas 76d659dbe2 Adding test for Enum Parsing 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas 012e32942d Enum type conversion and member value access.
- Added tests for the type conversion part.

- Enum member value access still needs some work
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas e7f40863ef Correcting and testing enum member access 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas a989f6f97a Enums NameAndTypeResolution - WIP
- Also adding an EndToEnd enum test
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas 931e96838a Disallow trailing comma in Enum Declaration 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas c3a9ae0b06 Introducing EnumType and some Parser tests 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas 86e1d671cc Parsing an enum AST node 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas a295417f34 Parsing enums for Solidity - WIP 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas 54ed8877aa Adding enum Token and whitespace style at Token.h 2015-02-13 23:16:14 +01:00
subtly 1542497872 key agreement 2015-02-13 16:05:20 -05:00
Gav Wood 3c0355c024 Merge pull request #1040 from CJentzsch/performanceTests
style - auto
2015-02-13 18:33:46 +01:00
CJentzsch 7e0e2bb196 add possibility to create bad blocks in fillers 2015-02-13 18:25:47 +01:00
Lefteris Karapetsas f8772007c8 Changes required for upgrade to jsonrpccpp 0.4.2 2015-02-13 15:48:20 +01:00
Paweł Bylica 14b67bc0ff Performance tests: more ackermann calls, fibonacci.
- ackermann(3, 1)
- ackermann(3, 2)
- fibonacci(10)
- fibonacci(16)
Contract code included: PerformanceTester.sol
2015-02-13 14:56:27 +01:00
winsvega b3f189992b Suicide Tests 2015-02-13 14:49:32 +03:00
CJentzsch e4eeb566ce Merge remote-tracking branch 'upstream/develop' into blockTests
Conflicts:
	test/transaction.cpp
2015-02-13 12:41:31 +01:00
CJentzsch 7abf1f6c93 switch to secretKey in fillers 2015-02-13 12:38:38 +01:00
CJentzsch 92419943d3 style - auto 2015-02-13 11:30:59 +01:00
Gav Wood 238d7ccc01 Merge pull request #1039 from CJentzsch/performanceTests
Performance test
2015-02-13 11:29:26 +01:00
CJentzsch 6902084231 fix tx output 2015-02-13 11:24:20 +01:00
Gav Wood 92abc7162b Merge pull request #1037 from chriseth/sol_bytesCalldataToMemory
Copying calldata directly to memory.
2015-02-13 11:16:09 +01:00
Gav Wood 9f1515e911 Merge pull request #1037 from chriseth/sol_bytesCalldataToMemory
Copying calldata directly to memory.
2015-02-13 11:16:09 +01:00
Gav Wood e10cde47c4 Merge pull request #1035 from winsvega/develop
New Tests
2015-02-13 11:13:55 +01:00
CJentzsch fa5c4c8857 fix import transaction 2015-02-13 10:59:47 +01:00
CJentzsch cdb7565707 use auto for steady clock and chrono::milliseconds 2015-02-13 10:27:38 +01:00
Gav Wood 38cfcab13e Merge pull request #1038 from debris/before_jsoncpp
fixed issue with including wrong json/json.h file
2015-02-13 10:13:47 +01:00
Gav Wood 344f262abf Merge pull request #1038 from debris/before_jsoncpp
fixed issue with including wrong json/json.h file
2015-02-13 10:13:47 +01:00
CJentzsch 6d5d7b5124 Merge remote-tracking branch 'upstream/develop' into blockTests 2015-02-13 09:31:00 +01:00
CJentzsch 10952220e3 style fix 2015-02-13 09:07:07 +01:00
Marek Kotewicz 089c2ef39e fixed issue with including wrong json/json.h file 2015-02-13 09:03:03 +01:00
Marek Kotewicz 76253901e9 fixed issue with including wrong json/json.h file 2015-02-13 09:03:03 +01:00
Marek Kotewicz b68f61b07c fixed issue with including wrong json/json.h file 2015-02-13 09:03:03 +01:00
Marek Kotewicz 1a9e9a5f6b fixed issue with including wrong json/json.h file 2015-02-13 09:03:03 +01:00
CJentzsch 261c1e2a3f performance test 2015-02-13 09:00:51 +01:00