I am running a smart contract on the test network(rinkeby and ropsten) 'n' number of times, with it, I am getting a varying gas usage for some functions. My understanding was the gas cost is 'constant' based on the operation of that function. I can understand the time variation, but no not sure about varying gas usage. For some function it is constant, but for some, it has a slight variation. Is it normal, shall I ignore the variation - any thoughts, please?
0
votes
2 Answers
0
votes
0
votes
Please refer to this answer on ethereum stackexchange
Also, just a lil advice ethereum.stackexchange.com is better place than stackoverflow to ask specifically ethereum related questions you will get better reach, more experts and quicker answers there.