aboutsummaryrefslogtreecommitdiffstats
path: root/tests/state_test_util.go
Commit message (Collapse)AuthorAgeFilesLines
* all: update license informationFelix Lange2016-04-151-1/+1
|
* core: added basic chain configurationJeffrey Wilcke2016-04-011-22/+14
| | | | | | | | | 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.
* core: Added EVM configuration optionsJeffrey Wilcke2016-03-241-1/+0
| | | | | The EVM is now initialised with an additional configured object that allows you to turn on debugging options.
* tests: updated homestead testsJeffrey Wilcke2016-02-181-3/+3
|
* parmas, crypto, core, core/vm: homestead consensus protocol changesGustav Simonsson2016-02-181-7/+10
| | | | | | | | * change gas cost for contract creating txs * invalidate signature with s value greater than secp256k1 N / 2 * OOG contract creation if not enough gas to store code * new difficulty adjustment algorithm * new DELEGATECALL op code
* core, core/state: move gas tracking out of core/stateFelix Lange2015-10-171-5/+3
| | | | | | | The amount of gas available for tx execution was tracked in the StateObject representing the coinbase account. This commit makes the gas counter a separate type in package core, which avoids unintended consequences of intertwining the counter with state logic.
* core/state, core, miner: handle missing root error from state.NewGustav Simonsson2015-10-161-2/+2
|
* 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`.
* Merge pull request #1405 from fjl/lean-trieJeffrey Wilcke2015-10-011-4/+4
|\ | | | | core, trie: new trie
| * core, core/state: batch-based state syncFelix Lange2015-09-231-4/+4
| |
* | tests: add test for StateTests/stCallCodes.jsonGustav Simonsson2015-09-211-1/+2
|/
* tests: update common test wrappers and test filesGustav Simonsson2015-09-181-3/+0
|
* cmd/evm, core/vm, tests: changed DisableVm to EnableVmJeffrey Wilcke2015-08-121-3/+3
|
* core/vm, tests: implemented semi-jit vmJeffrey Wilcke2015-08-071-0/+56
| | | | * 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
|
* cmd,eth,rpc,tests: default coinbaseJeffrey Wilcke2015-07-071-9/+11
|
* core, miner, tests: renamed state methodsJeffrey Wilcke2015-07-041-1/+1
| | | | | | | | | | | | * Update => SyncIntermediate * Added SyncObjects SyncIntermediate only updates whatever has changed, but, as a side effect, requires much more disk space. SyncObjects will only sync whatever is required for a block and will not save intermediate state to disk. As drawback this requires more time when more txs come in.
* tests: SetGasLimitobscuren2015-06-211-1/+1
|
* Add --skip option to CLITaylor Gerring2015-06-191-7/+7
| | | | | Disassociates hardcoded tests to skip when running via CLI. Tests still skipped when running `go test`
* recover test logicTaylor Gerring2015-06-191-1/+1
|
* Build error fixesTaylor Gerring2015-06-191-5/+4
|
* Add stdin optionTaylor Gerring2015-06-191-66/+100
|
* Cleanup loggingTaylor Gerring2015-06-191-2/+3
|
* DRY file loadingTaylor Gerring2015-06-191-7/+1
|
* More consistent test interfaces + test skippingTaylor Gerring2015-06-191-18/+18
|
* Cleanup/reorgTaylor Gerring2015-06-191-38/+1
|
* Return error up stack instead of passing testing var downTaylor Gerring2015-06-191-11/+12
|
* DRY log checkTaylor Gerring2015-06-191-32/+40
|
* Separate and identify tests runnersTaylor Gerring2015-06-191-0/+181