Commit Graph

907 Commits

Author SHA1 Message Date
Gav Wood
577220185f Merge pull request #760 from CJentzsch/blockhash
add blockhash test as vm tests
2015-01-09 15:12:30 +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
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
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
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
ecf3c0bb32 stl sleep_for, for windows 2015-01-06 17:01:17 +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
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
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