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
a7b661d3be
merging develop
2015-01-08 17:43:38 +01:00
Lefteris Karapetsas
79c9933c62
merging develop
2015-01-08 17:43:38 +01:00
Lefteris Karapetsas
184ddca5a1
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
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
68b9427535
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
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
852267e60f
Remove const from make_shared to allow enable_shared_from_this to work on MacOS.
2015-01-07 21:44:17 +01:00
Christian
35b95dfc3d
Arbitrary precision integer constants.
2015-01-07 21:44:17 +01:00
Christian
400d68b81d
Arbitrary precision integer constants.
2015-01-07 21:44:17 +01:00
Christian
d35842d65e
Possibility for unary operators to change type.
2015-01-07 21:44:17 +01:00
Christian
b6bad63d44
Use shared_from_this instead of manually supplying a shared_ptr to this.
2015-01-07 21:44:17 +01:00
Gav Wood
d18fa27b6a
Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
2015-01-07 20:23:59 +01:00
Gav Wood
9be5847472
VM skips push data when looking for JUMPDEST.
...
Warnings fixes.
2015-01-07 20:23:33 +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
1311633a86
Merge pull request #743 from chriseth/sol_warningFixes
...
Fix some warnings about uninitialized members.
2015-01-07 17:36:43 +01:00
Gav Wood
238aa0ee94
Warnings fixes.
...
Make Mix work with Qt 5.2
Minor other alterations.
2015-01-07 16:58:09 +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
Christian
9866caa625
Fix some warnings about uninitialized members.
2015-01-07 16:46:53 +01:00
Lefteris Karapetsas
c55608f94b
Solidity getInterfaceFunctions is now a map of hash to Function
...
- Also introduced dependency between libsolidity and libdevcrypto
- Compler's appendFunctionSelector now has a first version of using
function signature hash instead of index
2015-01-07 16:39:21 +01:00
Gav Wood
a2375542e6
Merge pull request #741 from chriseth/sol_fix_useParameterStackSize
...
Bugfix: Use parameter (not argument) type size on stack for function calls.
2015-01-07 16:35:19 +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
53e38b3ac9
Merge pull request #738 from LefterisJP/sol_abiFunctionHash
...
Canonical Function signature creation in solidity
2015-01-07 16:32:13 +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
Christian
52240ea88f
Bugfix: Use parameter (not argument) type size on stack for function calls.
2015-01-07 16:22:42 +01:00
chriseth
95514d1d1b
Merge pull request #667 from chriseth/sol_moreFlexibleBinaryOps
...
Possibility for binary operators to yield types different from their operands'.
2015-01-07 15:42:33 +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
Lefteris Karapetsas
df0dce584d
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
24d7bdd3a9
FunctionType also gets CanonicalSignature
...
- also using iterators in the signature creation function
2015-01-07 02:27:05 +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
Lefteris Karapetsas
b2aa3baded
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