Skip to content
This repository was archived by the owner on Sep 8, 2026. It is now read-only.
This repository was archived by the owner on Sep 8, 2026. It is now read-only.

Add validation checks to request-validator-access #155

Description

@juan-malbeclabs

Currently, the request-validator-access command does not perform the same pre-checks as prepare-validator-access. As a result, if any required argument or configuration is incorrect, the transaction is still sent on-chain and ends up being rejected.

We should:

  1. Add the same validation logic from prepare-validator-access into request-validator-access, so that incorrect inputs stop execution before sending the transaction.
  2. Introduce a new -f (force) flag that allows the transaction to be sent anyway. In this mode, the errors will be shown only as warnings, and the transaction will proceed regardless.

Benefits:

  • Prevents unnecessary rejected transactions on-chain.
  • Gives operators the flexibility to override checks when needed.

Acceptance Criteria:

  • request-validator-access runs all the same validation checks as prepare-validator-access.
  • Without -f, execution stops on validation errors.
  • With -f, validation errors are downgraded to warnings, and the transaction is still submitted.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions