Commit Graph

1257 Commits

Author SHA1 Message Date
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
Marek Kotewicz
2ee9229ca6 mocha opts file && init of parser tests 2015-01-08 20:24:30 +01:00
Marek Kotewicz
e0ad98388a methods existance tests in progress 2015-01-08 19:59:03 +01:00
Marek Kotewicz
5b385908b3 mocha test init 2015-01-08 19:35:32 +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
CJentzsch
a8d472f5ab Blockhash tests 2015-01-06 20:57:33 +01:00
subtly
9a034e8998 Merge branch 'p2p-udp-nodetable' into p2p 2015-01-06 17:02:33 +01:00
subtly
ecf3c0bb32 stl sleep_for, for windows 2015-01-06 17:01:17 +01:00
subtly
80db7cbd5a Merge branch 'p2p-udp-nodetable' into p2p
Conflicts:
	libp2p/NodeTable.h
2015-01-06 16:55:52 +01:00
subtly
2cf2af356b define constructors for windows 2015-01-06 16:51:10 +01:00
CJentzsch
9df47617b9 add zero memory expansion tests for vm 2015-01-06 16:32:01 +01:00
CJentzsch
d6bbdd0464 add zero memory expansion tests 2015-01-06 16:25:21 +01:00
CJentzsch
f7a6a06ef5 added more jumpdest tests 2015-01-06 14:42:37 +01:00
CJentzsch
08837a1d32 Blockhash correction and some tests 2015-01-06 11:30:52 +01:00
subtly
17c1c1eb6c Merge branch 'develop' into p2p-udp-nodetable 2015-01-05 22:01:55 +01:00
subtly
682c68842c code review 2015-01-05 22:01:23 +01:00
Gav Wood
e50d4095a7 Merge pull request #721 from LefterisJP/sol_fixMultiLCommentScan
Fix for sol scanner where empty multiline comment became Natspec comment
2015-01-05 20:21:06 +01:00
subtly
58e4829c1b Merge branch 'p2p-udp-nodetable' into p2p
Conflicts:
	libp2p/NodeTable.cpp
2015-01-05 18:18:07 +01:00
subtly
b4ca2a8b97 Merge branch 'develop' into p2p-udp-nodetable 2015-01-05 18:07:06 +01:00
Lefteris Karapetsas
7e8ecb1806 Fix for sol scanner where empty multiline comment became Natspec comment 2015-01-05 16:37:43 +01:00
Gav Wood
c92d79aea7 Merge pull request #711 from CJentzsch/fixTest
added trie_tests_ordered
2015-01-05 16:19:31 +01:00
subtly
c033986013 Merge branch 'develop' into p2p-udp-nodetable 2015-01-05 16:18:45 +01:00
subtly
083949fe5f Merge branch 'develop' into p2p 2015-01-05 00:50:02 +01:00
subtly
96ebead6aa coding standards, h512 node id, mute warnings for clang builds. attempt inherited constructor fix for windows. 2015-01-04 21:01:56 +01:00