laconicd-deprecated/ethereum/rpc
yihuang 14b38af8bc
rpc, evm: use binary search to estimate gas (#272)
* do binary search to estimate gas

Closes #268

- Also refactor ApplyMessage to be more reuseable

move binary search to rpc api side to have a clean context each try

remove EstimateGas grpc api

* extract BinSearch function and add unit test

* do estimateGas in grpc query

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-07-19 15:19:23 +00:00
..
backend evm, rpc: fix parameters and block gas limit in getBlockByHeight and getBlockByHash (#312) 2021-07-19 01:52:44 +00:00
namespaces rpc, evm: use binary search to estimate gas (#272) 2021-07-19 15:19:23 +00:00
pubsub fix and comment outdated tests (#155) 2021-06-21 10:17:31 -04:00
types evm, rpc: fix parameters and block gas limit in getBlockByHeight and getBlockByHash (#312) 2021-07-19 01:52:44 +00:00
apis.go rpc: fix inconsistent logging levels (#265) 2021-07-12 18:39:35 +00:00
doc.go more fixes 2021-04-18 18:39:15 +02:00
websockets.go rpc: fix inconsistent logging levels (#265) 2021-07-12 18:39:35 +00:00