laconicd/x/evm/types
yihuang 514785bd89
rpc: optimize tx index lookup (#810)
Closes: #760

Solution:
- emit tx index to cosmos events
- rpc side try to use the events, but fallback to heavier approach when fails.

Update rpc/ethereum/namespaces/eth/api.go

changelog

fix lint

fix TxIndexFromEvents

fix

Update rpc/ethereum/backend/backend.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-12-16 22:30:22 +00:00
..
access_list_test.go evm: unit tests (#619) 2021-10-08 13:11:19 +02:00
access_list_tx.go fix: use EffectiveGasPrice in ante handler for dynamic fee tx (#817) 2021-12-15 02:17:03 +00:00
access_list.go all: cleanup imports (#524) 2021-09-03 18:06:36 +00:00
chain_config_test.go build(deps): bump github.com/ethereum/go-ethereum from 1.10.9 to 1.10.11 (#676) 2021-10-25 15:01:04 +00:00
chain_config.go fix: improve error message in SendTransaction json-rpc api (#786) 2021-11-26 15:19:28 +01:00
codec_test.go all: linter (#532) 2021-09-05 11:03:06 +00:00
codec.go all: linter (#532) 2021-09-05 11:03:06 +00:00
compiled_contract.go tests: eth_sendRawTx (#804) 2021-12-01 09:38:59 +01:00
config.go evm: refactor dup state transition code (#674) 2021-10-22 19:21:03 +02:00
dynamic_fee_tx_test.go fix: Web3 RPC handlers panic (#702) 2021-10-26 13:13:27 +02:00
dynamic_fee_tx.go fix: use EffectiveGasPrice in ante handler for dynamic fee tx (#817) 2021-12-15 02:17:03 +00:00
ERC20Contract.json rpc: transaction receipt test (#678) 2021-10-20 21:00:17 +02:00
errors_test.go all: linter (#532) 2021-09-05 11:03:06 +00:00
errors.go fix: Web3 RPC handlers panic (#702) 2021-10-26 13:13:27 +02:00
events.go rpc: optimize tx index lookup (#810) 2021-12-16 22:30:22 +00:00
evm.pb.go build(deps): bump github.com/ethereum/go-ethereum from 1.10.9 to 1.10.11 (#676) 2021-10-25 15:01:04 +00:00
genesis_test.go evm: unit tests (#619) 2021-10-08 13:11:19 +02:00
genesis.go evm: fixed commented out simulations, pubsub, and handler tests (#655) 2021-10-11 13:09:53 +02:00
genesis.pb.go build(deps): bump github.com/ethereum/go-ethereum from 1.10.9 to 1.10.11 (#676) 2021-10-25 15:01:04 +00:00
interfaces.go evm: geth 1.10.9 fee market changes to Keeper and AnteHandler (#620) 2021-10-04 14:58:06 +00:00
key.go evm: fix import/export genesis for contract storage (#590) 2021-09-27 12:26:45 +02:00
legacy_tx_test.go fix: Web3 RPC handlers panic (#702) 2021-10-26 13:13:27 +02:00
legacy_tx.go fix: use EffectiveGasPrice in ante handler for dynamic fee tx (#817) 2021-12-15 02:17:03 +00:00
logs_test.go crypto: updates from reviews (#535) 2021-09-07 17:29:24 +00:00
logs.go fix: empty log topics shouldn't be encoded as nil (#840) 2021-12-14 15:52:22 +01:00
msg_test.go rpc: eth_feeHistory (#734) 2021-11-17 11:58:52 +00:00
msg.go fix: use EffectiveGasPrice in ante handler for dynamic fee tx (#817) 2021-12-15 02:17:03 +00:00
params_test.go evm, rpc: disable BaseFee for non London block (#662) 2021-10-13 15:39:47 +02:00
params.go evm, rpc: disable BaseFee for non London block (#662) 2021-10-13 15:39:47 +02:00
query.go rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
query.pb.go rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
query.pb.gw.go rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
storage_test.go all: cleanup imports (#524) 2021-09-03 18:06:36 +00:00
storage.go all: linter (#532) 2021-09-05 11:03:06 +00:00
TestMessageCall.json tests: add message call benchmark (#717) 2021-11-08 13:04:49 +00:00
tracer_test.go fix broken tracer unit test (#847) 2021-12-16 01:21:06 +00:00
tracer.go x/evm/types: properly split in 32 chunks trace.Memory (#838) 2021-12-15 02:29:49 +00:00
tx_args.go fix: remove duplicated gasPrice derivation (#836) 2021-12-15 03:05:11 +01:00
tx_data_test.go evm: fix Chain ID derivation (#579) 2021-09-21 11:31:19 +00:00
tx_data.go fix: use EffectiveGasPrice in ante handler for dynamic fee tx (#817) 2021-12-15 02:17:03 +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 rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
tx.pb.gw.go rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
utils_test.go all: bump go-ethereum to v1.10.9 (#231) 2021-10-05 15:38:20 +00:00
utils.go tests: integration tests with JSON-RPC client (#704) 2021-11-14 14:34:10 +01:00