* add grpc only mode flag
* add change log
* add tmNode nil check
* only flag to modes
* fix close for query mode
* fix hint
* keep grpc-only & json-rpc-only
* rm space
* mv apiSrv close
* mv cpuProfileCleanup
* mv tmNode stop
* disable indexer on query only
which need tm client on start
* update nix
* revert json-rpc-only change
* imp(rpc) Add support for EVM RPC metrics
- Support --metrics flag
- Add EVM rpc metrics server config
* Update as per PR feedback
Co-authored-by: Freddy Caceres <facs95@gmail.com>
* Store eth tx index separately
Closes: #1075
Solution:
- run a optional indexer service
- adapt the json-rpc to the more efficient query
changelog
changelog
fix lint
fix backward compatibility
fix lint
timeout
better strconv
fix linter
fix package name
add cli command to index old tx
fix for loop
indexer cmd don't have access to local rpc
workaround exceed block gas limit situation
add unit tests for indexer
refactor
polish the indexer module
Update server/config/toml.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
improve comments
share code between GetTxByEthHash and GetTxByIndex
fix unit test
Update server/indexer.go
Co-authored-by: Freddy Caceres <facs95@gmail.com>
* Apply suggestions from code review
* test enable-indexer in integration test
* fix go lint
* address review suggestions
* fix linter
* address review suggestions
- test indexer in backend unit test
- add comments
* fix build
* fix test
* service name
Co-authored-by: Freddy Caceres <facs95@gmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* remove gosec warnigs with medium severity
* Improvement(Ethermint): Fix gosec vulnerabilities
* Improvement(Evmos): address pr comments
* Improvement(Ethermint): Fix flags test by using PersistentFlags() instead of Flags()
* Improvement(Ethermint): Fix return of defer function
* Improvement(Ethermint): Replace PersistentFlags with Flags
* Apply suggestions from code review
* Improvement(Ethermint): Use persisentFlags again and remove required attribute for chain id
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Problem: No way to limit total number of filters that can be created
Solution: Add a config parameter to set the total number of filters that can be created
* Add defer statement for releasing locks
* Change default value for filter cap to 200
* Changed data type of filter cap to int32
* Add changelog entry
* Update CHANGELOG.md
* Fix struct alignment
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>