What does this error mean? (unregistered dependency) #53
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Do you have the source code of the dependency |
Beta Was this translation helpful? Give feedback.
-
This error means your module's address doesn't match the account that is publishing the code. {
"Error": "Simulation failed with status: Transaction Executed and Committed with Error CONSTRAINT_NOT_SATISFIED\nExecution failed with status: metadata and code bundle mismatch: unregistered dependency: '5ba9fa393e4840013932ecceb243ae2e6c38a558444fe777ebe8e0550c4c4e18::aptos_horses_publisher_signer'"
} You can simply fix this through a fairly standard flow, where you provide a placeholder name.
Then you can publish it by setting the name e.g. aptos move publish --named-addresses publisher=default Or by resource account: aptos move create-resource-account-and-publish-package --address-name publisher --seed whatever This particular contract, then fails due to an error with resource account, but this should unblock you here. |
Beta Was this translation helpful? Give feedback.
This error means your module's address doesn't match the account that is publishing the code.
You can simply fix this through a fairly standard flow, where you provide a placeholder name.
Then you can publish…