Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncontrive (v) examples of static variable usage #62

Open
fulldecent opened this issue Aug 9, 2019 · 0 comments
Open

Uncontrive (v) examples of static variable usage #62

fulldecent opened this issue Aug 9, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@fulldecent
Copy link
Contributor

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

@fulldecent fulldecent added the enhancement New feature or request label Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant