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 constraints-API to use pubkey instead of index #230

Closed
4 of 5 tasks
Tracked by #209
mempirate opened this issue Sep 13, 2024 · 1 comment
Closed
4 of 5 tasks
Tracked by #209

Update constraints-API to use pubkey instead of index #230

mempirate opened this issue Sep 13, 2024 · 1 comment
Assignees
Labels
T: tracking Type: Tracking

Comments

@mempirate
Copy link
Contributor

mempirate commented Sep 13, 2024

Context

In the constraints-API we've used the validatorIndex to link validators to their signature. This works if the relay has a mapping from validatorIndex => pubkey, which not all of them do. So we should modify the constraints-API to use pubkey instead of validatorIndex in the following endpoints:

  • submit_constraints
  • delegate
  • revoke

We should also update the API docs to reflect this: https://chainbound.github.io/bolt-docs/api/builder

Tasks

@namn-grg
Copy link
Contributor

Changes in the builder can be done together in #209 when updating builder for the new constraint api (cc @merklefruit )

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

No branches or pull requests

2 participants