-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
The FTSO Fast Update client doesn't accept the API Key variable (other clients in the deployment package do). Therefore no x-apikey header is attached to requests and will be unable to use gated API's (it seems that the query param ?x-apikey=<key> doesn't work either. Therefore it's required to use a private node/unratelimited node for the Fast Updates client.
Missing configurations as demonstrated by the FSC:
- https://github.com/flare-foundation/flare-system-client/blob/8bc7613138f140435a0d1afa56f54cfa655c8bc1/client/config/protocols.go#L13
- https://github.com/flare-foundation/flare-system-client/blob/8bc7613138f140435a0d1afa56f54cfa655c8bc1/client/protocol/protocol_utils.go#L26
Fast Updates Client provides the ChainConfig struct with ApiKey definition but is not utilised:
fast-updates/go-client/config/config.go
Line 46 in f395e26
ApiKey string `toml:"api_key" envconfig:"API_KEY"`
Issue based on debugging with external user.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels