aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vm_test.go
Commit message (Collapse)AuthorAgeFilesLines
* cmd/evm, core/vm, test: refactored VM and coreJeffrey Wilcke2015-10-041-2/+2
| | | | | | | | | | | | | | | | | * 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`.
* cmd/evm, core/vm, tests: changed DisableVm to EnableVmJeffrey Wilcke2015-08-121-2/+3
|
* core/vm: reduced big int allocationsJeffrey Wilcke2015-08-071-1/+1
| | | | | | | 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.
* core/vm, tests: implemented semi-jit vmJeffrey Wilcke2015-08-071-0/+14
| | | | * changed stack and removed stack ptr. Let go decide on slice reuse.
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: update license informationFelix Lange2015-07-071-0/+16
|
* Add --skip option to CLITaylor Gerring2015-06-191-14/+14
| | | | | Disassociates hardcoded tests to skip when running via CLI. Tests still skipped when running `go test`
* Cleanup/reorgTaylor Gerring2015-06-191-2/+0
|
* Return error up stack instead of passing testing var downTaylor Gerring2015-06-191-14/+42
|
* Fix pathsTaylor Gerring2015-06-191-14/+17
|
* Split tests from helper codeTaylor Gerring2015-06-191-310/+1
|
* Flatten vm directoryTaylor Gerring2015-06-191-0/+387