# Storage readable by default?

**URL:** https://forum.fuel.network/t/storage-readable-by-default/3341
**Category:** Sway
**Created:** [October 16, 2023, 4:32pm UTC](https://forum.fuel.network/t/storage-readable-by-default/3341 "2023-10-16T16:32:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![diyahir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/diyahir/32/1075_2.png) [@diyahir](https://forum.fuel.network/u/diyahir)
#### Post date: [October 16, 2023, 4:32pm UTC](https://forum.fuel.network/t/storage-readable-by-default/3341/1 "2023-10-16T16:32:54Z")

</div>

A lot of contract bloat is just wrapping storage variables, should we just autogen/assume storage slots are publicly accessible?

---

<div class="post-metadata">

### Author: ![calldelegation](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/calldelegation/32/1484_2.png) [@calldelegation](https://forum.fuel.network/u/calldelegation)
#### Post date: [October 17, 2023, 9:10pm UTC](https://forum.fuel.network/t/storage-readable-by-default/3341/2 "2023-10-17T21:10:49Z")

</div>

Hey @diyahir! 🙂 This is a very good question. Introducing decorators for persistent values inside the `storage` block might help with contract bloat when writing Sway.

I’ve opened up an [issue here](https://github.com/FuelLabs/sway/issues/5202)!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex022/uploads/fuel/original/2X/5/57d5a345cc15a64b636e0d56e042857f8a0e80b1.png) [@system](https://forum.fuel.network/u/system)
#### Post date: [November 7, 2023, 5:11pm UTC](https://forum.fuel.network/t/storage-readable-by-default/3341/3 "2023-11-07T17:11:26Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
