DefiantLabs / cosmos-tax-cli

An opensource cosmos tax tool!
https://defiantlabs.net
Apache License 2.0
25 stars 7 forks source link

Validation requires start and end block when explicit block file is provided #522

Closed pharr117 closed 9 months ago

pharr117 commented 9 months ago

The validation for chain indexing (TX indexing) is here:

https://github.com/DefiantLabs/cosmos-tax-cli/blob/d62374fb0f38ee635474d6c5ac1265ef05d23fb1/config/index_config.go#L99-L107

This ignores when the user provides a block input file, forcing them to set start and end blocks that are then ignored when the block file is loaded.