Skip to content

Commit

Permalink
fix(price-feeder): remove ftx provider (#1602)
Browse files Browse the repository at this point in the history
## Description

Removes the FTX provider option

---

### Author Checklist

_All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues._

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] added appropriate labels to the PR
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/umee-network/umee/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

_All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items._

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

(cherry picked from commit cd1fc23)

# Conflicts:
#	price-feeder/CHANGELOG.md
  • Loading branch information
adamewozniak authored and mergify[bot] committed Nov 17, 2022
1 parent a3342e7 commit 9590d20
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 436 deletions.
13 changes: 13 additions & 0 deletions price-feeder/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@ Ref: https://keepachangelog.com/en/1.0.0/

## [Unreleased]

<<<<<<< HEAD
=======
### Improvements

- [1602](https://github.com/umee-network/umee/pull/1602) Remove FTX provider.

## [v2.0.0](https://github.com/umee-network/umee/releases/tag/price-feeder/v2.0.0) 2022-11-15

v2.0.0 of the price feeder contains numerous fixes for low-market-cap assets and API changes. It's highly recommended to switch to v2.0.0, especially as it removes the need to use the `ftx` provider for certain assets.

This was released as a part of [Umee Prop 27.](https://www.mintscan.io/umee/proposals/27)

>>>>>>> cd1fc23 (fix(price-feeder): remove ftx provider (#1602))
### Bugs

- [1428](https://github.com/umee-network/umee/pull/1428) Update umeed version to an actual tag.
Expand Down
1 change: 0 additions & 1 deletion price-feeder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ The list of current supported providers:
- [Bitget](https://www.bitget.com/)
- [Coinbase](https://www.coinbase.com/)
- [Crypto](https://crypto.com/)
- [FTX](https://ftx.com/)
- [Gate](https://www.gate.io/)
- [Huobi](https://www.huobi.com/en-us/)
- [Kraken](https://www.kraken.com/en-us/)
Expand Down
1 change: 0 additions & 1 deletion price-feeder/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ var (
provider.ProviderHuobi: {},
provider.ProviderGate: {},
provider.ProviderCoinbase: {},
provider.ProviderFTX: {},
provider.ProviderBitget: {},
provider.ProviderMexc: {},
provider.ProviderCrypto: {},
Expand Down
3 changes: 0 additions & 3 deletions price-feeder/oracle/oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,6 @@ func NewProvider(
case provider.ProviderGate:
return provider.NewGateProvider(ctx, logger, endpoint, providerPairs...)

case provider.ProviderFTX:
return provider.NewFTXProvider(ctx, logger, endpoint, providerPairs...), nil

case provider.ProviderBitget:
return provider.NewBitgetProvider(ctx, logger, endpoint, providerPairs...)

Expand Down
339 changes: 0 additions & 339 deletions price-feeder/oracle/provider/ftx.go

This file was deleted.

Loading

0 comments on commit 9590d20

Please sign in to comment.