Skip to content
Discussion options

You must be logged in to vote

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 running aptos 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 for aptos move publish.

Here's an example of the output I received when running aptos move publish --profile-gas:

package size 1017 bytes
Simulating transaction locally with the gas profiler...
{
  "Result": {
    // ...
  }
}

2. What is the max_transaction…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by MoonShiesty
Comment options

You must be logged in to vote
1 reply
@Alexzander-Stone
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Questions related to the Aptos CLI move-vm Things about move vm
2 participants