Questions tagged [state-variable]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
376 views

Calling a state-changing function via web3

I am trying to call a function which changes the length of a global storage array. At first I thought that the problem was related to the array-length changing attempt. But I have finally come to ...
7
votes
3answers
4k views

How to get the cost (in gas) of the non-constant function call?

In my understanding, there are some situations, where the compiler can't calculate, how much Gas it takes to complete the function call. The most obvious example - when your function is calling some ...