Skip to content

Integration Test #88

@hannahhoward

Description

@hannahhoward

An integration test of the flow of autoretrieve:

  • Bitswap node makes request to auto retrieve
  • Auto retrieve bitswap provider converts to filecoin retrieval
  • Pings an indexer node to find content
  • Fetches data via filecoin retrieval from a miner

The trick here will be properly setting up all the players, ideally using simple versions or mocked values for the services.

  • can use itests for Lotus miner
  • probably can manually construct libp2p + bitswap node and just pair it
  • not sure how to get the indexer but it's just an http endpoint so we could mock it

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions