obscuren
e235b57234
Fixed consensus issue for refunding
...
* Refund should _always_ go to the origin
2015-02-26 20:08:35 +01:00
Jeffrey Wilcke
dd086791ac
Merge pull request #360 from Gustav-Simonsson/add_stack_size_checks
...
Correct stack size validation for MUL, CALLDATACOPY, EXTCODESIZE, BLOCKH...
2015-02-22 13:28:50 +01:00
obscuren
bba85a2074
Added Number to logs
2015-02-22 13:24:26 +01:00
Gustav Simonsson
fd3793b8cf
Correct stack size validation for MUL, CALLDATACOPY, EXTCODESIZE, BLOCKHASH
2015-02-21 05:34:02 +01:00
obscuren
fdecc11128
Temp fix for #342
2015-02-19 11:09:46 +01:00
obscuren
3f6baa45a7
Documented methods & removed old manifest
2015-02-11 23:46:45 +01:00
obscuren
3f03197dae
Updated tests
2015-02-04 07:39:02 -08:00
obscuren
faa54e59c1
Make sure that CALL addr is always 20 bytes
2015-02-02 20:01:10 -08:00
obscuren
8ccde784f9
Added (disabled) Jit validation
2015-02-01 15:30:29 +01:00
obscuren
d52878c744
Removed some VMEnv & Added VmType() to vm.Environment
2015-02-01 15:29:57 +01:00
obscuren
84adf77bf3
Added RPC "Call" for JS calls to contracts
2015-01-29 13:10:34 +01:00
Paweł Bylica
079c59b929
Update JitVm to new EVM JIT ABI (C interface)
2015-01-26 18:02:09 +01:00
Paweł Bylica
c71aff99db
Update EVM JIT runtime data layout
2015-01-26 16:13:55 +01:00
Paweł Bylica
94106cc41f
JitVm code cleanups & refactoring. Some memory copies eliminated (i.e. in SHA3 calculation)
2015-01-23 16:45:22 +01:00
Paweł Bylica
d5f38f5690
JitVM: the EVM JIT bridge
2015-01-22 18:00:15 +01:00
obscuren
9845029a75
StdVm by default
2015-01-20 15:49:12 +01:00
obscuren
89c69a1d25
VmDebug => StdVm
2015-01-19 11:18:34 +01:00
obscuren
bb55307a9d
Updated tests
2015-01-13 20:31:31 +01:00
obscuren
82beaabf6a
Fixed consensus issue
2015-01-13 14:57:51 +01:00
obscuren
4704a0a288
remove pre compiled for tests
2015-01-13 10:30:52 +01:00
Jeffrey Wilcke
5b561f434d
Merge pull request #254 from chfast/pr/jitvm_stub
...
JitVm struct stub. Forwards calls to DebugVm.
2015-01-13 00:29:41 +01:00
obscuren
750d70c202
updated tests
2015-01-13 00:25:45 +01:00
Paweł Bylica
ba225017c4
JitVm struct stub. Forwards calls to DebugVm.
2015-01-12 19:40:14 +01:00
obscuren
8a1b51c716
updated tests
2015-01-12 16:13:30 +01:00
obscuren
75cd9cd2de
updated tests
2015-01-12 14:40:40 +01:00
obscuren
00348756bc
updated tests
2015-01-12 13:49:47 +01:00
obscuren
8c7b764d47
updated tests
2015-01-09 21:18:34 +01:00
obscuren
905b8cc82f
mem fixes for vm. Changed uncle inclusion tests
2015-01-09 17:38:35 +01:00
obscuren
6eb455032c
recover
2015-01-09 15:32:14 +01:00
obscuren
5c8c0ae04e
Fixed size 0 bug
2015-01-09 15:30:46 +01:00
obscuren
f0ec751237
Updated tests
2015-01-06 20:22:31 +01:00
obscuren
b99b2c446c
Precompiled contract & Depth change
...
* Added pre-compiled contract 0x04 (mem cpy)
* Changed depth error to return the gas instead of consuming
2015-01-05 17:39:42 +01:00
obscuren
09841b1c9b
Cleaned up some of that util
2015-01-04 14:20:16 +01:00
obscuren
bd0c267cbe
Cleanup old code
2015-01-03 17:29:08 +01:00
obscuren
ca1b2a1a91
Changed prev_hash to block_hash, state transition now uses vm env
...
* PREVHASH => BLOCKHASH( N )
* State transition object uses VMEnv as it's query interface
* Updated vm.Enviroment has GetHash( n ) for BLOCKHASH instruction
* Added GetHash to xeth, core, utils & test environments
2015-01-03 17:18:43 +01:00
obscuren
16f417f5af
Fixed bug where logging could crash client during tx adding
2015-01-02 22:19:58 +01:00
obscuren
55e55826ee
Changed JUMP(I) behaviour.
...
* All jumps must land on a JUMPDEST instruction byte.
* The byte may not be part of a PUSH*
2015-01-02 17:35:55 +01:00
obscuren
4dc7ee9087
Closure => Context
2015-01-02 16:14:12 +01:00
obscuren
4547a05a68
Minor improvements
...
* Moved gas and mem size to its own function
2014-12-31 11:12:40 +01:00
obscuren
4b4e082102
JUMPI never 'require' checked.
2014-12-31 10:32:53 +01:00
obscuren
a9068aa8ff
Merge branch 'develop' into poc8
2014-12-30 17:10:02 +01:00
obscuren
138ab26b8c
SIGNEXTEND missing from stack check
2014-12-30 17:09:43 +01:00
obscuren
2ebf33ac1c
removed variable
2014-12-30 16:17:56 +01:00
obscuren
29c887ef2c
Removed incorrect range check for push
2014-12-30 16:16:02 +01:00
obscuren
1508a23a6f
Minor updates on gas and removed/refactored old code.
2014-12-20 02:21:13 +01:00
obscuren
59ef6e3693
Cleaned up objects
2014-12-19 00:18:52 +01:00
obscuren
1e985f9865
Fixed casting error
...
* big(bytes) == 0 when len(bytes) > 0
2014-12-18 23:59:40 +01:00
obscuren
198cc69357
Gas corrections and vm fixes
2014-12-18 21:58:26 +01:00
obscuren
4dbdcaecb1
Moved pre-compiled, moved depth check
...
* Depth check has been moved to the execution
* Pre compiled execution has been moved to the VM
* PrecompiledAddress has been renamed to PrecompiledAccount
2014-12-17 23:58:52 +01:00
obscuren
8577e4171a
Panic for "Vm"
2014-12-12 22:24:27 +01:00