laconicd/x/evm/types
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
..
access_list_tx.go evm: TxData as proto.Any (#220) 2021-07-05 16:39:08 +00:00
access_list.go lint: fix many broken lint issues (#49) 2021-06-08 03:07:11 -04:00
callargs.go grpc: add eth_call query command (#236) 2021-07-09 09:04:46 +00:00
chain_config_test.go evm: move ChainConfig to Params (#266) 2021-07-14 05:13:55 -04:00
chain_config.go evm: move ChainConfig to Params (#266) 2021-07-14 05:13:55 -04:00
codec_test.go evm: TxData as proto.Any (#220) 2021-07-05 16:39:08 +00:00
codec.go evm: TxData as proto.Any (#220) 2021-07-05 16:39:08 +00:00
errors.go evm: store reverted tx as not failed (#228) 2021-07-08 08:14:11 +00:00
events.go evm: treat all vm errors the same as reverted (#276) 2021-07-15 02:01:05 -04:00
evm.pb.go evm: move ChainConfig to Params (#266) 2021-07-14 05:13:55 -04:00
genesis_test.go evm: move ChainConfig to Params (#266) 2021-07-14 05:13:55 -04:00
genesis.go evm: move ChainConfig to Params (#266) 2021-07-14 05:13:55 -04:00
genesis.pb.go evm: move ChainConfig to Params (#266) 2021-07-14 05:13:55 -04:00
interfaces.go all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
key.go fix: return ethereum-formatted tx hash to client (#202) 2021-06-30 05:35:11 -04:00
legacy_tx.go evm: TxData as proto.Any (#220) 2021-07-05 16:39:08 +00:00
logs_test.go chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00
logs.go chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00
msg_test.go evm: TxData as proto.Any (#220) 2021-07-05 16:39:08 +00:00
msg.go rpc: implement eth_getPendingTransactions (#259) 2021-07-12 17:42:53 +00:00
params_test.go evm: move ChainConfig to Params (#266) 2021-07-14 05:13:55 -04:00
params.go evm: fix ExtraEIP activation (#288) 2021-07-14 11:10:31 +00:00
query.pb.go rpc, evm: use binary search to estimate gas (#272) 2021-07-19 15:19:23 +00:00
query.pb.gw.go rpc, evm: use binary search to estimate gas (#272) 2021-07-19 15:19:23 +00:00
storage_test.go evm: fix types unit tests (#154) 2021-06-21 09:09:23 -04:00
storage.go chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00
tx_data_test.go evm: TxData as proto.Any (#220) 2021-07-05 16:39:08 +00:00
tx_data.go evm: TxData as proto.Any (#220) 2021-07-05 16:39:08 +00:00
tx.go evm: treat all vm errors the same as reverted (#276) 2021-07-15 02:01:05 -04:00
tx.pb.go evm: treat all vm errors the same as reverted (#276) 2021-07-15 02:01:05 -04:00
utils_test.go rpc, evm: use binary search to estimate gas (#272) 2021-07-19 15:19:23 +00:00
utils.go rpc, evm: use binary search to estimate gas (#272) 2021-07-19 15:19:23 +00:00