laconicd-deprecated/rpc/ethereum
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
..
backend refactor: eth_call and eth_estimateGas don't need to pass base fee as field (#671) 2021-10-21 17:29:19 +02:00
namespaces evm: refactor dup state transition code (#674) 2021-10-22 19:21:03 +02:00
pubsub fix pubsub underterministic test (#666) 2021-10-13 09:07:20 +00:00
types rpc, feemarket: store base fee in event (#673) 2021-10-15 08:59:26 +00:00