laconicd-deprecated/x/evm
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
..
atlas chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00
client chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00
keeper rpc, evm: use binary search to estimate gas (#272) 2021-07-19 15:19:23 +00:00
spec chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00
types rpc, evm: use binary search to estimate gas (#272) 2021-07-19 15:19:23 +00:00
genesis_test.go all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
genesis.go evm: move ChainConfig to Params (#266) 2021-07-14 05:13:55 -04:00
handler_test.go evm: TxData as proto.Any (#220) 2021-07-05 16:39:08 +00:00
handler.go chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00
module.go all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00