Felix Lange
d04a2e7557
all: update license information
9 years ago
Jeffrey Wilcke
f0cbebb19f
core: added basic chain configuration
...
Added chain configuration options and write out during genesis database
insertion. If no "config" was found, nothing is written to the database.
Configurations are written on a per genesis base. This means
that any chain (which is identified by it's genesis hash) can have their
own chain settings.
9 years ago
Gustav Simonsson
1b1f293082
core/state, core, miner: handle missing root error from state.New
9 years ago
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
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
10 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
8d3faf69d0
Build error fixes
10 years ago
Taylor Gerring
baea8e87e5
Rebase cleanup
10 years ago
Taylor Gerring
01ec4dbb12
Add stdin option
10 years ago
Taylor Gerring
c941a39b75
Cleanup logging
10 years ago
Taylor Gerring
6ff956394a
DRY file loading
10 years ago
Taylor Gerring
ac0637c413
More consistent test interfaces + test skipping
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
24554629b1
DRY log check
10 years ago
Taylor Gerring
7c6ef0ddac
Separate and identify tests runners
10 years ago
Taylor Gerring
1b26d4f220
Flatten helper directory
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