Commit Graph

926 Commits

Author SHA1 Message Date
subtly
feb4288b27 Merge branch 'develop' into p2p 2015-01-10 19:46:05 +01:00
subtly
a1c972075e Merging in new data structure for nodes from node-table. End result will be consolidation into NodeId, Node (id and endpoints), NodeEntry (as in table), and Peer (connected node as in host). Rename PeerInfo to PeerSessionInfo. Rename NodeInfo to PeerInfo. PeerSessionInfo which is information about the Peer connection and will be split/merged into Node and PeerInfo. Add node-table callbacks for Host to perform connect node if there are not enough nodes. 2015-01-10 19:45:20 +01:00
Gav Wood
8bc90cb7f8 Merge pull request #766 from debris/web3sha3test
web3.sha3 test
2015-01-09 17:45:09 +01:00
Marek Kotewicz
dfeef25fc2 disabled jsonrpc tests again 2015-01-09 17:33:16 +01:00
Marek Kotewicz
75660470d2 removed resize 2015-01-09 16:38:56 +01:00
Gav Wood
8cc70a12c6 Merge pull request #765 from chriseth/sol_someLogFixes
Some changes to the log functions.
2015-01-09 16:28:01 +01:00
Marek Kotewicz
2dfe5b1517 web3.sha3 test 2015-01-09 16:12:56 +01:00
Gav Wood
b240574cb6 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
Conflicts:
	test/SolidityOptimizer.cpp
2015-01-09 15:19:01 +01:00
Gav Wood
53e7bf5d1f Merge pull request #745 from chriseth/sol_integerConstants
Arbitrary precision integer literals
2015-01-09 15:17:38 +01:00
Christian
65df7459db Arbitrary precision integer constants. 2015-01-09 15:16:09 +01:00
Gav Wood
577220185f Merge pull request #760 from CJentzsch/blockhash
add blockhash test as vm tests
2015-01-09 15:12:30 +01:00
Christian
0652c29bb6 Some changes to the log functions. 2015-01-09 15:00:47 +01:00
Gav Wood
45419cdb3c Merge branch 'sol_integerConstants' of https://github.com/chriseth/cpp-ethereum into chriseth-sol_integerConstants 2015-01-09 14:57:59 +01:00
Gav Wood
4f7bb09821 Merge pull request #746 from CJentzsch/jumpdest
more dynamic jump tests
2015-01-09 14:50:42 +01:00
Christian
2e93e7e676 Buildfix after semantical merge conflict. 2015-01-09 11:51:52 +01:00
chriseth
0504dc21e1 Merge pull request #754 from LefterisJP/sol_abiFunctionHash
Calculation of ABI Function Identifier Hash
2015-01-09 11:22:59 +01:00
CJentzsch
203005e2b7 add blockhash test fo vm tests 2015-01-09 10:58:32 +01:00
Lefteris Karapetsas
765bd95a07 Fixing SolidityABIJSON test 2015-01-09 09:29:19 +01:00
Gav Wood
90cdc52ae7 Rename "JSON Documentation" -> Metadata.
solc integration for Solidity-format ABI.
2015-01-09 08:05:52 +01:00
Gav Wood
9740a1b5df Documentation update. 2015-01-09 07:39:30 +01:00
Gav Wood
541156241f Unit testing for log in Solidity. 2015-01-09 07:32:28 +01:00
Lefteris Karapetsas
4f97c89d4f Adjusting Solidity Optimizer Tests 2015-01-09 01:25:14 +01:00
Lefteris Karapetsas
ea12af6074 Adjustments to Solidity compiler code for Function Hash 2015-01-09 00:27:26 +01:00
subtly
6418132263 Consolidate use of pingAll into keepAlivePeers. Add bool operators for Node and NodeIPEndpoint population. NodeTable returns Node instead of NodeEntry (subject to change). Begin transition from NodeInfo to NodeTable Node. 2015-01-08 22:26:21 +01:00
Lefteris Karapetsas
75cbd0c013 adjusting byte difference in optimizer large integers test 2015-01-08 17:51:31 +01:00
Lefteris Karapetsas
79c9933c62 merging develop 2015-01-08 17:43:38 +01:00
Lefteris Karapetsas
efdef7f526 Compiler EVM generation now takes into account for the new function hash
identifier

