Badger-Finance/badger-api

Postmigration for registryV2

Closed this issue · 0 comments

Background

In order to fully migration on registryV2, need to remove all old entries.

Tasks

SDK

  • delete registryV1, replace it with V2 (tweak types)
  • fix tests

API

  • delete VaultDefinitions in chain, config
  • replace chain.vaultsCoumpound with just vaults
  • fix all places, which will brake coz of replacements
  • use VaultCoumpound in v2 and v1
  • remove VaultSnapshotsData and all related things
  • correct vault typings

Tests:

  • Cover VaultsDefinition indexer
  • v3/valuts endpoints