CLI v1.0.4 Release Notes
Changes
- Adds ability to set transaction expiration time with the
--expiration-secs
flag, to increase for handling slow connections
Bug fixes
- Move packages compiled with 1.0.2 & 1.0.3 may have lost the error mapping for errors as they use version 5 bytecode, but without error mapping. This has been fixed and simply need any programs that are missing this mapping to republish the Move package.
Example before:
aptos move run --function-id testnet::message::set_message --args string:hello --profile testnet
{
"Error": "Simulation failed with status: Move abort in 0x94e2093de044e264a85a50c268a88435c94089cbc05448f1bd17927552f9dfa3::message: 0x1"
}
Example after:
aptos move run --function-id testnet::message::set_message --args string:hello --profile testnet
{
"Error": "Simulation failed with status: Move abort in 0x94e2093de044e264a85a50c268a88435c94089cbc05448f1bd17927552f9dfa3::message: EOH_NO(0x1): Uh oh spaghetti o's..."
}
About installation
Instructions here: https://aptos.dev/cli-tools/aptos-cli-tool/install-aptos-cli/
- NEW: For platforms that support
brew
(MacOS), you can simply runbrew install aptos
orbrew upgrade
(this may take some time to update to 1.0.4) thanks @hariria MacOSX-x86_64
will work on both Intel and Apple ARM Macs. Rosetta on macOS provides compatibility for ARM.Ubuntu-22.04-x86_64
is built with Ubuntu 22.04 on x86 and requires OpenSSL v3. It may work on other Linux distros that also use OpenSSL v3, but it is not supported.Ubuntu-x86_64
is built with Ubuntu 20.04 on x86 and requires OpenSSL v1.1.1. It may work on other Linux distros that also use OpenSSL v1.1.1. In testing this has worked on a few other distros e.g.Debian
andOpenSUSE
Windows-x86_64
is built with Windows Server 2022 on x86. It has also been tested on Windows 10 and Windows 11.- Windows & Linux ARM does not have a prebuilt binary and will need to be built from source.