Skip to content

Conversation

@valeriyr
Copy link
Contributor

@valeriyr valeriyr commented Dec 2, 2025

[run-ci]

Description of change

The account creation Move API was simplified by removing AuthenticatorInfoV1CompatibilityProof.

Links to any relevant issues

fixes #9459

@valeriyr valeriyr self-assigned this Dec 2, 2025
@vercel
Copy link

vercel bot commented Dec 2, 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 Dec 5, 2025 0:52am
apps-ui-kit Ignored Ignored Preview Dec 5, 2025 0:52am
iota-evm-bridge Ignored Ignored Preview Dec 5, 2025 0:52am
iota-multisig-toolkit Ignored Ignored Preview Dec 5, 2025 0:52am
rebased-explorer Ignored Ignored Preview Dec 5, 2025 0:52am
wallet-dashboard Ignored Ignored Preview Dec 5, 2025 0:52am

@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 2, 2025
@valeriyr valeriyr linked an issue Dec 2, 2025 that may be closed by this pull request
@valeriyr valeriyr force-pushed the vm-lang/aa-auth/9459-aa-creation-native-functions branch from 2d4a719 to 067190c Compare December 4, 2025 15:42
Copy link
Contributor

@miker83z miker83z left a comment

Choose a reason for hiding this comment

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

LGTM!

if current_module
.value
.is(&IOTA_ADDR_VALUE, TRANSFER_FUNCTION_NAME)
.is(&IOTA_ADDR_VALUE, TRANSFER_MODULE_NAME)
Copy link
Contributor

Choose a reason for hiding this comment

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

was this a "bug"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was a typo, here the module name is checked, it worked because:
TRANSFER_FUNCTION_NAME == TRANSFER_MODULE_NAME == transfer

"migration",
"beta",
"development",
"account",
Copy link
Contributor

Choose a reason for hiding this comment

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

We should think about the usage of simply "account" for a module name, might be limiting in the future.

ident_str!("borrow_auth_info_v1"),
ident_str!("has_auth_info_v1"),
];
pub const PRIVATE_ACCOUNT_FUNCTIONS: &[&IdentStr] = &[
Copy link
Contributor

Choose a reason for hiding this comment

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

As for consideration we can rename private to internal to not confuse these private functions with visibility modifiers at least.

Ok(())
}

fn verify_private_account(
Copy link
Contributor

@Dkwcs Dkwcs Dec 5, 2025

Choose a reason for hiding this comment

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

An adition to my previous comment above.
Is this function verifies some "private" account or "private" functions that account contains?
I would suggest to add a comment that explains what actually happens here despite of possible renaming.

It's about all similar methods.

Copy link
Contributor

@Dkwcs Dkwcs left a comment

Choose a reason for hiding this comment

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

LGTM, left comments for consideration

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

5 participants