Skip to content

Commit

Permalink
Fix case in links from Move doc to tictactoe .move files (MystenLabs#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Clay-Mysten authored Jun 16, 2022
1 parent ec49851 commit d7063b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/src/build/move.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit d7063b7

Please sign in to comment.