Skip to content

What does this error mean? (unregistered dependency) #53

Answered by gregnazario
memxor asked this question in Questions
Discussion options

You must be logged in to vote

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.

[addresses]
publisher = "_" # This is a placeholder, and has to be set at runtime

[dev-addresses]
publisher = "0x5ba9fa393e4840013932ecceb243ae2e6c38a558444fe777ebe8e0550c4c4e18"

Then you can publish…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@0xaptosj
Comment options

@memxor
Comment options

@0xaptosj
Comment options

@memxor
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by memxor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
move Questions related to the Move Language
3 participants