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

Split call Function into Distinct Read and Execution Methods for Smart Contracts #204

Open
Ben-Rey opened this issue Feb 15, 2024 · 0 comments

Comments

@Ben-Rey
Copy link
Contributor

Ben-Rey commented Feb 15, 2024

Currently, the differentiation between reading and transactional operations within smart contracts is managed by the nonPersistentExecution parameter in the callSc method. This approach, while functional, can lead to confusion and obscures the intention behind contract interactions.
The call method should return a single data type, ensuring consistency across smart contracts and simplifying developer interaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant