Replies: 1 comment 1 reply
-
Pure and view functions still cost gas if they are called internally from another function. They are only free if they are called externally, from outside of the blockchain. retrieve() function is being called from store function. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Supposedly "view" functions which do not modify the blockchain should not cost gas right? However it shows a gas amount estimate on my screen. Why is that?
Beta Was this translation helpful? Give feedback.
All reactions