Changes featured in v1.2.0
release
Fixes
- fix: APIs returning response of data type array of json objects not supported.
- fix: Fetching private key every time increases goroutine count
- fix: Every time a new http client was introduced for each request increases goroutine count
Faster processing
- Processing of jobs and collections concurrently.
- Caching jobs and collections.
- Optimised GetIteration implementation with concurrency.
- Optimised
CalculateBiggestStake
using batch calls forgetStakeSnapshot
contract calls
RPC Optimisation
- Reduce GetLatestBlock and GetStakerId calls
Refactor changes
- Refactor: Flag input function refactored using a single generic function
- Refactor: Config getters and setters module refactored using a generic function.
- Refactor: Refactored tests by removing redundant mocks and test util functions.
Config changes
- Updated default values for
logFileMaxAge
andlogFileMaxBackups