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

Add a start-up validation for relay's operator existence #3169

Open
natanasow opened this issue Oct 29, 2024 · 0 comments
Open

Add a start-up validation for relay's operator existence #3169

natanasow opened this issue Oct 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@natanasow
Copy link
Collaborator

Problem

Currently, we can start a relay with a non-existing account for the operator.

Solution

Add a start-up validation to validate whether the operator exists.

The check can be done via:

  • payable (~0.002 HBARs) SDK query to getAccountInfo - this way we will check that pair operatorId - operatorKey is valid and the operator can submit transactions
  • mirror node call to get an account by id - this way we will make sure that operator id exists but we can't know if the operator key is valid

Alternatives

No response

@natanasow natanasow added the enhancement New feature or request label Oct 29, 2024
@natanasow natanasow changed the title Add a start-up validation for relay's operator exist Add a start-up validation for relay's operator existence Oct 29, 2024
@natanasow natanasow moved this from Backlog to Sprint Backlog in Smart Contract Sprint Board Oct 29, 2024
@natanasow natanasow added this to the 0.60.0 milestone Oct 29, 2024
@natanasow natanasow moved this from Sprint Backlog to Backlog in Smart Contract Sprint Board Oct 29, 2024
@quiet-node quiet-node modified the milestones: 0.60.0, 0.61.0 Nov 11, 2024
@quiet-node quiet-node modified the milestones: 0.61.0, 0.62.0 Nov 26, 2024
@quiet-node quiet-node removed this from the 0.62.0 milestone Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants