erigon-pulse/accounts/abi
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
..
bind core/vm: improved EVM run loop & instruction calling (#3378) 2017-01-05 11:52:10 +01:00
abi_test.go accounts/abi: add support for function types (#3405) 2017-01-05 11:46:44 +01:00
abi.go accounts/abi: add support for function types (#3405) 2017-01-05 11:46:44 +01:00
argument.go accounts/abi: add support for "anonymous" and "indexed" for events (#3464) 2016-12-22 01:51:20 +01:00
doc.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
error.go accounts/abi: fixed string and fixed size bytes packing 2016-04-28 12:41:47 +02:00
event_test.go all: update license information 2016-04-15 09:48:05 +02:00
event.go accounts/abi: add support for "anonymous" and "indexed" for events (#3464) 2016-12-22 01:51:20 +01:00
method.go accounts/abi: Negative numbers not properly converted in ABI encoding 2016-06-06 14:27:15 +02:00
numbers_test.go accounts/abi: fix uint64 upper range encoding. 2016-06-10 12:32:08 +03:00
numbers.go accounts/abi: fix uint64 upper range encoding. 2016-06-10 12:32:08 +03:00
packing.go accounts/abi: add support for function types (#3405) 2017-01-05 11:46:44 +01:00
reflect.go accounts/abi: differentiate between static and dynamic arrays (#3121) 2016-11-03 23:25:19 +01:00
type_test.go accounts/abi: clean up PR and add type parsing tests 2016-12-19 14:11:11 +02:00
type.go accounts/abi: add support for function types (#3405) 2017-01-05 11:46:44 +01:00