Skip to content

Commit

Permalink
papaya
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Feb 5, 2025
1 parent 2d5d518 commit f0f42cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Note - you could also create a note and send it to the user. The problem is ther
### Reading public storage in private

You can read public storage in private domain by leveraging the private getters of `PublicImmutable` (for values that never change) and `SharedMutable` (for values that change infrequently, see [shared state](../../../../reference/smart_contract_reference/storage/shared_state.md) for details) state variables.
Values that change frequently (`PublicMutable`) cannot be read in private as for those we need access to the tip of the chain and only the sequencer has access to that (and sequencer executes only public functions).
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).

E.g. when using `PublicImmutable`

Expand Down

0 comments on commit f0f42cb

Please sign in to comment.