Skip to content

Commit

Permalink
Updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dariusz Depta committed Feb 5, 2025
1 parent dcffa68 commit be245d4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/pages/cw-multi-test/storage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,23 @@ Smart contracts should access the storage used by the chain through libraries su

## Accessing storage in tests

[App] provides several methods to access and manipulate storage in tests, and the table below
summarizes them all.

| Method of [App] | Access |
| ------------------------------- | :----: |
| storage | R |
| storage_mut | R/W |
| contract_storage | R |
| contract_storage_mut | R/W |
| prefixed_storage | R |
| prefixed_storage_mut | R/W |
| prefixed_multilevel_storage | R |
| prefixed_multilevel_storage_mut | R/W |

- `R` - read-only
- `R/W` - read/write

### `App::storage`

(WIP)
Expand Down

0 comments on commit be245d4

Please sign in to comment.