Storage readable by default?

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

Hey @diyahir! :slight_smile: 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!

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