questions about package size #81
-
our code deployment is close to the package size limit. is there a way to estimate the deployment payload size without deploying the contract? ive deployed our contracts on testnet here and the bytecode size of the package appears to exceeds 64kb. is the payload compressed, or has |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Revising your questions into smaller chunks: 1. Can one retrieve the package size without publishing a package?Yes, you can find the Adding the Aptos CLI option Here's an example of the output I received when running
2. What is the
|
Beta Was this translation helpful? Give feedback.
-
awesome this is all super helpful. i noticed that |
Beta Was this translation helpful? Give feedback.
Revising your questions into smaller chunks:
1. Can one retrieve the package size without publishing a package?
Yes, you can find the
package size
when runningaptos move publish
on the Aptos CLI.The output will include a line with a structure of
package size {BYTES} bytes
.Adding the Aptos CLI option
--profile-gas
is a quick way to simulate this action locally. Feel free to read more about this command by using the--help
CLI option foraptos move publish
.Here's an example of the output I received when running
aptos move publish --profile-gas
:2. What is the
max_transaction…