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

[WIP] - Added assignment of nodes via the quickstart script #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Andrew-Pohl
Copy link
Member

No description provided.

Copy link
Member

@leonprou leonprou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry to be late in this. Couple of comments

  • Does the validator had to be admin in the group? If yes we're missing the validators that launch without talking with us at all. And that's the biggest problem I think :).
  • Don't like too much addfing more dependencies from security perspective. Referring to TG-cli mainly.

Can we instead build an API endpoint on the bot, that will add the validators? by using the telegram-cli for example. I think doing this will sort out both issues I mention. @Andrew-Pohl what you think?

@Andrew-Pohl
Copy link
Member Author

Sorry to be late in this. Couple of comments

  • Does the validator had to be admin in the group? If yes we're missing the validators that launch without talking with us at all. And that's the biggest problem I think :).
  • Don't like too much addfing more dependencies from security perspective. Referring to TG-cli mainly.

Can we instead build an API endpoint on the bot, that will add the validators? by using the telegram-cli for example. I think doing this will sort out both issues I mention. @Andrew-Pohl what you think?

Hey @leonprou Yes they have to be admin in the validator group. This is to stop random people from assigning nodes to themselves which don't belong to them. I can certainly add an endpoint to do this but it's just what I mentioned above which will still be an issue in fact maybe worse (can just spam the endpoint for example)

@Andrew-Pohl
Copy link
Member Author

I think maybe we could edit the consensus contract and store the names/ details on chain and the bot grabs these from the consensus. more scalable (and don't need to change anything on the staking app side what do you think?)

@leonprou
Copy link
Member

@Andrew-Pohl I'm very conservative about changing the consensus contracts. I think only the core logic should be there, rest of the functionality will be build on top of this.

We can do a brainstorming on this

@Andrew-Pohl
Copy link
Member Author

Andrew-Pohl commented Jan 21, 2021

@Andrew-Pohl I'm very conservative about changing the consensus contracts. I think only the core logic should be there, rest of the functionality will be build on top of this.

We can do a brainstorming on this

Gotcha, yes we can put this anywhere really. A new "Validator info" contract or something

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

Successfully merging this pull request may close these issues.

2 participants