pyth-crosschain/target_chains/sui/contracts
Amin Moghaddam f224486ae2
Aptos improvements (#1079)
* 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
2023-10-10 12:03:01 +02:00
..
sources Fix sui js sdk and bump contract (#1071) 2023-09-29 10:52:41 +02:00
Makefile [sui 8/x] - finalize contracts, deploy scripts, address audit feedback (#783) 2023-06-19 23:05:33 -04:00
Move.lock [sui 8/x] - finalize contracts, deploy scripts, address audit feedback (#783) 2023-06-19 23:05:33 -04:00
Move.mainnet.toml [sui] [contract-manager] Sui cm updates (#1030) 2023-08-25 14:42:31 +02:00
Move.testnet.toml [sui] [contract-manager] Sui cm updates (#1030) 2023-08-25 14:42:31 +02:00
Move.toml Fix sui js sdk and bump contract (#1071) 2023-09-29 10:52:41 +02:00
README.md Aptos improvements (#1079) 2023-10-10 12:03:01 +02:00

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.