From c8faccef3f4f391d7437312e8cd1603dc050e1e6 Mon Sep 17 00:00:00 2001 From: Junkil Park Date: Tue, 1 Nov 2022 14:41:47 -0700 Subject: [PATCH] [move] Update the move commit and the generated document (#5380) This PR updates the move commit to bring the cherry-pick commit (https://github.com/move-language/move/pull/639). It brings the fixes on the Prover, the document generator and the compiler. --- Cargo.lock | 76 +++++++++---------- Cargo.toml | 56 +++++++------- .../framework/aptos-framework/doc/account.md | 6 +- .../aptos-framework/doc/aptos_account.md | 4 +- .../aptos-framework/doc/aptos_coin.md | 6 +- .../aptos-framework/doc/aptos_governance.md | 6 +- .../framework/aptos-framework/doc/code.md | 2 +- .../framework/aptos-framework/doc/coin.md | 8 +- .../aptos-framework/doc/managed_coin.md | 8 +- .../aptos-framework/doc/resource_account.md | 6 +- .../framework/aptos-framework/doc/stake.md | 30 ++++---- .../aptos-framework/doc/staking_contract.md | 20 ++--- .../aptos-framework/doc/staking_proxy.md | 16 ++-- .../framework/aptos-framework/doc/version.md | 4 +- .../framework/aptos-framework/doc/vesting.md | 26 +++---- aptos-move/framework/aptos-token/doc/token.md | 20 ++--- .../aptos-token/doc/token_coin_swap.md | 2 +- .../aptos-token/doc/token_transfers.md | 6 +- aptos-move/framework/src/built_package.rs | 4 +- scripts/dev_setup.sh | 2 +- 20 files changed, 154 insertions(+), 154 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 77076d58e67c2..740046f92b18e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2257,7 +2257,7 @@ checksum = "c1ad822118d20d2c234f427000d5acc36eabe1e29a348c89b63dd60b13f28e5d" [[package]] name = "bytecode-interpreter-crypto" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "curve25519-dalek-fiat", @@ -5585,7 +5585,7 @@ checksum = "5474f8732dc7e0635ae9df6595bcd39cd30e3cfe8479850d4fa3e69306c19712" [[package]] name = "move-abigen" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "bcs 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5602,7 +5602,7 @@ dependencies = [ [[package]] name = "move-binary-format" version = "0.0.3" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "arbitrary 1.1.7", @@ -5618,12 +5618,12 @@ dependencies = [ [[package]] name = "move-borrow-graph" version = "0.0.1" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" [[package]] name = "move-bytecode-source-map" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "bcs 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5638,7 +5638,7 @@ dependencies = [ [[package]] name = "move-bytecode-utils" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "move-binary-format", @@ -5650,7 +5650,7 @@ dependencies = [ [[package]] name = "move-bytecode-verifier" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "move-binary-format", @@ -5662,7 +5662,7 @@ dependencies = [ [[package]] name = "move-bytecode-viewer" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "clap 3.2.17", @@ -5679,7 +5679,7 @@ dependencies = [ [[package]] name = "move-cli" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "bcs 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5725,7 +5725,7 @@ dependencies = [ [[package]] name = "move-command-line-common" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "difference", @@ -5742,7 +5742,7 @@ dependencies = [ [[package]] name = "move-compiler" version = "0.0.1" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "bcs 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5771,7 +5771,7 @@ dependencies = [ [[package]] name = "move-core-types" version = "0.0.4" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "arbitrary 1.1.7", @@ -5789,7 +5789,7 @@ dependencies = [ [[package]] name = "move-coverage" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "bcs 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5809,7 +5809,7 @@ dependencies = [ [[package]] name = "move-disassembler" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "clap 3.2.17", @@ -5827,7 +5827,7 @@ dependencies = [ [[package]] name = "move-docgen" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "codespan", @@ -5845,7 +5845,7 @@ dependencies = [ [[package]] name = "move-errmapgen" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "bcs 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5875,7 +5875,7 @@ dependencies = [ [[package]] name = "move-ir-compiler" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "bcs 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5894,7 +5894,7 @@ dependencies = [ [[package]] name = "move-ir-to-bytecode" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "codespan-reporting", @@ -5913,7 +5913,7 @@ dependencies = [ [[package]] name = "move-ir-to-bytecode-syntax" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "hex", @@ -5926,7 +5926,7 @@ dependencies = [ [[package]] name = "move-ir-types" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "hex", @@ -5940,7 +5940,7 @@ dependencies = [ [[package]] name = "move-model" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "codespan", @@ -5966,7 +5966,7 @@ dependencies = [ [[package]] name = "move-package" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "bcs 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -6002,7 +6002,7 @@ dependencies = [ [[package]] name = "move-prover" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "async-trait", @@ -6039,7 +6039,7 @@ dependencies = [ [[package]] name = "move-prover-boogie-backend" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "async-trait", @@ -6067,7 +6067,7 @@ dependencies = [ [[package]] name = "move-read-write-set-types" version = "0.0.3" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "move-binary-format", @@ -6078,7 +6078,7 @@ dependencies = [ [[package]] name = "move-resource-viewer" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "bcs 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -6093,7 +6093,7 @@ dependencies = [ [[package]] name = "move-stackless-bytecode" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "codespan", "codespan-reporting", @@ -6120,7 +6120,7 @@ dependencies = [ [[package]] name = "move-stackless-bytecode-interpreter" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "bytecode-interpreter-crypto", @@ -6138,7 +6138,7 @@ dependencies = [ [[package]] name = "move-stdlib" version = "0.1.1" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "log", @@ -6160,7 +6160,7 @@ dependencies = [ [[package]] name = "move-symbol-pool" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "once_cell", "serde 1.0.144", @@ -6169,7 +6169,7 @@ dependencies = [ [[package]] name = "move-table-extension" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "bcs 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -6186,7 +6186,7 @@ dependencies = [ [[package]] name = "move-transactional-test-runner" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "clap 3.2.17", @@ -6217,7 +6217,7 @@ dependencies = [ [[package]] name = "move-unit-test" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "better_any", @@ -6248,7 +6248,7 @@ dependencies = [ [[package]] name = "move-vm-runtime" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "better_any", "fail 0.4.0", @@ -6265,7 +6265,7 @@ dependencies = [ [[package]] name = "move-vm-test-utils" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "move-binary-format", @@ -6279,7 +6279,7 @@ dependencies = [ [[package]] name = "move-vm-types" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "bcs 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "move-binary-format", @@ -7787,7 +7787,7 @@ dependencies = [ [[package]] name = "read-write-set" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "move-binary-format", @@ -7802,7 +7802,7 @@ dependencies = [ [[package]] name = "read-write-set-dynamic" version = "0.1.0" -source = "git+https://github.com/move-language/move?rev=64a03b1d5bdc3751b95d89c675e63f1ca205e753#64a03b1d5bdc3751b95d89c675e63f1ca205e753" +source = "git+https://github.com/move-language/move?rev=a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b#a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" dependencies = [ "anyhow", "move-binary-format", diff --git a/Cargo.toml b/Cargo.toml index 7ed5c04af57bf..4bfd85d6b9558 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -164,34 +164,34 @@ rust-version = "1.64" [workspace.dependencies] # BEGIN MOVE DEPENDENCIES -move-abigen = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-binary-format = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-bytecode-verifier = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-bytecode-utils = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-cli = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-command-line-common = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-compiler ={ git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-core-types = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753", features = ["address32"] } -move-docgen = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-ir-compiler = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-model = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-package = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-prover = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-prover-boogie-backend = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-stackless-bytecode = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-prover-test-utils = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-resource-viewer = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-stackless-bytecode-interpreter = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-stdlib = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-symbol-pool = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-table-extension = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-transactional-test-runner = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -move-unit-test = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753", features = ["table-extension"] } -move-vm-runtime = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753", features = ["lazy_natives"] } -move-vm-test-utils = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753", features = ["table-extension"] } -move-vm-types = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -read-write-set = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } -read-write-set-dynamic = { git = "https://github.com/move-language/move", rev = "64a03b1d5bdc3751b95d89c675e63f1ca205e753" } +move-abigen = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-binary-format = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-bytecode-verifier = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-bytecode-utils = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-cli = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-command-line-common = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-compiler ={ git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-core-types = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b", features = ["address32"] } +move-docgen = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-ir-compiler = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-model = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-package = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-prover = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-prover-boogie-backend = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-stackless-bytecode = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-prover-test-utils = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-resource-viewer = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-stackless-bytecode-interpreter = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-stdlib = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-symbol-pool = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-table-extension = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-transactional-test-runner = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +move-unit-test = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b", features = ["table-extension"] } +move-vm-runtime = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b", features = ["lazy_natives"] } +move-vm-test-utils = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b", features = ["table-extension"] } +move-vm-types = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +read-write-set = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } +read-write-set-dynamic = { git = "https://github.com/move-language/move", rev = "a6e1ffba1dab6b5d9f2804a91cd48e6b928e1b3b" } # END MOVE DEPENDENCIES [profile.release] diff --git a/aptos-move/framework/aptos-framework/doc/account.md b/aptos-move/framework/aptos-framework/doc/account.md index 3ebf69fc0aa89..64ec43f4b83bc 100644 --- a/aptos-move/framework/aptos-framework/doc/account.md +++ b/aptos-move/framework/aptos-framework/doc/account.md @@ -1015,7 +1015,7 @@ A scheme of 0 refers to an Ed25519 key and a scheme of 1 refers to Multi-Ed25519 originating address refers to an account's original/first address. -
public fun rotate_authentication_key(account: &signer, from_scheme: u8, from_public_key_bytes: vector<u8>, to_scheme: u8, to_public_key_bytes: vector<u8>, cap_rotate_key: vector<u8>, cap_update_table: vector<u8>)
+
public entry fun rotate_authentication_key(account: &signer, from_scheme: u8, from_public_key_bytes: vector<u8>, to_scheme: u8, to_public_key_bytes: vector<u8>, cap_rotate_key: vector<u8>, cap_update_table: vector<u8>)
 
@@ -1111,7 +1111,7 @@ previous recipient_address upon successful verification (the previo to the account owner's signer capability). -
public fun offer_signer_capability(account: &signer, signer_capability_sig_bytes: vector<u8>, account_scheme: u8, account_public_key_bytes: vector<u8>, recipient_address: address)
+
public entry fun offer_signer_capability(account: &signer, signer_capability_sig_bytes: vector<u8>, account_scheme: u8, account_public_key_bytes: vector<u8>, recipient_address: address)
 
@@ -1175,7 +1175,7 @@ Revoke the account owner's signer capability offer for to_be_revoked_addre has a signer capability offer from account but will be revoked in this function). -
public fun revoke_signer_capability(account: &signer, to_be_revoked_address: address)
+
public entry fun revoke_signer_capability(account: &signer, to_be_revoked_address: address)
 
diff --git a/aptos-move/framework/aptos-framework/doc/aptos_account.md b/aptos-move/framework/aptos-framework/doc/aptos_account.md index 0a5f5662ef84a..745759d1460f5 100644 --- a/aptos-move/framework/aptos-framework/doc/aptos_account.md +++ b/aptos-move/framework/aptos-framework/doc/aptos_account.md @@ -52,7 +52,7 @@ Account is not registered to receive APT. Basic account creation methods. -
public fun create_account(auth_key: address)
+
public entry fun create_account(auth_key: address)
 
@@ -77,7 +77,7 @@ Basic account creation methods. -
public fun transfer(source: &signer, to: address, amount: u64)
+
public entry fun transfer(source: &signer, to: address, amount: u64)
 
diff --git a/aptos-move/framework/aptos-framework/doc/aptos_coin.md b/aptos-move/framework/aptos-framework/doc/aptos_coin.md index 2da0cbf6197b7..58cd19caded47 100644 --- a/aptos-move/framework/aptos-framework/doc/aptos_coin.md +++ b/aptos-move/framework/aptos-framework/doc/aptos_coin.md @@ -319,7 +319,7 @@ Only callable in tests and testnets where the core resources account exists. Create new coins and deposit them into dst_addr's account. -
public fun mint(account: &signer, dst_addr: address, amount: u64)
+
public entry fun mint(account: &signer, dst_addr: address, amount: u64)
 
@@ -358,7 +358,7 @@ Only callable in tests and testnets where the core resources account exists. Create delegated token for the address so the account could claim MintCapability later. -
public fun delegate_mint_capability(account: signer, to: address)
+
public entry fun delegate_mint_capability(account: signer, to: address)
 
@@ -392,7 +392,7 @@ Only callable in tests and testnets where the core resources account exists. Claim the delegated mint capability and destroy the delegated token. -
public fun claim_mint_capability(account: &signer)
+
public entry fun claim_mint_capability(account: &signer)
 
diff --git a/aptos-move/framework/aptos-framework/doc/aptos_governance.md b/aptos-move/framework/aptos-framework/doc/aptos_governance.md index 3f35dd2ec7af8..5495c2d1093a8 100644 --- a/aptos-move/framework/aptos-framework/doc/aptos_governance.md +++ b/aptos-move/framework/aptos-framework/doc/aptos_governance.md @@ -762,7 +762,7 @@ Create a proposal with the backing stake_pool. only the exact script with matching hash can be successfully executed. -
public fun create_proposal(proposer: &signer, stake_pool: address, execution_hash: vector<u8>, metadata_location: vector<u8>, metadata_hash: vector<u8>)
+
public entry fun create_proposal(proposer: &signer, stake_pool: address, execution_hash: vector<u8>, metadata_location: vector<u8>, metadata_hash: vector<u8>)
 
@@ -848,7 +848,7 @@ only the exact script with matching hash can be successfully executed. Vote on proposal with proposal_id and voting power from stake_pool. -
public fun vote(voter: &signer, stake_pool: address, proposal_id: u64, should_pass: bool)
+
public entry fun vote(voter: &signer, stake_pool: address, proposal_id: u64, should_pass: bool)
 
@@ -925,7 +925,7 @@ Vote on proposal with proposal_id and voting power from stake -
public fun add_approved_script_hash_script(proposal_id: u64)
+
public entry fun add_approved_script_hash_script(proposal_id: u64)
 
diff --git a/aptos-move/framework/aptos-framework/doc/code.md b/aptos-move/framework/aptos-framework/doc/code.md index 77a69c8e524a8..d274d1c5a974a 100644 --- a/aptos-move/framework/aptos-framework/doc/code.md +++ b/aptos-move/framework/aptos-framework/doc/code.md @@ -595,7 +595,7 @@ Same as publish_package but as an entry function which can be calle of current restrictions for txn parameters, the metadata needs to be passed in serialized form. -
public fun publish_package_txn(owner: &signer, metadata_serialized: vector<u8>, code: vector<vector<u8>>)
+
public entry fun publish_package_txn(owner: &signer, metadata_serialized: vector<u8>, code: vector<vector<u8>>)
 
diff --git a/aptos-move/framework/aptos-framework/doc/coin.md b/aptos-move/framework/aptos-framework/doc/coin.md index 1c42bc81e5374..6e6f577f36868 100644 --- a/aptos-move/framework/aptos-framework/doc/coin.md +++ b/aptos-move/framework/aptos-framework/doc/coin.md @@ -987,7 +987,7 @@ Extracts the entire amount from the passed-in c Freeze a CoinStore to prevent transfers -
public fun freeze_coin_store<CoinType>(account_addr: address, _freeze_cap: &coin::FreezeCapability<CoinType>)
+
public entry fun freeze_coin_store<CoinType>(account_addr: address, _freeze_cap: &coin::FreezeCapability<CoinType>)
 
@@ -1016,7 +1016,7 @@ Freeze a CoinStore to prevent transfers Unfreeze a CoinStore to allow transfers -
public fun unfreeze_coin_store<CoinType>(account_addr: address, _freeze_cap: &coin::FreezeCapability<CoinType>)
+
public entry fun unfreeze_coin_store<CoinType>(account_addr: address, _freeze_cap: &coin::FreezeCapability<CoinType>)
 
@@ -1046,7 +1046,7 @@ Upgrade total supply to use a parallelizable implementation if it is available. -
public fun upgrade_supply<CoinType>(account: &signer)
+
public entry fun upgrade_supply<CoinType>(account: &signer)
 
@@ -1319,7 +1319,7 @@ Returns minted Coin. Transfers amount of coins CoinType from from to to. -
public fun transfer<CoinType>(from: &signer, to: address, amount: u64)
+
public entry fun transfer<CoinType>(from: &signer, to: address, amount: u64)
 
diff --git a/aptos-move/framework/aptos-framework/doc/managed_coin.md b/aptos-move/framework/aptos-framework/doc/managed_coin.md index f20777f9f8978..7a675831110f4 100644 --- a/aptos-move/framework/aptos-framework/doc/managed_coin.md +++ b/aptos-move/framework/aptos-framework/doc/managed_coin.md @@ -87,7 +87,7 @@ Account has no capabilities (burn/mint). Withdraw an amount of coin CoinType from account and burn it. -
public fun burn<CoinType>(account: &signer, amount: u64)
+
public entry fun burn<CoinType>(account: &signer, amount: u64)
 
@@ -126,7 +126,7 @@ Initialize new coin CoinType in Aptos Blockchain. Mint and Burn Capabilities will be stored under account in Capabilities resource. -
public fun initialize<CoinType>(account: &signer, name: vector<u8>, symbol: vector<u8>, decimals: u8, monitor_supply: bool)
+
public entry fun initialize<CoinType>(account: &signer, name: vector<u8>, symbol: vector<u8>, decimals: u8, monitor_supply: bool)
 
@@ -169,7 +169,7 @@ Mint and Burn Capabilities will be stored under mint<CoinType>(account: &signer, dst_addr: address, amount: u64) +
public entry fun mint<CoinType>(account: &signer, dst_addr: address, amount: u64)
 
@@ -208,7 +208,7 @@ Creating a resource that stores balance of CoinType on user's accou Required if user wants to start accepting deposits of CoinType in his account. -
public fun register<CoinType>(account: &signer)
+
public entry fun register<CoinType>(account: &signer)
 
diff --git a/aptos-move/framework/aptos-framework/doc/resource_account.md b/aptos-move/framework/aptos-framework/doc/resource_account.md index a2d4c8a6fdb2f..683f0334a59f1 100644 --- a/aptos-move/framework/aptos-framework/doc/resource_account.md +++ b/aptos-move/framework/aptos-framework/doc/resource_account.md @@ -167,7 +167,7 @@ the optional auth key if it is non-empty (though auth keys are 32-bytes) or the source accounts current auth key. -
public fun create_resource_account(origin: &signer, seed: vector<u8>, optional_auth_key: vector<u8>)
+
public entry fun create_resource_account(origin: &signer, seed: vector<u8>, optional_auth_key: vector<u8>)
 
@@ -206,7 +206,7 @@ this function adds additional resource ownership to the resource account and sho used for resource accounts that need access to Coin. -
public fun create_resource_account_and_fund(origin: &signer, seed: vector<u8>, optional_auth_key: vector<u8>, fund_amount: u64)
+
public entry fun create_resource_account_and_fund(origin: &signer, seed: vector<u8>, optional_auth_key: vector<u8>, fund_amount: u64)
 
@@ -245,7 +245,7 @@ Creates a new resource account, publishes the package under this account transac this account and leaves the signer cap readily available for pickup. -
public fun create_resource_account_and_publish_package(origin: &signer, seed: vector<u8>, metadata_serialized: vector<u8>, code: vector<vector<u8>>)
+
public entry fun create_resource_account_and_publish_package(origin: &signer, seed: vector<u8>, metadata_serialized: vector<u8>, code: vector<vector<u8>>)
 
diff --git a/aptos-move/framework/aptos-framework/doc/stake.md b/aptos-move/framework/aptos-framework/doc/stake.md index dfe6d8dcce009..5fef6938e226e 100644 --- a/aptos-move/framework/aptos-framework/doc/stake.md +++ b/aptos-move/framework/aptos-framework/doc/stake.md @@ -1702,7 +1702,7 @@ Note: this triggers setting the operator and owner, set it to the account's addr to set later. -
public fun initialize_stake_owner(owner: &signer, initial_stake_amount: u64, operator: address, voter: address)
+
public entry fun initialize_stake_owner(owner: &signer, initial_stake_amount: u64, operator: address, voter: address)
 
@@ -1750,7 +1750,7 @@ to set later. Initialize the validator account and give ownership to the signing account. -
public fun initialize_validator(account: &signer, consensus_pubkey: vector<u8>, proof_of_possession: vector<u8>, network_addresses: vector<u8>, fullnode_addresses: vector<u8>)
+
public entry fun initialize_validator(account: &signer, consensus_pubkey: vector<u8>, proof_of_possession: vector<u8>, network_addresses: vector<u8>, fullnode_addresses: vector<u8>)
 
@@ -1924,7 +1924,7 @@ Destroy owner_cap. Allows an owner to change the operator of the stake pool. -
public fun set_operator(owner: &signer, new_operator: address)
+
public entry fun set_operator(owner: &signer, new_operator: address)
 
@@ -1990,7 +1990,7 @@ Allows an account with ownership capability to change the operator of the stake Allows an owner to change the delegated voter of the stake pool. -
public fun set_delegated_voter(owner: &signer, new_voter: address)
+
public entry fun set_delegated_voter(owner: &signer, new_voter: address)
 
@@ -2046,7 +2046,7 @@ Allows an owner to change the delegated voter of the stake pool. Add amount of coins from the account owning the StakePool. -
public fun add_stake(owner: &signer, amount: u64)
+
public entry fun add_stake(owner: &signer, amount: u64)
 
@@ -2137,7 +2137,7 @@ Add coins into pool_address. this requires the corresp Move amount of coins from pending_inactive to active. -
public fun reactivate_stake(owner: &signer, amount: u64)
+
public entry fun reactivate_stake(owner: &signer, amount: u64)
 
@@ -2209,7 +2209,7 @@ Move amount of coins from pending_inactive to active. Rotate the consensus key of the validator, it'll take effect in next epoch. -
public fun rotate_consensus_key(operator: &signer, pool_address: address, new_consensus_pubkey: vector<u8>, proof_of_possession: vector<u8>)
+
public entry fun rotate_consensus_key(operator: &signer, pool_address: address, new_consensus_pubkey: vector<u8>, proof_of_possession: vector<u8>)
 
@@ -2261,7 +2261,7 @@ Rotate the consensus key of the validator, it'll take effect in next epoch. Update the network and full node addresses of the validator. This only takes effect in the next epoch. -
public fun update_network_and_fullnode_addresses(operator: &signer, pool_address: address, new_network_addresses: vector<u8>, new_fullnode_addresses: vector<u8>)
+
public entry fun update_network_and_fullnode_addresses(operator: &signer, pool_address: address, new_network_addresses: vector<u8>, new_fullnode_addresses: vector<u8>)
 
@@ -2311,7 +2311,7 @@ Update the network and full node addresses of the validator. This only takes eff Similar to increase_lockup_with_cap but will use ownership capability from the signing account. -
public fun increase_lockup(owner: &signer)
+
public entry fun increase_lockup(owner: &signer)
 
@@ -2382,7 +2382,7 @@ directly inactive if it's not from an active validator. This can only called by the operator of the validator/staking pool. -
public fun join_validator_set(operator: &signer, pool_address: address)
+
public entry fun join_validator_set(operator: &signer, pool_address: address)
 
@@ -2478,7 +2478,7 @@ This internal version can only be called by the Genesis module during Genesis. Similar to unlock_with_cap but will use ownership capability from the signing account. -
public fun unlock(owner: &signer, amount: u64)
+
public entry fun unlock(owner: &signer, amount: u64)
 
@@ -2552,7 +2552,7 @@ Unlock amount from the active stake. Only possible if the lockup ha Withdraw from account's inactive stake. -
public fun withdraw(owner: &signer, withdraw_amount: u64)
+
public entry fun withdraw(owner: &signer, withdraw_amount: u64)
 
@@ -2641,7 +2641,7 @@ is still operational. Can only be called by the operator of the validator/staking pool. -
public fun leave_validator_set(operator: &signer, pool_address: address)
+
public entry fun leave_validator_set(operator: &signer, pool_address: address)
 
@@ -3445,7 +3445,7 @@ Returns validator's next epoch voting power, including pending_active, active, a ### Function `initialize_stake_owner` -
public fun initialize_stake_owner(owner: &signer, initial_stake_amount: u64, operator: address, voter: address)
+
public entry fun initialize_stake_owner(owner: &signer, initial_stake_amount: u64, operator: address, voter: address)
 
@@ -3574,7 +3574,7 @@ Returns validator's next epoch voting power, including pending_active, active, a ### Function `add_stake` -
public fun add_stake(owner: &signer, amount: u64)
+
public entry fun add_stake(owner: &signer, amount: u64)
 
diff --git a/aptos-move/framework/aptos-framework/doc/staking_contract.md b/aptos-move/framework/aptos-framework/doc/staking_contract.md index 8b8654178bd0a..ab5cf95f65542 100644 --- a/aptos-move/framework/aptos-framework/doc/staking_contract.md +++ b/aptos-move/framework/aptos-framework/doc/staking_contract.md @@ -877,7 +877,7 @@ Maximum number of distributions a stake pool can support. Staker can call this function to create a simple staking contract with a specified operator. -
public fun create_staking_contract(staker: &signer, operator: address, voter: address, amount: u64, commission_percentage: u64, contract_creation_seed: vector<u8>)
+
public entry fun create_staking_contract(staker: &signer, operator: address, voter: address, amount: u64, commission_percentage: u64, contract_creation_seed: vector<u8>)
 
@@ -995,7 +995,7 @@ Staker can call this function to create a simple staking contract with a specifi Add more stake to an existing staking contract. -
public fun add_stake(staker: &signer, operator: address, amount: u64)
+
public entry fun add_stake(staker: &signer, operator: address, amount: u64)
 
@@ -1035,7 +1035,7 @@ Add more stake to an existing staking contract. Convenient function to allow the staker to update the voter address in a staking contract they made. -
public fun update_voter(staker: &signer, operator: address, new_voter: address)
+
public entry fun update_voter(staker: &signer, operator: address, new_voter: address)
 
@@ -1072,7 +1072,7 @@ Convenient function to allow the staker to update the voter address in a staking Convenient function to allow the staker to reset their stake pool's lockup period to start now. -
public fun reset_lockup(staker: &signer, operator: address)
+
public entry fun reset_lockup(staker: &signer, operator: address)
 
@@ -1108,7 +1108,7 @@ at the end of the stake pool's lockup period before they can actually can withdr Only staker or operator can call this. -
public fun request_commission(account: &signer, staker: address, operator: address)
+
public entry fun request_commission(account: &signer, staker: address, operator: address)
 
@@ -1205,7 +1205,7 @@ Staker can call this to request withdrawal of part or all of their staking_contr This also triggers paying commission to the operator for accounting simplicity. -
public fun unlock_stake(staker: &signer, operator: address, amount: u64)
+
public entry fun unlock_stake(staker: &signer, operator: address, amount: u64)
 
@@ -1271,7 +1271,7 @@ This also triggers paying commission to the operator for accounting simplicity. Unlock all accumulated rewards since the last recorded principals. -
public fun unlock_rewards(staker: &signer, operator: address)
+
public entry fun unlock_rewards(staker: &signer, operator: address)
 
@@ -1302,7 +1302,7 @@ Unlock all accumulated rewards since the last recorded principals. Allows staker to switch operator without going through the lenghthy process to unstake, without resetting commission. -
public fun switch_operator_with_same_commission(staker: &signer, old_operator: address, new_operator: address)
+
public entry fun switch_operator_with_same_commission(staker: &signer, old_operator: address, new_operator: address)
 
@@ -1335,7 +1335,7 @@ Allows staker to switch operator without going through the lenghthy process to u Allows staker to switch operator without going through the lenghthy process to unstake. -
public fun switch_operator(staker: &signer, old_operator: address, new_operator: address, new_commission_percentage: u64)
+
public entry fun switch_operator(staker: &signer, old_operator: address, new_operator: address, new_commission_percentage: u64)
 
@@ -1399,7 +1399,7 @@ Allow anyone to distribute already unlocked funds. This does not affect reward c not need to be restricted to just the staker or operator. -
public fun distribute(staker: address, operator: address)
+
public entry fun distribute(staker: address, operator: address)
 
diff --git a/aptos-move/framework/aptos-framework/doc/staking_proxy.md b/aptos-move/framework/aptos-framework/doc/staking_proxy.md index 1c4578093deb8..d49edc1e3f8cf 100644 --- a/aptos-move/framework/aptos-framework/doc/staking_proxy.md +++ b/aptos-move/framework/aptos-framework/doc/staking_proxy.md @@ -30,7 +30,7 @@ -
public fun set_operator(owner: &signer, old_operator: address, new_operator: address)
+
public entry fun set_operator(owner: &signer, old_operator: address, new_operator: address)
 
@@ -56,7 +56,7 @@ -
public fun set_voter(owner: &signer, operator: address, new_voter: address)
+
public entry fun set_voter(owner: &signer, operator: address, new_voter: address)
 
@@ -82,7 +82,7 @@ -
public fun set_vesting_contract_operator(owner: &signer, old_operator: address, new_operator: address)
+
public entry fun set_vesting_contract_operator(owner: &signer, old_operator: address, new_operator: address)
 
@@ -117,7 +117,7 @@ -
public fun set_staking_contract_operator(owner: &signer, old_operator: address, new_operator: address)
+
public entry fun set_staking_contract_operator(owner: &signer, old_operator: address, new_operator: address)
 
@@ -145,7 +145,7 @@ -
public fun set_stake_pool_operator(owner: &signer, new_operator: address)
+
public entry fun set_stake_pool_operator(owner: &signer, new_operator: address)
 
@@ -172,7 +172,7 @@ -
public fun set_vesting_contract_voter(owner: &signer, operator: address, new_voter: address)
+
public entry fun set_vesting_contract_voter(owner: &signer, operator: address, new_voter: address)
 
@@ -206,7 +206,7 @@ -
public fun set_staking_contract_voter(owner: &signer, operator: address, new_voter: address)
+
public entry fun set_staking_contract_voter(owner: &signer, operator: address, new_voter: address)
 
@@ -233,7 +233,7 @@ -
public fun set_stake_pool_voter(owner: &signer, new_voter: address)
+
public entry fun set_stake_pool_voter(owner: &signer, new_voter: address)
 
diff --git a/aptos-move/framework/aptos-framework/doc/version.md b/aptos-move/framework/aptos-framework/doc/version.md index 4f27c81f2c3c7..5b4f03e594bb1 100644 --- a/aptos-move/framework/aptos-framework/doc/version.md +++ b/aptos-move/framework/aptos-framework/doc/version.md @@ -142,7 +142,7 @@ Updates the major version to a larger version. This can be called by on chain governance. -
public fun set_version(account: &signer, major: u64)
+
public entry fun set_version(account: &signer, major: u64)
 
@@ -206,7 +206,7 @@ to update the version. ### Function `set_version` -
public fun set_version(account: &signer, major: u64)
+
public entry fun set_version(account: &signer, major: u64)
 
diff --git a/aptos-move/framework/aptos-framework/doc/vesting.md b/aptos-move/framework/aptos-framework/doc/vesting.md index 4c5ae89d36faf..45d7410c7a737 100644 --- a/aptos-move/framework/aptos-framework/doc/vesting.md +++ b/aptos-move/framework/aptos-framework/doc/vesting.md @@ -1418,7 +1418,7 @@ Create a vesting contract with a given configurations. Unlock any accumulated rewards. -
public fun unlock_rewards(contract_address: address)
+
public entry fun unlock_rewards(contract_address: address)
 
@@ -1447,7 +1447,7 @@ Unlock any accumulated rewards. Unlock any vested portion of the grant. -
public fun vest(contract_address: address)
+
public entry fun vest(contract_address: address)
 
@@ -1520,7 +1520,7 @@ Unlock any vested portion of the grant. Distribute any withdrawable stake from the stake pool. -
public fun distribute(contract_address: address)
+
public entry fun distribute(contract_address: address)
 
@@ -1585,7 +1585,7 @@ Distribute any withdrawable stake from the stake pool. Terminate the vesting contract and send all funds back to the withdrawal address. -
public fun terminate_vesting_contract(admin: &signer, contract_address: address)
+
public entry fun terminate_vesting_contract(admin: &signer, contract_address: address)
 
@@ -1632,7 +1632,7 @@ Withdraw all funds to the preset vesting contract's withdrawal address. This can has already been terminated. -
public fun admin_withdraw(admin: &signer, contract_address: address)
+
public entry fun admin_withdraw(admin: &signer, contract_address: address)
 
@@ -1676,7 +1676,7 @@ has already been terminated. -
public fun update_operator(admin: &signer, contract_address: address, new_operator: address, commission_percentage: u64)
+
public entry fun update_operator(admin: &signer, contract_address: address, new_operator: address, commission_percentage: u64)
 
@@ -1723,7 +1723,7 @@ has already been terminated. -
public fun update_operator_with_same_commission(admin: &signer, contract_address: address, new_operator: address)
+
public entry fun update_operator_with_same_commission(admin: &signer, contract_address: address, new_operator: address)
 
@@ -1752,7 +1752,7 @@ has already been terminated. -
public fun update_voter(admin: &signer, contract_address: address, new_voter: address)
+
public entry fun update_voter(admin: &signer, contract_address: address, new_voter: address)
 
@@ -1796,7 +1796,7 @@ has already been terminated. -
public fun reset_lockup(admin: &signer, contract_address: address)
+
public entry fun reset_lockup(admin: &signer, contract_address: address)
 
@@ -1836,7 +1836,7 @@ has already been terminated. -
public fun set_beneficiary(admin: &signer, contract_address: address, shareholder: address, new_beneficiary: address)
+
public entry fun set_beneficiary(admin: &signer, contract_address: address, shareholder: address, new_beneficiary: address)
 
@@ -1892,7 +1892,7 @@ Remove the beneficiary for the given shareholder. All distributions will sent di account. -
public fun reset_beneficiary(account: &signer, contract_address: address, shareholder: address)
+
public entry fun reset_beneficiary(account: &signer, contract_address: address, shareholder: address)
 
@@ -1931,7 +1931,7 @@ account. -
public fun set_management_role(admin: &signer, contract_address: address, role: string::String, role_holder: address)
+
public entry fun set_management_role(admin: &signer, contract_address: address, role: string::String, role_holder: address)
 
@@ -1974,7 +1974,7 @@ account. -
public fun set_beneficiary_resetter(admin: &signer, contract_address: address, beneficiary_resetter: address)
+
public entry fun set_beneficiary_resetter(admin: &signer, contract_address: address, beneficiary_resetter: address)
 
diff --git a/aptos-move/framework/aptos-token/doc/token.md b/aptos-move/framework/aptos-token/doc/token.md index 105f216743239..668d19b8d37d0 100644 --- a/aptos-move/framework/aptos-token/doc/token.md +++ b/aptos-move/framework/aptos-token/doc/token.md @@ -1457,7 +1457,7 @@ Cannot withdraw 0 token create a empty token collection with parameters -
public fun create_collection_script(creator: &signer, name: string::String, description: string::String, uri: string::String, maximum: u64, mutate_setting: vector<bool>)
+
public entry fun create_collection_script(creator: &signer, name: string::String, description: string::String, uri: string::String, maximum: u64, mutate_setting: vector<bool>)
 
@@ -1496,7 +1496,7 @@ create a empty token collection with parameters create token with raw inputs -
public fun create_token_script(account: &signer, collection: string::String, name: string::String, description: string::String, balance: u64, maximum: u64, uri: string::String, royalty_payee_address: address, royalty_points_denominator: u64, royalty_points_numerator: u64, mutate_setting: vector<bool>, property_keys: vector<string::String>, property_values: vector<vector<u8>>, property_types: vector<string::String>)
+
public entry fun create_token_script(account: &signer, collection: string::String, name: string::String, description: string::String, balance: u64, maximum: u64, uri: string::String, royalty_payee_address: address, royalty_points_denominator: u64, royalty_points_numerator: u64, mutate_setting: vector<bool>, property_keys: vector<string::String>, property_values: vector<vector<u8>>, property_types: vector<string::String>)
 
@@ -1558,7 +1558,7 @@ create token with raw inputs Mint more token from an existing token_data. Mint only adds more token to property_version 0 -
public fun mint_script(account: &signer, token_data_address: address, collection: string::String, name: string::String, amount: u64)
+
public entry fun mint_script(account: &signer, token_data_address: address, collection: string::String, name: string::String, amount: u64)
 
@@ -1602,7 +1602,7 @@ if the token property_version is 0, we will create a new property_version per to if the token property_version is not 0, we will just update the propertyMap and use the existing token_id (property_version) -
public fun mutate_token_properties(account: &signer, token_owner: address, creator: address, collection_name: string::String, token_name: string::String, token_property_version: u64, amount: u64, keys: vector<string::String>, values: vector<vector<u8>>, types: vector<string::String>)
+
public entry fun mutate_token_properties(account: &signer, token_owner: address, creator: address, collection_name: string::String, token_name: string::String, token_property_version: u64, amount: u64, keys: vector<string::String>, values: vector<vector<u8>>, types: vector<string::String>)
 
@@ -1649,7 +1649,7 @@ if the token property_version is not 0, we will just update the propertyMap and -
public fun direct_transfer_script(sender: &signer, receiver: &signer, creators_address: address, collection: string::String, name: string::String, property_version: u64, amount: u64)
+
public entry fun direct_transfer_script(sender: &signer, receiver: &signer, creators_address: address, collection: string::String, name: string::String, property_version: u64, amount: u64)
 
@@ -1682,7 +1682,7 @@ if the token property_version is not 0, we will just update the propertyMap and -
public fun opt_in_direct_transfer(account: &signer, opt_in: bool)
+
public entry fun opt_in_direct_transfer(account: &signer, opt_in: bool)
 
@@ -1711,7 +1711,7 @@ Transfers amount of tokens from from to toto has to opt-in direct transfer first -
public fun transfer_with_opt_in(from: &signer, creator: address, collection_name: string::String, token_name: string::String, token_property_version: u64, to: address, amount: u64)
+
public entry fun transfer_with_opt_in(from: &signer, creator: address, collection_name: string::String, token_name: string::String, token_property_version: u64, to: address, amount: u64)
 
@@ -1746,7 +1746,7 @@ Burn a token by creator when the token's BURNABLE_BY_CREATOR is true The token is owned at address owner -
public fun burn_by_creator(creator: &signer, owner: address, collection: string::String, name: string::String, property_version: u64, amount: u64)
+
public entry fun burn_by_creator(creator: &signer, owner: address, collection: string::String, name: string::String, property_version: u64, amount: u64)
 
@@ -1835,7 +1835,7 @@ The token is owned at address owner Burn a token by the token owner -
public fun burn(owner: &signer, creators_address: address, collection: string::String, name: string::String, property_version: u64, amount: u64)
+
public entry fun burn(owner: &signer, creators_address: address, collection: string::String, name: string::String, property_version: u64, amount: u64)
 
@@ -3983,7 +3983,7 @@ Deposit the token balance into the recipients account and emit an event. -
public fun initialize_token_script(_account: &signer)
+
public entry fun initialize_token_script(_account: &signer)
 
diff --git a/aptos-move/framework/aptos-token/doc/token_coin_swap.md b/aptos-move/framework/aptos-token/doc/token_coin_swap.md index cc625e2bb21fd..a0fd8ae1dab85 100644 --- a/aptos-move/framework/aptos-token/doc/token_coin_swap.md +++ b/aptos-move/framework/aptos-token/doc/token_coin_swap.md @@ -425,7 +425,7 @@ Coin owner withdraw coin to swap with tokens listed for swapping at the token ow Token owner lists their token for swapping -
public fun list_token_for_swap<CoinType>(_token_owner: &signer, _creators_address: address, _collection: string::String, _name: string::String, _property_version: u64, _token_amount: u64, _min_coin_per_token: u64, _locked_until_secs: u64)
+
public entry fun list_token_for_swap<CoinType>(_token_owner: &signer, _creators_address: address, _collection: string::String, _name: string::String, _property_version: u64, _token_amount: u64, _min_coin_per_token: u64, _locked_until_secs: u64)
 
diff --git a/aptos-move/framework/aptos-token/doc/token_transfers.md b/aptos-move/framework/aptos-token/doc/token_transfers.md index 8b54d0627f527..7c00629060cb0 100644 --- a/aptos-move/framework/aptos-token/doc/token_transfers.md +++ b/aptos-move/framework/aptos-token/doc/token_transfers.md @@ -308,7 +308,7 @@ Token offer doesn't exist -
public fun offer_script(sender: signer, receiver: address, creator: address, collection: string::String, name: string::String, property_version: u64, amount: u64)
+
public entry fun offer_script(sender: signer, receiver: address, creator: address, collection: string::String, name: string::String, property_version: u64, amount: u64)
 
@@ -393,7 +393,7 @@ Token offer doesn't exist -
public fun claim_script(receiver: signer, sender: address, creator: address, collection: string::String, name: string::String, property_version: u64)
+
public entry fun claim_script(receiver: signer, sender: address, creator: address, collection: string::String, name: string::String, property_version: u64)
 
@@ -468,7 +468,7 @@ Token offer doesn't exist -
public fun cancel_offer_script(sender: signer, receiver: address, creator: address, collection: string::String, name: string::String, property_version: u64)
+
public entry fun cancel_offer_script(sender: signer, receiver: address, creator: address, collection: string::String, name: string::String, property_version: u64)
 
diff --git a/aptos-move/framework/src/built_package.rs b/aptos-move/framework/src/built_package.rs index 2debf12b4a16c..59f5f3c3c69cc 100644 --- a/aptos-move/framework/src/built_package.rs +++ b/aptos-move/framework/src/built_package.rs @@ -93,7 +93,7 @@ pub(crate) fn build_model( test_mode: false, force_recompilation: false, fetch_deps_only: false, - fetch_latest_git_deps: false, + skip_fetch_latest_git_deps: true, }; build_config.move_model_for_package( package_path, @@ -120,7 +120,7 @@ impl BuiltPackage { test_mode: false, force_recompilation: false, fetch_deps_only: false, - fetch_latest_git_deps: false, + skip_fetch_latest_git_deps: true, }; eprintln!("Compiling, may take a little while to download git dependencies..."); let mut package = diff --git a/scripts/dev_setup.sh b/scripts/dev_setup.sh index 2f9b9b4cbf269..47f2d440933e1 100755 --- a/scripts/dev_setup.sh +++ b/scripts/dev_setup.sh @@ -20,7 +20,7 @@ KUBECTL_VERSION=1.18.6 TERRAFORM_VERSION=0.12.26 HELM_VERSION=3.2.4 VAULT_VERSION=1.5.0 -Z3_VERSION=4.11.0 +Z3_VERSION=4.11.2 CVC5_VERSION=0.0.3 DOTNET_VERSION=6.0 BOOGIE_VERSION=2.15.8