f224486ae2
* More documentation on the upgrade procedure and mainnet init * Add profiling utility for aptos * Reuse contract manager logic to sync guardian sets * Add documentation for sui gas profiling |
||
---|---|---|
.. | ||
sources | ||
Makefile | ||
Move.lock | ||
Move.mainnet.toml | ||
Move.testnet.toml | ||
Move.toml | ||
README.md |
README.md
Build information
Contracts are compiled with sui cli version sui 1.0.0-09b208149
that can be installed via the following command:
cargo install --locked --git https://github.com/MystenLabs/sui.git --rev 09b2081498366df936abae26eea4b2d5cafb2788 sui sui-faucet
Gas Profiling
Using the sui-tool
binary, you can profile gas usage of transactions by running:
env MOVE_VM_PROFILE=1 ./sui-tool replay --rpc https://fullnode.mainnet.sui.io:443 tx -t <tx-signature>
sui-tool
gas profiling works only when built with debug profile and should be compiled by your own (you can't use the precompiled binary).
We suggest benchmarking on mainnet or where the number of wormhole signature checks is the same as on mainnet.