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 example at https://docs.aion.network/docs/deployment-initialization shows static variables being used in a contract. The names are
myStringandintArraywhich 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