Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    if you pass the string as tx.Data() parameter your users are going to pay 16 gas for every byte. If you store the string using SSTORE and then read it every time by SLOAD your users will spend 800 gas to read every 32 bytes of the string. Commented Feb 1, 2023 at 14:46
  • the question is quickly answered then, lol Commented Feb 1, 2023 at 15:03