Skip to content

Use consistent name for ACL trigger procedures #2165

@PhilippGackstatter

Description

@PhilippGackstatter

The ACL components define a set of procedures that determine whether authentication is required or not.

We currently use "trigger procedure" and "tracked procedure" inconsistently, and it would be good to resolve this. The MASM code primarily uses "trigger" while the Rust APIs more frequently use "tracked". This is also reflected in the slot names, e.g. AuthEcdsaK256KeccakAcl::tracked_procedure_roots_slot.

I don't have a strong preference, but "trigger" seems to be used more often, so maybe "tracked" should be changed to "trigger". Also, "trigger", to me, captures a little better that these "trigger authentication when called".

This affects at least:

  • AuthEcdsaK256KeccakAcl::tracked_procedure_roots_slot
  • AuthRpoFalcon512Acl::tracked_procedure_roots_slot

Including their documentation and the slot name itself.

cc @partylikeits1983 @mmagician for naming preferences

Context: #2025 (comment)

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersrustIssues that affect or pull requests that update Rust code

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions