Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Faucet cooldown does not work in HA setups #14

@ggarri

Description

@ggarri

Context

Cooldown faucet controller does not work on HighAvailability setups due to design limitations.

At current implementation faucet authorizations are stored in each of the instance memories, so that same account could be funded twice by the same faucet just by requesting funds to different instances of chain-registry

Implemetation

Opt1: Postgres

A possible solution could be to store faucet authorization at database level which is shared across every chain-registry instance.

Opt2: tx-scheduler

Another possible alternative would be to query tx-scheduler to verify which was the latest funding txs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions