Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug][compiler-v2][prover] public(package) error when running aptos move prove -f #15772

Open
rahxephon89 opened this issue Jan 17, 2025 · 0 comments
Assignees
Labels
bug Something isn't working compiler-v2

Comments

@rahxephon89
Copy link
Contributor

🐛 Bug

When running the command `aptos move prove -f governance.move, following error is generated.

error: public(package) function `0x1::permissioned_signer::check_permission_exists` cannot be called from inline function `0x1::aptos_governance::check_governance_permission` because they are from different packages
    ┌─ /Users/tengzhang/aptos-core/aptos-move/framework/aptos-framework/sources/permissioned_signer.move:553:25
    │
553 │     public(package) fun check_permission_exists<PermKey: copy + drop + store>(
    │                         ^^^^^^^^^^^^^^^^^^^^^^^ callee
    │
    ┌─ /Users/tengzhang/aptos-core/aptos-move/framework/aptos-framework/sources/aptos_governance.move:179:13
    │
179 │             permissioned_signer::check_permission_exists(s, GovernancePermission {}),
    │             ------------------------------------------------------------------------ called here

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working compiler-v2
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants
@rahxephon89 and others