Skip to content
New issue

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

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

Already on GitHub? Sign in 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 move-prover

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

@rahxephon89 rahxephon89 added bug Something isn't working compiler-v2 labels Jan 17, 2025
@rahxephon89 rahxephon89 self-assigned this Jan 20, 2025
@wrwg wrwg moved this from 🆕 New to For Grabs in Move Language and Runtime Feb 11, 2025
@wrwg wrwg moved this from For Grabs to Assigned in Move Language and Runtime Feb 11, 2025
@vineethk vineethk moved this from Assigned to 🏗 In progress in Move Language and Runtime Feb 13, 2025
@rahxephon89 rahxephon89 moved this from 🏗 In progress to Assigned in Move Language and Runtime Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler-v2 move-prover
Projects
Status: Assigned
Development

Successfully merging a pull request may close this issue.

3 participants
@rahxephon89 and others