From 2ba90df93fbd01f688a3d19497e0f180dc84ad1e Mon Sep 17 00:00:00 2001 From: Mirror <113173672+Mirror-Tang@users.noreply.github.com> Date: Tue, 12 Sep 2023 06:55:32 +0800 Subject: [PATCH] docs: fix the incorrect link on the world-101 page (#1440) Co-authored-by: Ori Pomerantz --- docs/pages/world/world-101.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/pages/world/world-101.mdx b/docs/pages/world/world-101.mdx index fbe6d6a8a6..b20dc907c2 100644 --- a/docs/pages/world/world-101.mdx +++ b/docs/pages/world/world-101.mdx @@ -59,7 +59,8 @@ In most basic cases, you don’t need to worry about namespaces and access contr Systems are stateless pieces of logic executed on the World, represented as a resource within a namespace. They are written in Solidity and compile to the EVM like regular smart contracts. You can think of them as SQL functions acting your SQL database (Store in this case). -Systems read and store their state on the World's Store. These storage access are abstracted via the libraries generated with `tablegen`. You can learn more about `tablegen` in the [Store doc](/store/reading-and-writing). + +Systems read and store their state on the World's Store. These storage access are abstracted via the libraries generated with `tablegen`. You can learn more about `tablegen` in the [Store doc](//reading-and-writing). **Reading and writing to the state in a system:** @@ -135,7 +136,7 @@ Let’s break it down: First, notice there is no `namespace` key: all our resources will be installed in the `ROOT` namespace, and our systems' functions will be registered as-is on the World. -Secondly, there is one singleton table named “Counter”, with a single column named `value` with type `uint32`. To learn more about the format for defining tables, head to the [Store documentation](store). +Secondly, there is one singleton table named “Counter”, with a single column named `value` with type `uint32`. To learn more about the format for defining tables, head to the [Store documentation](/store). Lastly, this project has one system at `IncrementSystem.sol`, but it does not need to be in the config. Any file that ends in `*System.sol` is considered a system and deployed by default.