-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Explain LINKER_ERROR #5702
Explain LINKER_ERROR #5702
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you again!
This is a good start but I'd like more detail. This doesn't really tell users what is specifically wrong and how to debug it. Perhaps someone from the Move team could help? cc @movekevin |
One example of a LINKER_ERROR: If you try to call a function that does not exist on chain. For example, if you call a module that you have the source for locally, but have not published that module on chain, it’ll fail when you try to actually run it. |
I'm noting we should also port these updates back to the source files. |
LINKER_ERROR actually has a bunch of possible reasons, but I think this helps either way for now cc @wrwg if he knows anyone who can give a more complete answer. Thanks for adding this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry but "The function that your command is executing is not a valid function. Double-check your command" is not very useful, it is far too vague. What does valid mean? What do we mean by command? I don't see the value in landing this as is.
@banool agreed! I have improved the case that I know of combining your input. Can you take another look? Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, adjusted
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
* Explain LINKER_ERROR fix aptos-labs#5663 * Add hypen * update LINKER_ERROR description * update LINKER_ERROR description * Update developer-docs-site/docs/guides/handle-aptos-errors.md Co-authored-by: Clay Murphy <[email protected]> Co-authored-by: David Wolinsky <[email protected]>
fix #5663
Description
Test Plan