Skip to content

Commit

Permalink
Only display whitelisted pools (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
af-afk committed Oct 2, 2024
1 parent 7bce575 commit 5115587
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
17 changes: 15 additions & 2 deletions cmd/graphql.ethereum/graph/schema.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions features/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"faucet enabled": true,
"graphql mock demo data": false,
"graphql mock demo data should delay": false,
"graphql whitelisted only pools": true,
"ui show boost incentives": false,
"ui show campaign banner": false,
"ui show claim all yield": true,
Expand Down
3 changes: 3 additions & 0 deletions lib/features/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ const (
// FeatureGraphqlMockGraphDelay by delaying the display of the mocked data.
FeatureGraphqlMockGraphDataDelay = "graphql mock demo data delay"

// FeatureWhitelistedOnlyPools to only show pools that we track in pools.toml.
FeatureWhitelistedOnlyPools = "graphql whitelisted only pools"

// FeatureIngestorPollRpc using the ingestor. Useful in environments
// where websocket access is inconsistent or unavailable. Does so with
// a (by default) 15 second delay, with checkpointing done in the database.
Expand Down

0 comments on commit 5115587

Please sign in to comment.