You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Faucet: some deduplication and added sanity check. (#4640)
## Motivation
#4631 made the faucet
use SQLite for the chains map, but it introduced some duplicated logic.
Also, the rule that "start > end disables rate limiting" is strange. If
no rate limiting is desired, one can just set start and end to 0, so all
tokens are unlocked at all times.
## Proposal
Deduplicate getting chain descriptions from a block; extract some
utility functions; add a sanity check that created chains' owners are as
expected; fix a few typos.
Remove the rate limiting special case.
## Test Plan
CI
## Release Plan
- _Maybe_ backport to `testnet_conway` to keep the diff small.
## Links
- Original PR: #4631
- [reviewer
checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
0 commit comments