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

Simplify queue schema #215

Open
gusin13 opened this issue Jan 31, 2025 · 0 comments
Open

Simplify queue schema #215

gusin13 opened this issue Jan 31, 2025 · 0 comments

Comments

@gusin13
Copy link
Contributor

gusin13 commented Jan 31, 2025

It will be simpler to simply pass in the staking_tx_hash_hex in queue struct, then API handlers can query and fetch the delegation and required data from DB.

Currently we pass in this data
https://github.com/babylonlabs-io/staking-queue-client/blob/c4b08ada1f40852bdeecee550866eae308b52616/client/schema.go#L32-L40

@gusin13 gusin13 changed the title Change the queue schema to pass in staking_tx_hash_hex instead of all params Simplify queue schema Jan 31, 2025
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

No branches or pull requests

1 participant