Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
217,643 changes: 217,643 additions & 0 deletions aptos-move/framework/aptos-framework/boogie.shard_1.bpl

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions aptos-move/move-examples/aggregator_examples/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ version = "0.0.0"
aggregator_examples = "0xCAFE"

[dependencies]
AptosStdlib = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-stdlib", rev = "mainnet" }
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
2 changes: 1 addition & 1 deletion aptos-move/move-examples/argument_example/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ version = "0.0.0"
deploy_address = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unfortunately also deadly, and we changed it from this to what we currently have a while ago.

Reason is users copy those examples for playing around and then link to some arbitrary local framework.

In fact normally it is NOT a problem to refer to main because of upgrade compatibility. Only in the very particular case of the option hack we have source level incompatible change, I doubt we ever have this again,

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from option, framework removes the use of "::" because compiler will warn about it since 2.2. Unfortunately, the modified code cannot pass the compiler with a lower language version such as 2.1.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, on the other hand, this was also an exception. Normally we would never make a breaking change to the source language, this one time we allowed since hardly any user would have known the weird :: notation. Perhaps we should have also not even done this.

I'd go so far and argue our examples linking to ancient commits in the framework history, is actually a good test that a similar user project doesn't stop working in the future. We should embrace that this should always work, so the CLI is 100% downwards compatible.

2 changes: 1 addition & 1 deletion aptos-move/move-examples/bcs-stream/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ version = "0.0.0"
bcs_stream = "0xCAFE"

[dependencies]
AptosStdlib = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-stdlib", rev = "mainnet" }
AptosStdlib = { local = "../../framework/aptos-stdlib" }
1 change: 0 additions & 1 deletion aptos-move/move-examples/bonding_curve_launchpad/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ bonding_curve_launchpad = "0x650"
deployer = "0xaaa"
swap = "0xcafe"


[dependencies.AptosFramework]
git = "https://github.com/aptos-labs/aptos-framework.git"
rev = "bbf569abd260d94bc30fe96da297d2aecb193644"
Expand Down
6 changes: 2 additions & 4 deletions aptos-move/move-examples/cli_args/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ upgrade_policy = "compatible"
[addresses]
test_account = "_"

[dependencies.AptosFramework]
git = "https://github.com/aptos-labs/aptos-framework.git"
subdir = "aptos-framework"
rev = "mainnet"
[dependencies]
AptosFramework = { local = "../../framework/aptos-framework" }
2 changes: 1 addition & 1 deletion aptos-move/move-examples/common_account/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "CommonAccount"
version = "1.0.0"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }

[addresses]
common_account = "_"
4 changes: 2 additions & 2 deletions aptos-move/move-examples/dao/nft_dao/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ dao_platform = "_"
aptos_framework = "0x1"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosToken = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-token", rev = "mainnet" }
AptosFramework = { local = "../../../framework/aptos-framework" }
AptosToken = { local = "../../../framework/aptos-token" }
3 changes: 1 addition & 2 deletions aptos-move/move-examples/data_structures/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name = "DataStructure"
version = "0.0.1"

[dependencies]
AptosStdlib = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-stdlib", rev = "mainnet" }
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }


[addresses]
Expand Down
2 changes: 1 addition & 1 deletion aptos-move/move-examples/defi/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ version = "0.0.0"
defi = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
3 changes: 1 addition & 2 deletions aptos-move/move-examples/drand/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name = "DrandLottery"
version = "0.0.1"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
#AptosStdlib = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-stdlib", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }


[addresses]
Expand Down
2 changes: 1 addition & 1 deletion aptos-move/move-examples/event/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ aptos_framework = "0x1"
event = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
6 changes: 2 additions & 4 deletions aptos-move/move-examples/fixed_point64/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ fixed_point64 = "0xdeadbeef"

[dev-addresses]

[dependencies.AptosFramework]
git = "https://github.com/aptos-labs/aptos-framework.git"
rev = "mainnet"
subdir = "aptos-framework"
[dependencies]
AptosFramework = { local = "../../framework/aptos-framework" }

[dev-dependencies]
2 changes: 1 addition & 1 deletion aptos-move/move-examples/governance/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ version = "0.0.0"
aptos_framework = "0x1"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
2 changes: 1 addition & 1 deletion aptos-move/move-examples/groth16_example/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name = "GenericGroth16"
version = "0.0.0"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
2 changes: 1 addition & 1 deletion aptos-move/move-examples/hello_blockchain/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ version = "0.0.0"
hello_blockchain = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
2 changes: 1 addition & 1 deletion aptos-move/move-examples/hello_prover/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "hello_prover"
version = "0.0.0"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework/", rev = "main" }
AptosFramework = { local = "../../framework/aptos-framework" }

