Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update subnet synchronization #35

Open
drunest opened this issue Sep 11, 2024 · 0 comments
Open

update subnet synchronization #35

drunest opened this issue Sep 11, 2024 · 0 comments
Assignees

Comments

@drunest
Copy link
Contributor

drunest commented Sep 11, 2024

We need to change the sync subnets a little bit actually
The new version should not just take the information from taostats but have a bit more of it
We have to add discord ids of subnet maintainers
mainnet netuid, testnet netuid
We also need to include subnets which are not on mainnet
and, well, we need the hardware information for the validator (as we discussed) to be up there as well
the way I want to do it is via a new github repo which will have a file with all of it, however
the user needs to have an interface which they'll be able to click and before it syncs everything, we'll need a diff view, like on github-side-by-side comparison, which will show the operator what information has changed and they'll be able to review it
this is because the validator operator doesn't necessarily need to trust the author of that json file
which could potentially maliciously remove a subnet from the list and this would cause the validators running auto-validator to automatically turn off and uninstall the validators of that subnet, which is a nice attack now that I think about it
We have to make it so that the json file in question is converted to some format and the database contents is converted to the same format, then use some django plugin or javascript library or something like that to display a side-by-side comparison before the user can click "save & apply"

Assigned by: ppolewicz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

1 participant