Jeffrey Wilcke
361082ec4b
cmd/evm, core/vm, test: refactored VM and core
...
* Moved `vm.Transfer` to `core` package and changed execution to call
`env.Transfer` instead of `core.Transfer` directly.
* core/vm: byte code VM moved to jump table instead of switch
* Moved `vm.Transfer` to `core` package and changed execution to call
`env.Transfer` instead of `core.Transfer` directly.
* Byte code VM now shares the same code as the JITVM
* Renamed Context to Contract
* Changed initialiser of state transition & unexported methods
* Removed the Execution object and refactor `Call`, `CallCode` &
`Create` in to their own functions instead of being methods.
* Removed the hard dep on the state for the VM. The VM now
depends on a Database interface returned by the environment. In the
process the core now depends less on the statedb by usage of the env
* Moved `Log` from package `core/state` to package `core/vm`.
9 years ago
Jeffrey Wilcke
9cacec70f9
cmd/evm, core/vm, tests: changed DisableVm to EnableVm
9 years ago
Jeffrey Wilcke
ac697326a6
core/vm: reduced big int allocations
...
Reduced big int allocation by making stack items modifiable. Instead of
adding items such as `common.Big0` to the stack, `new(big.Int)` is
added instead. One must expect that any item that is added to the stack
might change.
9 years ago
Jeffrey Wilcke
846f34f78b
core/vm, tests: implemented semi-jit vm
...
* changed stack and removed stack ptr. Let go decide on slice reuse.
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
ea54283b30
all: update license information
9 years ago
Taylor Gerring
0743243dce
Add --skip option to CLI
...
Disassociates hardcoded tests to skip when running via CLI. Tests still
skipped when running `go test`
10 years ago
Taylor Gerring
b6d40a9312
Cleanup/reorg
10 years ago
Taylor Gerring
c5d6fcbaba
Return error up stack instead of passing testing var down
10 years ago
Taylor Gerring
e82100367f
Fix paths
10 years ago
Taylor Gerring
a67a15528a
Split tests from helper code
10 years ago
Taylor Gerring
7b9fbb088a
Flatten vm directory
10 years ago
obscuren
787a61bb27
core/state, core/vm: reworked storage get / set to use common.Hash
10 years ago
Gustav Simonsson
d8e55a5cc3
Skip VMTests RandomTests temporarily until they are fixed
10 years ago
Gustav Simonsson
6ad817e17b
Add StateTests/RandomTests and VMTests/RandomTests
10 years ago
obscuren
9617aa8e19
tests: added conditional skip on long running VM tests
...
Set the TEST_VM_COMPLEX env var to test complex vm tests which require a
lot of ram and quite some time.
10 years ago
obscuren
f5af1fdca8
core/vm: RETURN op code returns pointer to memory rather than copy
10 years ago
obscuren
648b352424
tests/vm: updated tests and skipped output for specific tests
...
Skipped tests due to large return value
10 years ago
Gustav Simonsson
619e8a4f03
Add StateTests/RandomTests but skip for now
10 years ago
Gustav Simonsson
32276e8b01
Update StateTests and nil create return on failed code deposit
10 years ago
Gustav Simonsson
dadf01de60
unskip StateTests/stTransactionTest and use test tx nonce
10 years ago
Gustav Simonsson
24de35ef09
Add StateTests/stMemoryStressTest.json but skip for now
10 years ago
Gustav Simonsson
7254278c09
Add test wrapper for VMTests/vmInputLimits1.json
10 years ago
obscuren
a7750c929b
Fixed tests to reflect log changes
10 years ago
obscuren
a0e44e3281
basic glog
10 years ago
obscuren
c59c826ab4
fixed stack level
10 years ago
obscuren
23bccbbc58
Modified according to poc 9 changes
...
* Refund of value
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
86661de077
Fixed tests and bloom
10 years ago
obscuren
c21293cd91
bloom
10 years ago
obscuren
0fa7859b94
Fixed VM & Tests w/ conversion
10 years ago
obscuren
b0ebccb31e
fixed to
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
f76cc6699e
Changed context and ADDMOD, MULMOD
...
* Cleaned up VM execution. VM run now takes a context
* ADDMOD/MULMOD - removed incorrect cast
10 years ago
obscuren
11390a986a
run all test
10 years ago
obscuren
347cb272be
fixed ethtest
10 years ago
obscuren
9007f2bbdc
reworked stack
10 years ago
obscuren
0795fd2701
wip
10 years ago
obscuren
19efebe91e
Updated tests and fixed suicide
10 years ago
Paweł Bylica
0af08eca1f
Fix VM tests not checked
10 years ago
obscuren
ee0a1bec6c
GasLimit check updated
10 years ago
obscuren
c74c07eed1
Fixed error for invalid transaction
10 years ago
obscuren
fa831206c6
Updated gast costs
10 years ago
obscuren
524bf9e858
wup
10 years ago
obscuren
1650b59cd9
Delet => Delete
10 years ago
obscuren
49da6a8d80
Fixed test helper
10 years ago
obscuren
fa910966ed
Redone rlp
10 years ago
obscuren
c1ef19bef9
quad mem
10 years ago
obscuren
200f66537c
updated tests
10 years ago