[addresses]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "1.0.0"
upgrade_policy = "compatible"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }

[addresses]
large_package_example = "_"
6 changes: 3 additions & 3 deletions aptos-move/move-examples/marketplace/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ version = "0.0.0"
marketplace = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosToken = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-token", rev = "mainnet" }
AptosTokenObjects = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-token-objects", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
AptosToken = { local = "../../framework/aptos-token" }
AptosTokenObjects = { local = "../../framework/aptos-token-objects" }
2 changes: 1 addition & 1 deletion aptos-move/move-examples/message_board/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "MessageBoard"
version = "0.0.1"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }

[addresses]
std = "0x1"
Expand Down
4 changes: 2 additions & 2 deletions aptos-move/move-examples/mint_nft/1-Create-NFT/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name = "Examples"
version = "0.0.0"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosToken = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-token", rev = "mainnet" }
AptosFramework = { local = "../../../framework/aptos-framework" }
AptosToken = { local = "../../../framework/aptos-token" }

[addresses]
aptos_framework = "0x1"
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name = "Examples"
version = "0.0.0"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosToken = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-token", rev = "mainnet" }
AptosFramework = { local = "../../../framework/aptos-framework" }
AptosToken = { local = "../../../framework/aptos-token" }

[addresses]
aptos_framework = "0x1"
6 changes: 3 additions & 3 deletions aptos-move/move-examples/mint_nft/3-Adding-Admin/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name = "Examples"
version = "0.0.0"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosToken = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-token", rev = "mainnet" }
AptosFramework = { local = "../../../framework/aptos-framework" }
AptosToken = { local = "../../../framework/aptos-token" }

[addresses]
aptos_framework = "0x1"
# replace the admin_addr with the actual admin address we created using CLI
admin_addr = "0xbeef"
admin_addr = "0xbeef"
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name = "Examples"
version = "0.0.0"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosToken = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-token", rev = "mainnet" }
AptosFramework = { local = "../../../framework/aptos-framework" }
AptosToken = { local = "../../../framework/aptos-token" }

[addresses]
aptos_framework = "0x1"
# replace the admin_addr with the actual admin address we created using CLI
admin_addr = "0xbeef"
admin_addr = "0xbeef"
2 changes: 1 addition & 1 deletion aptos-move/move-examples/moon_coin/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ version = "0.0.0"
MoonCoin = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
2 changes: 1 addition & 1 deletion aptos-move/move-examples/on_chain_dice/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ version = "0.0.0"
module_owner = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
2 changes: 1 addition & 1 deletion aptos-move/move-examples/package_manager/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "1.0.0"
upgrade_policy = "compatible"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }

[addresses]
deployer = "_"
Expand Down
4 changes: 2 additions & 2 deletions aptos-move/move-examples/post_mint_reveal_nft/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name = "PostMint"
version = "0.0.0"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosToken = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-token", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
AptosToken = { local = "../../framework/aptos-token" }

[addresses]
aptos_framework = "0x1"
Expand Down
2 changes: 1 addition & 1 deletion aptos-move/move-examples/pyth/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "Pyth"
version = "0.0.1"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }

[addresses]
pyth = "_"
5 changes: 2 additions & 3 deletions aptos-move/move-examples/raffle/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ name = "raffle"
version = "0.0.1"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosStdlib = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-stdlib", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }


[addresses]
raffle = "_"
raffle = "_"
2 changes: 1 addition & 1 deletion aptos-move/move-examples/resource_account/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.0.0"
upgrade_policy = "compatible"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }

[addresses]
# change it to `source_addr = "_" when calling `create-resource-account-and-publish-package` from the cli
Expand Down
2 changes: 1 addition & 1 deletion aptos-move/move-examples/resource_groups/primary/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ version = "0.0.0"
resource_groups_primary = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ resource_groups_primary = "_"
resource_groups_secondary = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Incorrect Relative Path to AptosFramework

