laconicd-deprecated/rpc/namespaces/ethereum
yihuang 2ce168526a
fix!: fix json-rpc failures for pruned nodes (#1126)
* fix json-rpc failures for pruned nodes

Closes: #1123
Solution:
- try to parse base fee from events if grpc query failed
- use a `nil` base fee if failed to parse base fee from events
- use zero address if query validator address failed
- optimize some json-rpc apis by the way.

* changelog

* fix lint

* use GetTendermintBlockResultByNumber

* refactor

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-06-22 13:26:20 +02:00
..
debug all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
eth fix!: fix json-rpc failures for pruned nodes (#1126) 2022-06-22 13:26:20 +02:00
miner all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
net all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
personal all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
txpool all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
web3 all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00