laconicd/rpc
yihuang 1fe07edbf9
evm: refactor dup state transition code (#674)
* Problem: state transition code is duplicated

Closes: #672

Solution:
- move gas refund out from ApplyMessage
- move check into ApplyMessage
- move evm construction into ApplyMessage
- ensure context stack is clean after ApplyMessage return

fix unit tests

undo rename

add underflow check

* improve performance

- don't duplicate params loading
- passing EVMConfig around as pointer
2021-10-22 19:21:03 +02:00
..
ethereum evm: refactor dup state transition code (#674) 2021-10-22 19:21:03 +02:00
apis.go rpc: restructure JSON-RPC directory and rename server config (#612) 2021-10-01 14:49:22 +00:00
doc.go rpc: restructure JSON-RPC directory and rename server config (#612) 2021-10-01 14:49:22 +00:00
websockets.go rpc: geth v1.10.9 changes (#624) 2021-10-06 11:22:32 +00:00