Commit Graph

978 Commits

Author SHA1 Message Date
Christian
961cb5b90c Call constructors of base classes. 2015-01-19 23:35:04 +01:00
Christian
fe770957c6 Constructor arguments for base classes. 2015-01-19 23:35:04 +01:00
Christian
2e846c495b Explicit calls to base class function. 2015-01-19 23:35:04 +01:00
Christian
f84d8f2b50 Inheritance in compiler. 2015-01-19 23:35:04 +01:00
Christian
70cda182f2 Magic variables are only needed durinng name and type resolution, not during compilation. 2015-01-19 23:35:04 +01:00
Christian
580d712a67 Check overrides and provide inherited public interface. 2015-01-19 23:35:04 +01:00
Christian
fb41b96bb8 Import inherited members into the contract's scope. 2015-01-19 23:35:04 +01:00
Christian
ffed2f37cb Inheritance parser. 2015-01-19 23:35:04 +01:00
Lefteris Karapetsas
02521a164c Improved handling of exceptions in some Solidity Tests 2015-01-19 20:12:48 +01:00
Lefteris Karapetsas
ab4178941b Adding blockhash test in Solidity ExpressionCompiler 2015-01-19 17:13:18 +01:00
Lefteris Karapetsas
933d65e986 Some addition to Solidity Execution Framework 2015-01-19 15:34:15 +01:00
chriseth
ae9ec885d7 Merge pull request #805 from LianaHus/deleteStruct
delete for structs

