v1.12.6 English
Starcoin v1.12.6 is released, supports custom Gas payment tokens, and optimizes the tool chain
update overview
Starcoin released version v1.12.6
. This version mainly adds the use of multiple currencies to pay Gas fees when sending transactions, upgrades the standard library from v11
to v12
, upgrades the rust toolchain, and optimizes the development experience.
Scenario: Use other tokens to pay Gas fees
Assuming that at this time, a new token DummyToken
is registered on the 0x1
address, then we can use this type of token to pay the gas fee for the transaction, as follows:
account transfer --blocking -r 0x1 -v 1 --gas-token 0x1::DummyToken::DummyToken
Detailed Changelog
Upgraded
starcoin
fromv1.12.4
tov1.12.5
in#3761
In
#3764
, update thestarcoin-framework
dependency of the virtual machine standard library to the latest version, and synchronize the two renamed entry functions in theBlock
module of the framework.Fix cyptonight compilation issue on windows in
#3762
Upgrade
smallvec
from1.9.0
to1.10.0
in#3768
#3767
Update thestarcoin-framework
dependency of the virtual machine standard library to the latest version, update the error status code of the test function inexecutor/tests/error_code_test.rs
:TransactionStatus::Discard(StatusCode::UNEXPECTED_ERROR_FROM_KNOWN_MOVE_FUNCTION)
Changed the
rust toolchain
file from rust-toolchain torust-toolchain.toml
in#3769
which means no backwards compatibility.Upgrade the rust toolchain to
1.64
, mold to1.5.1
, and delete the GitHub Action related to the rust toolchain.Update
docker_build.yml docker/setup-buildx-action
version to2
and Dockerfile rustup version to 1.25.1 in#3771
Removed
starcoin-x
package in#3777
, updated scripts and config,cargo llvm-cov nextest
generates coverage dataFixed Starcoin console help info formatting issue in
#3781
In
#3783
, update thestarcoin-framework
dependency of the virtual machine standard library to the latest version, update the README, and ignore the treasury withdrawal test functionAdded the
gas-token
option to the transaction command in#3780
. When sending a transaction, you can specify the token as the gas fee. The default isSTC
. Use--gas-token 0x1::STC::STC
In
#3787
, the release version of Ubuntu 22.04 was added to solve the problem of incompatible upgrade ofopenssl
Added stdlib tests for upgrading from
v11
tov12
in#3788
Upgraded Starcoin's Move language to latest version in
#3792
Upgraded stdlib to
v12
in#3793
Added tests for upgraded Move in
#3796
Upgraded
starcoin
fromv1.12.5
tov1.12.6
in#3797