- Changed tests to comply with the new function hash identifier
- Changed the function index offset to 4, and made it a constant for
  easy adjustment in the future
2015-01-08 17:18:31 +01:00
CJentzsch
eba908ebda long jumpdest list 2015-01-08 16:40:43 +01:00
CJentzsch
406f462dd6 sdiv int256.min -1 2015-01-08 15:29:49 +01:00
CJentzsch
ff47384a2c sdiv with negative fractional result 2015-01-08 15:16:08 +01:00
CJentzsch
8893443939 add valid jumpdest with jumpdest at beginning 2015-01-08 13:05:14 +01:00
CJentzsch
da5c8d6e8a more dynamic jump tests 2015-01-08 11:22:51 +01:00
Lefteris Karapetsas
9f7e9d9cdd work in progress in testing the new function selector in the end to end tests 2015-01-08 00:19:19 +01:00
Christian
35b95dfc3d Arbitrary precision integer constants. 2015-01-07 21:44:17 +01:00
Lefteris Karapetsas
38cc0b8dd3 Adjusting SolidityCompiler tests
- Adjusting SolidityCompiler tests to take into account the size of the
new Function Selector
2015-01-07 18:13:03 +01:00
Gav Wood
a9680e8ffe Merge pull request #742 from chriseth/sol_optimizerChange
Some changes to the optimizer.
2015-01-07 16:53:14 +01:00
Gav Wood
540e47dbef Merge pull request #740 from CJentzsch/vmtests
tests for address input greater then 2**160, OOG at max call depth, ...
2015-01-07 16:34:36 +01:00
Gav Wood
ec661c9938 Merge pull request #738 from LefterisJP/sol_abiFunctionHash
Canonical Function signature creation in solidity
2015-01-07 16:32:13 +01:00
Gav Wood
2d87716204 Merge pull request #734 from CJentzsch/blockhash
Blockhash tests
2015-01-07 16:28:31 +01:00
Gav Wood
843a240cfd Merge pull request #731 from CJentzsch/jumpdest
added more jumpdest tests
2015-01-07 16:27:49 +01:00
Gav Wood
e01e1002bb Merge pull request #729 from CJentzsch/addTests
Blockhash correction and some tests
2015-01-07 16:27:23 +01:00
Christian
646f99d34a Some changes to the optimizer. 2015-01-07 16:26:15 +01:00
CJentzsch
a6b0376e25 add tests for OOG at max call depth 2015-01-07 15:37:00 +01:00
CJentzsch
fc60f0f586 jump onto jump, dynamic and static jump with same destination 2015-01-07 12:36:15 +01:00
CJentzsch
8c0a3dc16e memory test: high offset, zero size -> zero gas cost 2015-01-07 12:14:33 +01:00
CJentzsch
8f61058567 check address input greater then 2**160 2015-01-07 11:14:45 +01:00
Lefteris Karapetsas
deb137f2c4 Small issues with Canonical Function Signature
- Also added an extra test
2015-01-07 10:45:59 +01:00
CJentzsch
a8c7a94786 Merge remote-tracking branch 'upstream/develop' into vmtests 2015-01-07 09:46:36 +01:00
subtly
7f4ca13035 Pass 2 integrating node table. Pruning and merging old node lifecycle logic with new.
Begin moving node identification and authentication into Host so session can be directly-constructed with NodeInfo and is not created until after authentication.
Require session to be passed a valid node.
2015-01-07 02:26:14 +01:00
Lefteris Karapetsas
36e5b5102a Test for the Canonical Signature of a function 2015-01-07 02:07:34 +01:00