laconicd-deprecated/rpc/namespaces/ethereum/eth
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
..
filters fix!: fix json-rpc failures for pruned nodes (#1126) 2022-06-22 13:26:20 +02:00
api.go fix!: fix json-rpc failures for pruned nodes (#1126) 2022-06-22 13:26:20 +02:00