Skip to content

Uncontrive (v) examples of static variable usage #62

Description

@fulldecent

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions