Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug][CLI] Publish simulator is broken #15769

Open
alnoki opened this issue Jan 17, 2025 · 0 comments
Open

[Bug][CLI] Publish simulator is broken #15769

alnoki opened this issue Jan 17, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@alnoki
Copy link
Contributor

alnoki commented Jan 17, 2025

@banool @davidiw @gregnazario

As I originally reported in the Telegram group Aptos Dev Group > Dev Questions at this message, I originally faced issues publishing a package on testnet using this command sequence, resulting in this error:

{
  "Error": "API error: API error Error(InternalError): Failed to convert transaction data from storage: Module ModuleId { address: 2222e4c4788e34e21bacad364855f5e648c19f4643f20f22f507334d041c2222, name: Identifier(\"emojicoin_arena\") } can't be found"
}

As I stated there,

this error seems off to me because it's reporting that a module doesn't exist - which it shouldn't because the module that "doesn't exist" is the one I'm trying to publish on testnet

As I documented in this commit, adding --max-gas to the publish command allowed the transaction to complete successfully, thereby sidestepping the simulator

Note that if you'd like to reproduce you can use 0x11113ddc70ea051ffd8a7cde7b96818326aabf56fdfd47807f7700e2b46e1111 for the @emojicoin_dot_fun testnet named address and run the commands from the diretory for the given command sequence

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants