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

[Feature Request] Show more details when getting error EPACKAGE_DEP_MISSING #15043

Open
0xbe1 opened this issue Oct 22, 2024 · 1 comment
Open
Labels
enhancement New feature or request stale-exempt Prevents issues from being automatically marked and closed as stale

Comments

@0xbe1
Copy link
Contributor

0xbe1 commented Oct 22, 2024

🚀 Feature Request

When publishing a new contract, oftentimes I run into

Do you want to publish this package under the resource account's address 0xca...? [yes/no] >
yes
package size 17138 bytes
{
  "Error": "Simulation failed with status: Move abort in 0x1::code: EPACKAGE_DEP_MISSING(0x60005): Dependency could not be resolved to any published package."
}

It takes quite some effort in order to figure out which exact dependency is not missing. Would be great if we can get something like below to improve DevX

Do you want to publish this package under the resource account's address 0xca...? [yes/no] >
yes
package size 17138 bytes
{
  "Error": "Simulation failed with status: Move abort in 0x1::code: EPACKAGE_DEP_MISSING(0x60005): Dependency could not be resolved to any published package."
}
Dependency FixedPoint64 cannot be found at address 0xabc

Motivation

Is your feature request related to a problem? Please describe.

Pitch

Describe the solution you'd like

Describe alternatives you've considered

Are you willing to open a pull request? (See CONTRIBUTING)

Additional context

@0xbe1 0xbe1 added the enhancement New feature or request label Oct 22, 2024
@gregnazario
Copy link
Contributor

As discussed, possibly something could be added in the VM to provide more information on local simulation, that would allow users to debug.

@brmataptos brmataptos added the stale-exempt Prevents issues from being automatically marked and closed as stale label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale-exempt Prevents issues from being automatically marked and closed as stale
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants