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: https://github.com/aionnetwork/AVM/issues/402
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: https://github.com/aionnetwork/AVM/issues/402