We need to test the validator every time we push new code, so, it is required to build some scripts or code to test some of the vital interactions with the miners and the metagraph
Testing list
[ ] Is the validator calling miners? Deploy a miner ( Dependency on docker setup ) and check if the miner gets a call from the deployed validator
[ ] Is the validator ignoring miners that don't meet the selection criteria? ( deploy a miner that doesn't meet the selection criteria and check if it's being ignored )
[ ] Setting weights ( Check if the weights are being set correctly after some calls to miners ) There is an example on the parent ticket #99 (link)
[ ] Check that the scores are being updated ( deploy a miner and make some calls to the validator api, check that the state.pt file is updated )
This scripts must be called from the GH actions set up on #117
Based on #99
We need to test the validator every time we push new code, so, it is required to build some scripts or code to test some of the vital interactions with the miners and the metagraph
Testing list
[ ] Is the validator calling miners? Deploy a miner ( Dependency on docker setup ) and check if the miner gets a call from the deployed validator
[ ] Is the validator ignoring miners that don't meet the selection criteria? ( deploy a miner that doesn't meet the selection criteria and check if it's being ignored )
[ ] Setting weights ( Check if the weights are being set correctly after some calls to miners )
There is an example on the parent ticket #99
(link)[ ] Check that the scores are being updated ( deploy a miner and make some calls to the validator api, check that the state.pt file is updated )
This scripts must be called from the GH actions set up on #117