Commit Graph

138 Commits

Author SHA1 Message Date
obscuren 19efebe91e Updated tests and fixed suicide 2015-03-09 11:28:35 +01:00
obscuren ed84b58af5 Debug option for VM & command line flag 2015-03-06 16:58:52 +01:00
obscuren 548e104171 Merge branch 'poc-9' of github.com-obscure:ethereum/go-ethereum into poc-9 2015-03-06 16:40:21 +01:00
Felix Lange bdba044a80 ethutil: remove Config variable
Various functions throughout the codebase used it to grab settings. This
has to stop because I want to use them without reading the config file.

These functions can now be used without reading the config first:

* ethdb.NewLDBDatabase
* ethrepl.NewJSRepl
* vm.New
2015-03-06 02:46:56 +01:00
obscuren 88ff13c241 Spec changes.
* All errors during state transition result in an invalid tx
2015-03-05 19:51:25 +01:00
obscuren 5817dab89e Merge branch 'develop' into poc-9 2015-03-04 10:51:44 +01:00
obscuren fa831206c6 Updated gast costs 2015-03-03 13:29:52 +01:00
Paweł Bylica e72173dc43 Fix JitVm build 2015-03-03 12:31:26 +01:00
obscuren ba0a758d8c Quad mem & log changes 2015-03-03 11:56:43 +01:00
obscuren fa910966ed Redone rlp 2015-03-03 11:18:50 +01:00
obscuren c1ef19bef9 quad mem 2015-03-03 11:11:11 +01:00
Paweł Bylica 24003c76d1 Merge remote-tracking branch 'upstream/develop' into evmjit 2015-03-02 18:46:55 +01:00
Paweł Bylica 9c6d9dfc5c Add required block number 2015-03-02 18:43:01 +01:00
obscuren 200f66537c updated tests 2015-03-02 17:55:45 +01:00
obscuren b383ff0b96 New gas prices model 2015-03-02 16:32:02 +01:00
obscuren 73c52d1677 Merge branch 'ethersphere-blockpool2' into poc-9 2015-02-28 20:52:57 +01:00
obscuren 7adf065b10 Simple effective VM optimisation
Added a debug flag to the VM which determines if VM output is shown
regardless of the log level set.
2015-02-28 20:14:01 +01:00
obscuren e235b57234 Fixed consensus issue for refunding
* Refund should _always_ go to the origin
2015-02-26 20:08:35 +01:00
obscuren 37e6870f64 wip 2015-02-26 18:39:05 +01:00
Paweł Bylica 114c3b4efe Merge remote-tracking branch 'upstream/develop' into evmjit 2015-02-23 18:39:05 +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
Paweł Bylica b9894c1d09 Update JIT interface to ABI 0.2: code hash added to input data, gas counter passed as int64 2015-02-16 16:27:11 +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