Commit Graph

297 Commits

Author SHA1 Message Date
Christian
6951657c59 Bugfix: Swap before mod and div. 2014-11-03 15:44:22 +01:00
Christian
2088aaa85b Merge remote-tracking branch 'ethereum/develop' into sol_contractCompiler
Conflicts:
	libsolidity/AST.cpp
	libsolidity/AST.h
	libsolidity/Compiler.cpp
	libsolidity/Compiler.h
	libsolidity/NameAndTypeResolver.h
	libsolidity/Types.cpp
	solc/main.cpp
	test/solidityCompiler.cpp
2014-10-31 17:20:27 +01:00
Christian
c0528f511a Actual contract creator and add solidity to AlethZero interface. 2014-10-31 14:37:23 +01:00
Gav Wood
882b8ad089 Big fixes. 2014-10-31 14:35:13 +01:00
chriseth
be45d11e4c Merge pull request #415 from chriseth/sol_expressionCompiler
Solidity expression compiler
2014-10-31 13:42:24 +01:00
Gav Wood
882ee7db3e Merge pull request #432 from CJentzsch/newTests
Added tests for SIGNEXTEND and BNOT
2014-10-31 13:12:25 +01:00
Christian
f6c46c57f3 Function selector and variable (un)packing. 2014-10-30 21:21:25 +01:00
Christian
fa24c954a5 Renamed file. 2014-10-30 21:21:25 +01:00
Gav Wood
bf763824f3 Fix for Trie roots.
AddressState -> Account.
2014-10-30 13:47:28 +01:00
Christian
6642992c97 Merge remote-tracking branch 'ethereum/develop' into sol_contractCompiler 2014-10-30 01:25:42 +01:00
Christian
b0d4e0dedf Contract compiler and also add ExpressionStatement to AST.
ExpressionStatement functions as glue between Statements and Expressions.

This way it is possible to detect when the border between statements and
expressions is crossed while walking the AST. Note that ExpressionStatement is
not the only border, almost every statement can contains expressions.
2014-10-30 01:25:42 +01:00
Christoph Jentzsch
5de54b4c0d Clean up 2014-10-29 22:22:56 +01:00
Christoph Jentzsch
7fd46aacf6 Update tests to new definition 2014-10-29 22:22:56 +01:00
Christoph Jentzsch
02e232857d clean up PR 2014-10-29 22:22:55 +01:00
Christoph Jentzsch
e551b63cd1 Update SIGNEXTEND definition and tests
Conflicts:
	libevm/VM.h
	test/vmBitwiseLogicOperationTestFiller.json
2014-10-29 22:19:23 +01:00
Christian
70d7d9b3bc Further const placement changes. 2014-10-29 19:41:07 +01:00
Christian
c5c33485d8 Merge remote-tracking branch 'ethereum/develop' into sol_expressionCompiler 2014-10-29 19:26:02 +01:00
Gav Wood
5110ffe304 Merge pull request #442 from chriseth/sol_fix_break
Parser fix: Consume break and continue.
2014-10-29 19:07:39 +01:00
Gav Wood
4c895be53f Merge pull request #434 from CJentzsch/vmtraceBugFix
Vmtrace bug fix
2014-10-29 19:06:54 +01:00
Christian
e08065a2fb Compiler for assignments. 2014-10-29 14:33:25 +01:00
Christian
d706631412 NEG->BNOT change 2014-10-29 14:26:37 +01:00
Christian
9eacf5737f Merge remote-tracking branch 'ethereum/develop' into sol_contractCompiler
Conflicts:
	libsolidity/Types.cpp
2014-10-29 13:54:36 +01:00
Christian
3f4befd6b4 Parser fix: Consume break and continue. 2014-10-29 13:00:22 +01:00
Christian
eb254f6fdf Adjustments for the NEG->BNOT change. 2014-10-28 17:09:06 +01:00
Christian
d2a474f7fa Merge remote-tracking branch 'ethereum/develop' into sol_expressionCompiler
Conflicts:
	libsolidity/Types.cpp
2014-10-28 17:01:04 +01:00
Christian
28ef0f0f1e Forgot some asterisks. 2014-10-28 16:57:20 +01:00
Paweł Bylica
cacc4477bf Fix VM test code loading conditions 2014-10-28 16:26:33 +01:00
Christoph Jentzsch
3381372200 merge 2014-10-28 12:17:53 +01:00
Christoph Jentzsch
01e9cf0cad Fixed storage output in VMTRACE for vm tests 2014-10-28 12:11:52 +01:00
Christoph Jentzsch
6b4d35259a Added tests for SIGNEXTEND and BNOT 2014-10-28 08:50:05 +01:00
Christoph Jentzsch
a54c3ae704 Merge remote-tracking branch 'upstream/develop' into newTests
Conflicts:
	test/vm.cpp
	test/vm.h
2014-10-28 07:28:05 +01:00
Gav Wood
f59a8f5824 Merge pull request #428 from CJentzsch/useETHEREUM_TEST_PATH
use ETHEREUM_TEST_PATH in all tests
2014-10-28 03:41:27 +01:00
Christoph Jentzsch
f1f8e2632d Update vm.h 2014-10-27 22:33:50 +01:00
Christoph Jentzsch
a0cfe7aeef Update vm.cpp 2014-10-27 22:33:23 +01:00
Christoph Jentzsch
8f05f86e16 Merge remote-tracking branch 'upstream/develop' into vmtrace 2014-10-27 22:21:46 +01:00
Christoph Jentzsch
7a3517ed3a log VMTRACE in file for user defined test 2014-10-27 22:21:30 +01:00
Gav Wood
0006d8fefa Draft of new LOG/bloom/headers/block format. 2014-10-27 20:26:34 +01:00
Christoph Jentzsch
6d1c06a719 VMTRACE for internal calls
Conflicts:
	test/vm.cpp
2014-10-27 19:01:10 +01:00
Christoph Jentzsch
1905208649 Add VMTRACE to user defined vm test
Conflicts:
	test/vm.cpp
2014-10-27 18:59:42 +01:00
Christoph Jentzsch
88cb7f5c8b Merge remote-tracking branch 'upstream/develop' into newTests
Conflicts:
	libevm/VM.h
	libevmface/Instruction.h
	test/vm.cpp
2014-10-27 18:29:30 +01:00
Christoph Jentzsch
0a3b337be5 use ETHEREUM_TEST_PATH in all tests 2014-10-27 17:30:27 +01:00
Christoph Jentzsch
f6e60137e9 bugfix 2014-10-27 17:23:17 +01:00
Christoph Jentzsch
fb21574455 use ETHEREUM_TEST_PATH in all tests 2014-10-27 17:04:18 +01:00
Gav Wood
dba99342ba Move suicides into SubState and include logs and refunds.
Refund gas from zero-resetting SSTOREs.
2014-10-27 16:32:53 +01:00
Gav Wood
ed7a56cc16 PoC-7: Reversion of 0-hashes, empty-list hashes and sha3('') -> '' 2014-10-27 14:13:16 +01:00
Christoph Jentzsch
b69cc9815f VMTRACE for internal calls 2014-10-27 13:54:59 +01:00
Christoph Jentzsch
4651b9f3a7 Add VMTRACE to user defined vm test 2014-10-27 12:45:29 +01:00
Christian
b03a6a3563 Expression compiler. 2014-10-24 19:38:13 +02:00
Gav Wood
08c45c85b4 Merge pull request #412 from CJentzsch/newTests
New vm tests
2014-10-24 15:12:35 +02:00
subtly
9a6b5fd613 style. remove unused code. 2014-10-23 22:12:47 +02:00