-added functionality to set values to 0 when deleting structure(not for ...
2015-01-19 11:32:11 +01:00
liana
037d9a7528 - corrected delete in case we have more than one locals
- added a test
2015-01-16 16:26:57 +01:00
liana
dc30fb6385 removed spaces 2015-01-16 13:07:16 +01:00
liana
ac77d20ee3 Corrected "delete" for local variables i.e. set them to 0
Added test case
2015-01-16 12:55:49 +01:00
Gav Wood
60379cabbc Merge pull request #807 from CJentzsch/addTests
included vmInputLimitTests, updated vmSystemOperationTests
2015-01-15 10:35:38 -05:00
liana
3b7fff5389 - added functionality to set values to 0 when deleting structure(not for mapping)
- added unit test

Made some changes after Christian`s review on pull request
- remove/edit comments
- BoolType and ContractType return VoidType after delete

- fixed constructor_arguments test

- fixed set to 0 when deleting variable from stack
- changed test case to test that
2015-01-15 11:59:58 +01:00
Christian
28d103e054 Re-enable MSVC warning 4307. 2015-01-15 11:47:00 +01:00
Lefteris Karapetsas
dc79a79c06 Merge pull request #798 from LefterisJP/natspec_OnContractCreation
Natspec Popup Authentication on transaction
2015-01-15 01:37:52 +01:00
CJentzsch
0d46ed07ec Merge remote-tracking branch 'upstream/develop' into addTests 2015-01-14 22:35:41 +01:00
CJentzsch
4250af041d included vmInpulLimit Tests, updated vmSystemOperationTests 2015-01-14 22:35:33 +01:00
chriseth
25fc28422b Merge pull request #799 from chriseth/sol_gasAndValue
Specify gas and value for function calls and contract creation calls.
2015-01-14 18:22:16 +01:00
chriseth
f8f1ec30f4 Merge pull request #801 from chriseth/sol_parseErrorForHashCollision
Check for hash collisions already before compiling.
2015-01-14 12:19:39 +01:00
Gav Wood
e2efcfb8a6 Merge pull request #796 from CJentzsch/randomTestEfficiency
Random test efficiency
2015-01-14 10:52:00 +00:00
Christian
212a0c5251 Check for hash collisions already before compiling. 2015-01-14 10:16:58 +01:00
CJentzsch
69bd72c667 less invalid opcode tests 2015-01-14 09:39:21 +01:00
Christian
e1559df82e Specify value for contract creation. 2015-01-13 18:12:30 +01:00
Christian
522a7709e8 Modify gas and value for external function call. 2015-01-13 18:12:30 +01:00
CJentzsch
a00d05e2bb replace BOOST_REQUIRE with assert, because it is used outside the boost test framework 2015-01-13 18:00:00 +01:00
CJentzsch
ebe54acb77 more randomness in the optimizations 2015-01-13 17:58:14 +01:00
Lefteris Karapetsas
1f02943f95 Natspec method key is now the Canonical Signature 2015-01-13 16:15:32 +01:00
CJentzsch
cf6641c345 fix spaces->tab, detailed callcreate check 2015-01-13 15:59:07 +01:00
CJentzsch
108388c440 fix callcreates imoport 2015-01-13 15:47:36 +01:00
CJentzsch
1305fb0ff8 Merge remote-tracking branch 'upstream/develop' into randomTestEfficiency 2015-01-13 14:38:39 +01:00
CJentzsch
f9f40035ae random test optimization 2015-01-13 14:38:36 +01:00
CJentzsch
22d738b995 Merge remote-tracking branch 'upstream/develop' into randomtests 2015-01-13 14:22:33 +01:00
CJentzsch
eaf6e8fcfe check test with JIT for random test simulations 2015-01-13 14:22:12 +01:00
arkpar
b85ae53f63 fixed warnings for msvc build 2015-01-13 11:18:08 +01:00
CJentzsch
09c22efee2 Merge remote-tracking branch 'upstream/develop' into randomtests 2015-01-13 09:54:44 +01:00
CJentzsch
b1ddaed08a reinclude invalid opcode in random tests 2015-01-13 09:53:46 +01:00
CJentzsch
9ee474b139 Merge remote-tracking branch 'upstream/develop' into randomTestEfficiency 2015-01-12 18:41:35 +01:00
CJentzsch
c028ad2949 call to precomppiled contract test 2015-01-12 17:17:05 +01:00
CJentzsch
3e172da03f addmod mulmod div by zero tests 2015-01-12 16:28:56 +01:00
CJentzsch
a7641cdae7 rests current gas limit in vm test 2015-01-12 15:42:28 +01:00
Lefteris Karapetsas
f729e862e9 Fixing bug where empty tagless docstring in Natspec would result in infinite loop 2015-01-12 15:29:44 +01:00
CJentzsch
d4f1ab9145 start with block info opcodes 2015-01-12 12:46:40 +01:00
CJentzsch
b2ae9dffac read in vm test over standard in 2015-01-12 11:35:54 +01:00
Gav Wood
c8b33fb709 Merge commit 'a1023a5dffee7c06e8b75a21f5c9b8826e820942' into develop
Conflicts:
	libjsqrc/ethereumjs/dist/ethereum.js.map
2015-01-11 18:18:05 +01:00
Gav Wood
dcf362c0d5 Squashed 'libjsqrc/ethereumjs/' changes from 47687cf..ab745d3
ab745d3 updated readme
b915c7a updated readme
6c26255 Merge branch 'tests' into develop
e2c4525 Merge branch 'master' into develop
e778e12 spec reporter instead of nyan
a4e6f0b fixed travis.yml && added nmp test script
048e777 Merge branch 'master' into tests
15c2293 updated package json
24814a4 Merge branch 'master' of https://github.com/ethereum/ethereum.js
6188e64 Update README.md
c34b0c6 Update README.md
29c60c0 Merge branch 'develop' into tests
b3eda29 Merge branch 'master' into tests
c397e35 mocha opts file && init of parser tests
b6058a8 methods existance tests in progress
5518022 mocha test init

git-subtree-dir: libjsqrc/ethereumjs
git-subtree-split: ab745d3b0eb89d67db1ed953020c665be3d072ed
2015-01-11 18:16:50 +01:00
Gav Wood
9067e14819 Merge commit 'ab745d3b0eb89d67db1ed953020c665be3d072ed' into develop
Conflicts:
	libjsqrc/ethereumjs/.travis.yml
	libjsqrc/ethereumjs/README.md
	libjsqrc/ethereumjs/dist/ethereum.js
	libjsqrc/ethereumjs/dist/ethereum.js.map
	libjsqrc/ethereumjs/lib/abi.js
	libjsqrc/ethereumjs/package.json
2015-01-11 17:54:36 +01:00