Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update uniswap provider to use new websocket api (backport #308) #309

Merged
merged 2 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ issues:
- path: _test\.go
linters:
- gosec
- path: oracle/provider/*
linters:
- gosec
- linters:
- lll
source: "https://"
Expand Down
2 changes: 1 addition & 1 deletion oracle/oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ func NewProvider(
return provider.NewMockProvider(), nil

case provider.ProviderEthUniswap:
return provider.NewUniswapProvider(ctx, logger, providerName.String(), endpoint, providerPairs...), nil
return provider.NewUniswapProvider(ctx, logger, endpoint, providerPairs...)
}

return nil, fmt.Errorf("provider %s not found", providerName)
Expand Down
Loading
Loading