Skip to content

Nightly deployment testing #118

@jennijuju

Description

@jennijuju

As we are making changes across the stack in multiple repos, I think it would be useful for us to spin up a nightly deployment E2E testing flow that pulls the latest commit from main for Synapse, Filecoin Pay, FilecoinWarmStorageService, Filecoin PDP, and Curio, and runs some testing, starting with a happy path to capture unintentional breaking changes/bugs. The test runs in the Filecoin Calibnet testnet. Roughly, the flow will look like:

  • Create a burner master wallet and use it for contract deployment
  • Get test FIL to the burner wallet
  • Deploy Filecoin Pay contract
  • Deploy Filecoin PDP contract
  • Deploy Filecoin Warm Storage contract
  • Spin up a Curio PDP node that listens to the Filecoin PDP/Warm Storage Service contract
  • Add Curio PDP miner to the Filecoin Warm Storage contract and use the master account to approve it
  • Get test FIL to Curio miner wallet
  • Start Synapse SDK with a client wallet
  • Get test FIL, swap for USDFC; authorize and make a deposit to Filecoin Warm Storage service
  • Create a proof set without addCDN
  • synapse.upload a couple of roots
  • synapse.download a root
  • Create a proof set with addCDN
  • synapse.upload a couple of roots
  • synapse.download a root from FilCDN URL
  • synapse.settle as a SP after a couple of epochs
  • synapse.settke as FilCDN after a couple of epochs
  • Make sure a PDP proof passes

Goals:

  • Catch breaking changes or regressions across the involved repositories.
  • Expand test coverage over time, starting with the happy path.
  • Ensure e2e integration on the Filecoin Calibnet testnet.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

⌨️ In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions