Skip to content

Recreate Scenario 1 with Forked Testing Setup. #122

@nialexsan

Description

@nialexsan

Objective: Setup Mainnet forking integration tests in the cadence testing frame work

Task: Mimic rebalancing scenario 1 (an existing set of tests) with the new mainnet forking capability of the cadence testing framework

Requirements:

  • New Scenario 1 test file should run and pass using flow test command
  • New Scenario 1 should use the real yield token, instead of the "tracer"/"mock" version of the yield token
  • New Scenario 1 should aim to use the on chain oracles as much as possible.

caveats:

  • cadence addresses are different from emulator addresses
    • needs new testing addresses
  • complications with adjusting environment:
    • Univ3 pool prices
    • liquidity levels

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions