Skip to content

Commit

Permalink
test(fast-usdc): contract flow tests
Browse files Browse the repository at this point in the history
 10 tests passed
  1 known failure
  2 tests skipped
  7 tests todo
Done in 3.43s.

  - [skip] LP borrow - TODO: move to exo test
  - [skip] LP repay - TODO: move to exo test
  - [todo] PERF: Target: settlement completes in a few minutes (after USDC is minted)
  - [todo] C21 - Contract MUST log / timestamp each step in the transaction flow
  - [todo] document metrics storage schema
  - [todo] get metrics from vstorage
  - [todo] C12 - Contract MUST only pay back the Pool only if they started the advance before USDC is minted
  - [todo] C18 - forward - MUST log and alert these incidents
  - [todo] fee levels MUST be visible to external parties - i.e., written to public storage

 - known failure: unknown transaction
   settler should Leave funds in SettlementAccount.
 - use oracle, customer in advance happy path
   - factor out makeOracleOperator
 - registerAsset() from the test jig doesn't work:
   brands in the contract are in a different "address space"
 - use realistic USDC denom
 - shared context for contract tests
   - customer sends before LPs deposit
 - racer tests
 - flatten makeLP
   - don't mix with pourPayment
   - derive publicFacet etc. from instance as client would
 - skip LP test that used test-only methods
 - prune outdated Oracle rights test
  • Loading branch information
dckc committed Nov 27, 2024
1 parent d9a9791 commit 4652d32
Showing 1 changed file with 678 additions and 302 deletions.
Loading

0 comments on commit 4652d32

Please sign in to comment.