No ABI when publishing with --Move-2 flag #435
Replies: 6 comments 2 replies
-
I should add - publishing with --move-2 flag works fine with a localnet running from 4.1.0 and the ABI is generated. Perhaps the issue is simply that devnet is not move-2 ready yet? |
Beta Was this translation helpful? Give feedback.
-
FYI - People starting to post about this issue. |
Beta Was this translation helpful? Give feedback.
-
Answering my own question - this appears to be fixed with CLI 4.2.1 |
Beta Was this translation helpful? Give feedback.
-
Well, as usual, @gregnazario is correct. It was the devnet update. I just published the same code to f6c611c893e1e2257d008eb0c856f2ddd08054c137742d5708ca6a5c7520ec00 on devnet and testnet. Devnet has the ABI. Testnet does not. |
Beta Was this translation helpful? Give feedback.
-
Just a heads up about our analysis around this issue.
Thanks again for reporting! |
Beta Was this translation helpful? Give feedback.
-
@neoul tentative date for 1.20 to hit mainnet is October 3rd. |
Beta Was this translation helpful? Give feedback.
-
Discord user ID
No response
Describe your question in detail.
Publishing a module with CLI 4.1.0 and --move-2 flag will publish successfully without error. But no ABI is published, it just says "N/A" in explorer. Here's the module published with
aptos move publish
https://explorer.aptoslabs.com/account/0x0c9297bd873d6f24422c2487ceac9657ab4ebb5813abf239f35a2633fd9b09e0/modules/code/simple?network=devnet
Here's the same module published with
aptos move publish --move-2
:https://explorer.aptoslabs.com/account/0x5406f8b016667846da357434dd6ef932305b9d68461a57b625c0e26562cf9161/modules/code/simple?network=devnet
Am I missing a simple step here with --move-2 or is this a CLI issue?
What error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
No response
Which operating system are you using?
macOS
Which SDK or tool are you using? (if any)
Aptos CLI
Describe your environment or tooling in detail
CLI 4.1.0
Beta Was this translation helpful? Give feedback.
All reactions