Incorrect relative path to AptosFramework. The file is located at aptos-move/move-examples/resource_groups/secondary/Move.toml (3 levels deep), but uses ../../framework/aptos-framework which would resolve to aptos-move/move-examples/framework/aptos-framework. The correct path should be ../../../framework/aptos-framework to reach aptos-move/framework/aptos-framework, consistent with other examples at the same directory depth (e.g., token_objects/ambassador, dao/nft_dao, mint_nft subdirectories).

Fix in Cursor Fix in Web

ResourceGroupsPrimary = { local = "../primary" }
2 changes: 1 addition & 1 deletion aptos-move/move-examples/rewards_pool/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ version = "1.0.0"
rewards_pool = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
2 changes: 1 addition & 1 deletion aptos-move/move-examples/shared_account/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name = "Examples"
version = "0.0.0"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
2 changes: 1 addition & 1 deletion aptos-move/move-examples/split_transfer/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name = "SplitTransfer"
version = "0.0.0"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
2 changes: 1 addition & 1 deletion aptos-move/move-examples/staking/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "staking"
version = "0.0.1"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
Pyth = { local = "../pyth" }

[addresses]
Expand Down
2 changes: 1 addition & 1 deletion aptos-move/move-examples/swap/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ deployer = "_"
swap = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
2 changes: 1 addition & 1 deletion aptos-move/move-examples/tic-tac-toe/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ version = '1.0.0'
tic_tac_toe = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosFramework = { local = "../../framework/aptos-framework" }
4 changes: 2 additions & 2 deletions aptos-move/move-examples/token_objects/ambassador/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ version = '1.0.0'
ambassador = "0xCAFE"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosTokenObjects = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-token-objects", rev = "mainnet" }
AptosFramework = { local = "../../../framework/aptos-framework" }
AptosTokenObjects = { local = "../../../framework/aptos-token-objects" }
4 changes: 2 additions & 2 deletions aptos-move/move-examples/token_objects/guild/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ version = '1.0.0'
guild = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosTokenObjects = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-token-objects", rev = "mainnet" }
AptosFramework = { local = "../../../framework/aptos-framework" }
AptosTokenObjects = { local = "../../../framework/aptos-token-objects" }
4 changes: 2 additions & 2 deletions aptos-move/move-examples/token_objects/hero/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ version = "0.0.0"
hero = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosTokenObjects = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-token-objects", rev = "mainnet" }
AptosFramework = { local = "../../../framework/aptos-framework" }
AptosTokenObjects = { local = "../../../framework/aptos-token-objects" }
4 changes: 2 additions & 2 deletions aptos-move/move-examples/token_objects/knight/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ version = '1.0.0'
knight = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosTokenObjects = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-token-objects", rev = "mainnet" }
AptosFramework = { local = "../../../framework/aptos-framework" }
AptosTokenObjects = { local = "../../../framework/aptos-token-objects" }
4 changes: 2 additions & 2 deletions aptos-move/move-examples/token_objects/token_lockup/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ version = '1.0.0'
token_lockup = "_"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-framework", rev = "mainnet" }
AptosTokenObjects = { git = "https://github.com/aptos-labs/aptos-framework.git", subdir = "aptos-token-objects", rev = "mainnet" }
AptosFramework = { local = "../../../framework/aptos-framework" }
AptosTokenObjects = { local = "../../../framework/aptos-token-objects" }
6 changes: 2 additions & 4 deletions aptos-move/move-examples/upgrade_and_govern/genesis/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ version = '1.0.0'
[addresses]
upgrade_and_govern = '_'

[dependencies.AptosFramework]
git = "https://github.com/aptos-labs/aptos-framework.git"
subdir = "aptos-framework"
rev = "mainnet"
[dependencies]
AptosFramework = { local = "../../../framework/aptos-framework" }
6 changes: 2 additions & 4 deletions aptos-move/move-examples/upgrade_and_govern/upgrade/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ version = '1.1.0'
[addresses]
upgrade_and_govern = '_'

[dependencies.AptosFramework]
git = "https://github.com/aptos-labs/aptos-framework.git"
subdir = "aptos-framework"
rev = "mainnet"
[dependencies]
AptosFramework = { local = "../../../framework/aptos-framework" }
4 changes: 2 additions & 2 deletions aptos-move/move-examples/vector_pushback/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = []

[dev-addresses]

[dependencies.AptosFramework]
local = "../../framework/aptos-framework/"
[dependencies]
AptosFramework = { local = "../../framework/aptos-framework" }

[dev-dependencies]
Loading