[ADD] Lite Nodes (1/3): Add NodeType and update keeper/helpers
Related to #1012 (closed)
First PR of at least 3 for Lite Nodes
- Added concept of NodeType as enum on NodeAccount (0 = Validator, 1 = Lite)
- Updated relevant Keeper methods to only return Validator NodeAccounts
- Block Lite NodeAccounts from setting ip address and setting version
- Update GetRandomNodeAccount test helper func to accept NodeType as well
- Add tests for new functionality
Edited by Heimdall