Skip to content

Conversation

@TheMrAI
Copy link
Contributor

@TheMrAI TheMrAI commented Sep 5, 2025

Description of change

Introduce create_auth_info_v1 native functions.
This function provides the capability of creating an AuthenticatorInfoV1 pointing to a desired authenticate
function.

The gas costs for the native function haven't been identified yet. Tracking issue: #8433
The native function is not yet tested or integrated into the testing frameworks. Tracking issue: #8416
The possibility of enabling the use of private authenticate function will be investigated here: #8215

Links to any relevant issues

fixes #8117
fixes #8216

How the change has been tested

The create_auth_info_v1 feature hasn't been tested yet, but the verifier was in a separate PR.

Release Notes

  • Protocol: Introduce new move native function create_auth_info_v1 and create_auth_info_self_v1 with its gas costs.
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • REST API:

A verifier for validating `authenticate` functions introduced for
`Move Authentication` (Account Abstraction).
Contrary to other verifiers this shouldn't/can't be executed statically.
This is why it doesn't appear among the list of other verifiers in:
iota_verify_module_metered function.

By design it has to be executed during runtime, as it is only executed
for a single user specified function. The exact identity of this
function will not be known until runtime.
Additionally all relevant components which lacked documentation have been updated.`
@TheMrAI TheMrAI self-assigned this Sep 5, 2025
@vercel
Copy link

vercel bot commented Sep 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

6 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
apps-backend Ignored Ignored Preview Sep 11, 2025 9:46am
apps-ui-kit Ignored Ignored Preview Sep 11, 2025 9:46am
iota-evm-bridge Ignored Ignored Preview Sep 11, 2025 9:46am
iota-multisig-toolkit Ignored Ignored Preview Sep 11, 2025 9:46am
rebased-explorer Ignored Ignored Preview Sep 11, 2025 9:46am
wallet-dashboard Ignored Ignored Preview Sep 11, 2025 9:46am

@iota-ci iota-ci added sc-platform Issues related to the Smart Contract Platform group. vm-language Issues related to the VM & Language Team labels Sep 5, 2025
@TheMrAI TheMrAI linked an issue Sep 5, 2025 that may be closed by this pull request
@TheMrAI TheMrAI changed the title Vm lang/aa auth/8117 create auth info feat(iota-framework): Add create_auth_info_v1 native function Sep 5, 2025
…l gas

Otherwise we would need a new cut, which we don't want to have.
@TheMrAI TheMrAI force-pushed the vm-lang/aa-auth/8117-create_auth_info branch from b1ff3fc to 9fb710b Compare September 5, 2025 12:15
@TheMrAI TheMrAI marked this pull request as ready for review September 8, 2025 07:16
@TheMrAI TheMrAI requested review from a team as code owners September 8, 2025 07:16
@TheMrAI TheMrAI removed request for a team September 8, 2025 07:16
@TheMrAI TheMrAI linked an issue Sep 8, 2025 that may be closed by this pull request
Copy link
Contributor

@valeriyr valeriyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
The way you updated the documentation comments related to IDs can be used as an example for our future PRs 👍

@TheMrAI TheMrAI force-pushed the vm-lang/aa-auth/8117-create_auth_info branch 3 times, most recently from 9cb883a to 9f9daca Compare September 11, 2025 07:57
@TheMrAI TheMrAI force-pushed the vm-lang/aa-auth/8117-create_auth_info branch from 9f9daca to 458aa71 Compare September 11, 2025 09:44
@TheMrAI TheMrAI merged commit 4af2c04 into vm-lang/aa-auth/8116-feature-branch Sep 11, 2025
40 of 41 checks passed
@TheMrAI TheMrAI deleted the vm-lang/aa-auth/8117-create_auth_info branch September 11, 2025 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sc-platform Issues related to the Smart Contract Platform group. vm-language Issues related to the VM & Language Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Figure out how much authenticate function arguments must be restricted [AA][auth] Create an Account pointing to an authenticate() function

7 participants