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

[Access] Add options to fail or warn when payer is not able to pay #6139

Closed
Tracked by #5683
peterargue opened this issue Jun 20, 2024 · 0 comments
Closed
Tracked by #5683

[Access] Add options to fail or warn when payer is not able to pay #6139

peterargue opened this issue Jun 20, 2024 · 0 comments
Assignees
Labels

Comments

@peterargue
Copy link
Contributor

peterargue commented Jun 20, 2024

Problem Description

The transaction payer balance validation currently is either on or off. To support a more gradual rollout, it would be helpful to have an intermidiate step that recorded some metrics/logging when a payer's balance was low without failing validation.

Proposed Solution

Add a new CLI flag for payer balance validation that specifies whether or not to enforce the check:
--check-payer-balance-mode

  • warn -> record a metric and log a debug message with details, but allow the tx
  • enforce -> the same as warn, but do not allow the tx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants