You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example at https://docs.aion.network/docs/deployment-initialization shows static variables being used in a contract. The names are myString and intArray which are unhelpful to understand the circumstances when a developer should consider choosing static storage (versus key-value storage).
Further, there may be a conflict with the circumstances where documentation recommends to use static variables and actual best practice. Related: aionnetwork/AVM#402
The text was updated successfully, but these errors were encountered:
The example at https://docs.aion.network/docs/deployment-initialization shows static variables being used in a contract. The names are
myString
andintArray
which are unhelpful to understand the circumstances when a developer should consider choosing static storage (versus key-value storage).Further, there may be a conflict with the circumstances where documentation recommends to use static variables and actual best practice. Related: aionnetwork/AVM#402
The text was updated successfully, but these errors were encountered: