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

Implement DSN Data Retrieval (protocol side) #3106

Open
27 of 42 tasks
teor2345 opened this issue Oct 8, 2024 · 0 comments
Open
27 of 42 tasks

Implement DSN Data Retrieval (protocol side) #3106

teor2345 opened this issue Oct 8, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@teor2345
Copy link
Contributor

teor2345 commented Oct 8, 2024

This is a list of protocol team tasks required to implement object mapping and retrieval from the DSN.

Object Mappings

Potential Changes

  • add acknowledgements to provide backpressure and make sure the client gets all the mappings (at least from the point where they connect) - awaiting feedback on whether this is needed
mapping generation completed

The mapping indexer/storage is a separate component, which is out of scope for the protocol team.

Object Fetching

object fetching completed

Testing

Preparation
  • Add binary to Docker (requested by Carlos), based on bootstrap node dockerfile
  • Manual tests
Unit Tests
  • Do we need tests for mapping extraction?
  • Add node RPC tests
  • Add gateway RPC tests
  • Add object fetching tests

Documentation

  • Document the node RPCs and the extrinsic objects they expose
    • Document the create object mappings CLI option

Cleanups

  • Create a separate gateway RPC on the node server and gateway client
  • Rewrite object_fetcher.rs to use regular positions, not source positions
  • Only return mappings from find_last_archived_block() if we’re starting mapping at that exact block
@teor2345 teor2345 added the enhancement New feature or request label Oct 8, 2024
@teor2345 teor2345 self-assigned this Oct 8, 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
None yet
Development

No branches or pull requests

1 participant