laconicd-deprecated/x/evm/keeper
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
..
abci.go evm: update block bloom (#193) 2021-06-30 03:37:03 -04:00
grpc_query_test.go evm: move ChainConfig to Params (#266) 2021-07-14 05:13:55 -04:00
grpc_query.go rpc, evm: use binary search to estimate gas (#272) 2021-07-19 15:19:23 +00:00
keeper_test.go evm: move ChainConfig to Params (#266) 2021-07-14 05:13:55 -04:00
keeper.go evm: fix BlockBloom not found for latest height (#263) 2021-07-12 10:25:15 +00:00
msg_server.go evm: treat all vm errors the same as reverted (#276) 2021-07-15 02:01:05 -04:00
params_test.go chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00
params.go evm: move ChainConfig to Params (#266) 2021-07-14 05:13:55 -04:00
state_transition_test.go evm: use block proposer address for COINBASE opcode (#291) 2021-07-14 20:44:51 +00:00
state_transition.go rpc, evm: use binary search to estimate gas (#272) 2021-07-19 15:19:23 +00:00
statedb_test.go evm: TxData as proto.Any (#220) 2021-07-05 16:39:08 +00:00
statedb.go fix: return ethereum-formatted tx hash to client (#202) 2021-06-30 05:35:11 -04:00