go-ethereum/tests
Jeffrey Wilcke bbc4ea4ae8 core/vm: improved EVM run loop & instruction calling (#3378)
The run loop, which previously contained custom opcode executes have been
removed and has been simplified to a few checks.

Each operation consists of 4 elements: execution function, gas cost function,
stack validation function and memory size function. The execution function
implements the operation's runtime behaviour, the gas cost function implements
the operation gas costs function and greatly depends on the memory and stack,
the stack validation function validates the stack and makes sure that enough
items can be popped off and pushed on and the memory size function calculates
the memory required for the operation and returns it.

This commit also allows the EVM to go unmetered. This is helpful for offline
operations such as contract calls.
2017-01-05 11:52:10 +01:00
..
files tests: update from github.com/ethereum/tests @ f21c49dc816e 2016-11-24 22:54:50 +01:00
block_test_util.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
block_test.go core, core/vm: added gas price variance table 2016-10-14 18:09:17 +02:00
init.go tests: update from github.com/ethereum/tests @ f21c49dc816e 2016-11-24 22:54:50 +01:00
rlp_test_util.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
rlp_test.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
state_test_util.go core/vm: improved EVM run loop & instruction calling (#3378) 2017-01-05 11:52:10 +01:00
state_test.go core/vm: improved EVM run loop & instruction calling (#3378) 2017-01-05 11:52:10 +01:00
transaction_test_util.go tests: updated 2016-11-13 23:26:07 +01:00
transaction_test.go tests: updated 2016-11-13 23:26:07 +01:00
util.go core/vm: improved EVM run loop & instruction calling (#3378) 2017-01-05 11:52:10 +01:00
vm_test_util.go core/vm: improved EVM run loop & instruction calling (#3378) 2017-01-05 11:52:10 +01:00
vm_test.go core/vm: improved EVM run loop & instruction calling (#3378) 2017-01-05 11:52:10 +01:00