From d7063b7787ef5cd3a85e495d16375f52bb064677 Mon Sep 17 00:00:00 2001 From: Clay-Mysten <100217682+Clay-Mysten@users.noreply.github.com> Date: Wed, 15 Jun 2022 20:58:53 -0400 Subject: [PATCH] Fix case in links from Move doc to tictactoe .move files (#2577) --- doc/src/build/move.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/build/move.md b/doc/src/build/move.md index 3db564aba0f9f..7876d18b6eb14 100644 --- a/doc/src/build/move.md +++ b/doc/src/build/move.md @@ -83,7 +83,7 @@ user-defined coin types, which are custom assets defined in the Move language. Sui framework code contains the `Coin` module supporting creation and management of custom coins. The `Coin` module is located in the -[Coin.move](https://github.com/MystenLabs/sui/blob/main/crates/sui-framework/sources/coin.move) +[coin.move](https://github.com/MystenLabs/sui/blob/main/crates/sui-framework/sources/coin.move) file. As you would expect, the manifest file describing how to build the package containing the `Coin` module is located in the corresponding [Move.toml](https://github.com/MystenLabs/sui/blob/main/crates/sui-framework/Move.toml) @@ -966,7 +966,7 @@ transfer::share_object(obj); ``` After this call, `obj` stays mutable, but becomes shared by everyone, i.e. anyone can send a transaction to mutate this object. However, such an object cannot be deleted, transferred or embedded in another object as a field. -Shared mutable object can be powerful in that it will make programming a lot simpler in many cases. However shared object is also more expensive to use: it requires a full sequencer (a.k.a. a consensus engine) to order the transactions that touch the shared object, which means longer latency/lower throughput and higher gas cost. One can see the difference of the two programming schemes between not using shared object vs using shared object by looking at the two different implementations of TicTacToe: [No Shared Object](https://github.com/MystenLabs/sui/blob/main/sui_programmability/examples/games/sources/TicTacToe.move) vs. [Shared Object](https://github.com/MystenLabs/sui/blob/main/sui_programmability/examples/games/sources/SharedTicTacToe.move). +Shared mutable object can be powerful in that it will make programming a lot simpler in many cases. However shared object is also more expensive to use: it requires a full sequencer (a.k.a. a consensus engine) to order the transactions that touch the shared object, which means longer latency/lower throughput and higher gas cost. One can see the difference of the two programming schemes between not using shared object vs using shared object by looking at the two different implementations of TicTacToe: [No Shared Object](https://github.com/MystenLabs/sui/blob/main/sui_programmability/examples/games/sources/tic_tac_toe.move) vs. [Shared Object](https://github.com/MystenLabs/sui/blob/main/sui_programmability/examples/games/sources/shared_tic_tac_toe.move). ### Transaction context `TxContext` module provides a few important APIs that operate based on the current transaction context.