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

GetIDs API return the DA blocktime #100

Open
gupadhyaya opened this issue Sep 12, 2024 · 0 comments
Open

GetIDs API return the DA blocktime #100

gupadhyaya opened this issue Sep 12, 2024 · 0 comments

Comments

@gupadhyaya
Copy link
Member

For based sequencing (e.g., using celestia for sequencing), we need the DA blocktime time.Time to be made available as part of GetIDs API. GetIDs(ctx context.Context, height uint64, namespace Namespace) ([]ID, error) such that, sequencer can return this as part of GetNextBatch (https://github.com/rollkit/go-sequencing/blob/main/sequencing.go#L26).

Updated GetIDs API:
GetIDs(ctx context.Context, height uint64, namespace Namespace) ([]ID, time.Time, error)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant