Skip to content

Commit 6037ffb

Browse files
committed
fix links
1 parent 0a0d203 commit 6037ffb

File tree

7 files changed

+4
-12
lines changed

7 files changed

+4
-12
lines changed

docs/docs/aztec/concepts/accounts/keys.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ When it comes to storing the signing key in a private note, there are several de
106106

107107
#### Using Delayed Public Mutable state
108108

109-
By [Delayed Public Mutable](../../../developers/reference/smart_contract_reference/storage/delayed_public_mutable.md#delayedpublicmutable) we mean privately readable publicly mutable state.
109+
By [Delayed Public Mutable](../../../developers/guides/smart_contracts/data_types.md#delayed-public-mutable) we mean privately readable publicly mutable state.
110110

111111
To make public state accessible privately, there is a delay window in public state updates. One needs this window to be able to generate proofs client-side. This approach would not generate additional nullifiers and commitments for each transaction while allowing the user to rotate their key. However, this causes every transaction to now have a time-to-live determined by the frequency of the delayed mutable state, as well as imposing restrictions on how fast keys can be rotated due to minimum delays.
112112

docs/docs/aztec/concepts/call_types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "#incl
149149

150150
Even with the router contract achieving good privacy is hard.
151151
For example, if the value being checked against is unique and stored in the contract's public storage, it's then simple to find private transactions that are using that value in the enqueued public reads, and therefore link them to this contract.
152-
For this reason it is encouraged to try to avoid public function calls and instead privately read [Shared State](../../developers/reference/smart_contract_reference/storage/delayed_public_mutable.md) when possible.
152+
For this reason it is encouraged to try to avoid public function calls and instead privately read [Shared State](../../developers/guides/smart_contracts/data_types.md#delayed-public-mutable) when possible.
153153

154154
### Public Execution
155155

docs/docs/aztec/concepts/storage/state_model.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,3 @@ Private state is represented in an append-only database since updating a record
2222
The act of "deleting" a private state variable can be represented by adding an associated nullifier to a nullifier set. The nullifier is generated such that, without knowing the decryption key of the owner, an observer cannot link a state record with a nullifier.
2323

2424
Modification of state variables can be emulated by nullifying the state record and creating a new record to represent the variable. Private state has an intrinsic UTXO structure.
25-
26-
## Further reading
27-
28-
Read more about how to leverage the Aztec state model in Aztec contracts [here](../../../developers/reference/smart_contract_reference/storage/index.md).

docs/docs/developers/guides/js_apps/test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ WARN Error processing tx 06dc87c4d64462916ea58426ffcfaf20017880b353c9ec3e0f0ee5f
103103

104104
We can check private or public state directly rather than going through view-only methods, as we did in the initial example by calling `token.methods.balance().simulate()`.
105105

106-
To query storage directly, you'll need to know the slot you want to access. This can be checked in the [contract's `Storage` definition](../../reference/smart_contract_reference/storage/index.md) directly for most data types. However, when it comes to mapping types, as in most EVM languages, we'll need to calculate the slot for a given key. To do this, we'll use the [`CheatCodes`](../../reference/environment_reference/cheat_codes.md) utility class:
106+
To query storage directly, you'll need to know the slot you want to access. However, when it comes to mapping types, as in most EVM languages, we'll need to calculate the slot for a given key. To do this, we'll use the [`CheatCodes`](../../reference/environment_reference/cheat_codes.md) utility class:
107107

108108
#include_code calc-slot /yarn-project/end-to-end/src/guides/dapp_testing.test.ts typescript
109109

docs/docs/developers/guides/smart_contracts/common_patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Note - you could also create a note and send it to the user. The problem is ther
3939

4040
### Reading public storage in private
4141

42-
You can read public storage in private domain by leveraging the private getters of `PublicImmutable` (for values that never change) and `DelayedPublicMutable` (for values that change infrequently, see [delayed public mutable state](../../reference/smart_contract_reference/storage/delayed_public_mutable.md) for details) state variables.
42+
You can read public storage in private domain by leveraging the private getters of `PublicImmutable` (for values that never change) and `DelayedPublicMutable` (for values that change infrequently, see [delayed public mutable state](./data_types.md#delayed-public-mutable) for details) state variables.
4343
Values that change frequently (`PublicMutable`) cannot be read in private as for those we need access to the tip of the chain and only a sequencer has access to that (and sequencer executes only public functions).
4444

4545
E.g. when using `PublicImmutable`

docs/docs/developers/guides/smart_contracts/storage.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ On this page, you will learn how to define storage in your smart contract.
99

1010
To learn more about how storage works in Aztec, read [the concepts](../../../aztec/concepts/storage/index.md).
1111

12-
[See the storage reference](../../reference/smart_contract_reference/storage/index.md).
13-
1412
Declare storage for your contract by defining a struct and annotating it as `#[storage]`. This will be made available to you through the reserved `storage` keyword within your contract functions.
1513

1614
You can declare public and private state variables in your storage struct.

docs/versioned_docs/version-v1.2.0/aztec/concepts/advanced/storage/storage_slots.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,3 @@ By doing this address-siloing at the kernel circuit we _force_ the inserted comm
5757
:::info
5858
To ensure that nullifiers don't collide across contracts we also force this contract siloing at the kernel level.
5959
:::
60-
61-
For an example of this see [developer documentation on storage](../../../../developers/reference/smart_contract_reference/storage/index.md).

0 commit comments

Comments
 (0)