Skip to content

Conversation

@miker83z
Copy link
Contributor

Description of change

The account creation Move API was simplified by removing AuthenticatorInfoV1CompatibilityProof.

Support Deny for Move authenticators on the signing phase.

Links to any relevant issues

fixes #9459
fixes #8856

How the change has been tested

  • Basic tests (linting, compilation, formatting, unit/integration tests)
  • Patch-specific tests (correctness, functionality coverage)
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes

…n and support deny for move authenticators

# Description of change

The account creation Move API was simplified by removing
`AuthenticatorInfoV1CompatibilityProof`.

Support `Deny` for Move authenticators on the signing phase.

## Links to any relevant issues

fixes #9459
fixes #8856

Co-authored-by: Valerii Reutov <valeriy.reutov@gmail.com>
@miker83z miker83z requested review from a team as code owners December 11, 2025 16:39
@vercel
Copy link

vercel bot commented Dec 11, 2025

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

6 Skipped Deployments
Project Deployment Review Updated (UTC)
apps-backend Ignored Ignored Preview Dec 15, 2025 9:32am
apps-ui-kit Ignored Ignored Preview Dec 15, 2025 9:32am
iota-evm-bridge Ignored Ignored Preview Dec 15, 2025 9:32am
iota-multisig-toolkit Ignored Ignored Preview Dec 15, 2025 9:32am
rebased-explorer Ignored Ignored Preview Dec 15, 2025 9:32am
wallet-dashboard Ignored Ignored Preview Dec 15, 2025 9:32am

@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 Dec 11, 2025
Copy link
Member

@polinikita polinikita left a comment

Choose a reason for hiding this comment

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

Approved files owned by consensus

/// In fact package A may have a dependency on package B version 1, but can still refer to an `authenticate`
/// function defined in package B version 2.
/// Referring to an `authenticate` function with `create_auth_info_v1` is a strictly runtime dependency and
/// Refiring to an `authenticate` function with `create_auth_info_v1` is a strictly runtime dependency and
Copy link
Member

Choose a reason for hiding this comment

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

Why Refiring here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like a mistake during merging. Reverted in 4c3f8a7

/// Borrow the account `UID` mutably.
/// This function must be called only from the functions protected by the IOTA Move bytecode verifier
/// from being called outside the `Account` module.
native fun borrow_account_uid_mut<Account: key>(account: &mut Account): &mut UID;
Copy link
Member

Choose a reason for hiding this comment

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

These comments look weird (also in the other functions)

Copy link
Contributor

Choose a reason for hiding this comment

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

I tried to improve the comments in 4c3f8a7.
Please let me know if you have ideas on how to make them better.

Copy link
Member

@alexsporn alexsporn left a comment

Choose a reason for hiding this comment

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

lgtm, just some small comments that needs fixing.
Did not look thoroughly at all the different tests and snapshots.

@valeriyr valeriyr merged commit 8ca2a0c into vm-lang/aa-auth/8805-beta-feature-branch Dec 15, 2025
42 checks passed
@valeriyr valeriyr deleted the vm-lang/cherry-pick-create-account-and-deny branch December 15, 2025 10:17
miker83z added a commit that referenced this pull request Jan 19, 2026
…n and support deny for move authenticators (#9592)

The account creation Move API was simplified by removing
`AuthenticatorInfoV1CompatibilityProof`.

Support `Deny` for Move authenticators on the signing phase.

fixes #9459
fixes #8856

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [x] Patch-specific tests (correctness, functionality coverage)
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have checked that new and existing unit tests pass locally with
my changes

---------

Co-authored-by: Valerii Reutov <valeriy.reutov@gmail.com>
miker83z added a commit that referenced this pull request Jan 26, 2026
…n and support deny for move authenticators (#9592)

The account creation Move API was simplified by removing
`AuthenticatorInfoV1CompatibilityProof`.

Support `Deny` for Move authenticators on the signing phase.

fixes #9459
fixes #8856

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [x] Patch-specific tests (correctness, functionality coverage)
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have checked that new and existing unit tests pass locally with
my changes

---------

Co-authored-by: Valerii Reutov <valeriy.reutov@gmail.com>
miker83z added a commit that referenced this pull request Jan 26, 2026
…n and support deny for move authenticators (#9592)

The account creation Move API was simplified by removing
`AuthenticatorInfoV1CompatibilityProof`.

Support `Deny` for Move authenticators on the signing phase.

fixes #9459
fixes #8856

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [x] Patch-specific tests (correctness, functionality coverage)
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have checked that new and existing unit tests pass locally with
my changes

---------

Co-authored-by: Valerii Reutov <valeriy.reutov@gmail.com>
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.

[AA] Create dedicated native functions for the AA object creation [AA][tx-check] Support deny when authenticator is used

6 participants