laconicd-deprecated/rpc
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
..
backend fix!: fix json-rpc failures for pruned nodes (#1126) 2022-06-22 13:26:20 +02:00
ethereum/pubsub rpc: refactor rpc packages and backend to support cosmos namespace (#1070) 2022-05-02 06:26:24 +00:00
namespaces/ethereum fix!: fix json-rpc failures for pruned nodes (#1126) 2022-06-22 13:26:20 +02:00
types all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
apis.go imp(rpc): restrict unprotected txs on the node RPC (#1143) 2022-06-22 12:50:36 +02:00
doc.go rpc: restructure JSON-RPC directory and rename server config (#612) 2021-10-01 14:49:22 +00:00
websockets.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00