How to dubug an error code: Error while trying to publish Module (aptos move publish): "Simulation failed with status: Move abort in 0x3::token: 0x60001" #103
Answered
by
gregnazario
kshitijc1506
asked this question in
Questions
-
Asked by
|
Beta Was this translation helpful? Give feedback.
Answered by
gregnazario
Mar 26, 2024
Replies: 1 comment 1 reply
-
Could you provide with me your module code? I think I'll need that to debug here. It looks like it is failing a check/assertion in the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to debug an error code
In this case, let's go through the breakdown:
Simulation failed with status
-> This means simulation failed, and no transaction was submitted to fail. Means that if the transaction had been actually submitted, it would have failed (but there's no gas spent)Move abort in 0x3::token
-> We have an abort in0x3::token
. In this case, you can find this at the0x3
address, under moduletoken
. You can see this source in the explorer https://explorer.aptoslabs.com/account/0x3/modules/code/token?network=mainnet0x60001
This means it's error code0x60001
. This can be one of two things, someo…