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

Best practices: add an example of invoke_contract_read_only #219

Open
annenkov opened this issue Jan 24, 2023 · 0 comments
Open

Best practices: add an example of invoke_contract_read_only #219

annenkov opened this issue Jan 24, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation [Type] Task An additional feature or improvement.

Comments

@annenkov
Copy link
Contributor

Task description

Provide an example of using invoke_contract_read_only and demonstrate how it prevents the contract state from updating through reentrant calls.

Also, pay attention to the contract balance: show that the balance still can change when using invoke_contract_read_only.

@annenkov annenkov added documentation Improvements or additions to documentation [Type] Task An additional feature or improvement. labels Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation [Type] Task An additional feature or improvement.
Projects
None yet
Development

No branches or pull requests

1 participant