New answers tagged

1

Transaction was failing because of fixed gasLimit : 37000. Gas depends on what the function is doing. For example, it is more expensive to set a zero-value storage value to non-zero, than it is to set a non-zero storage value to another non-zero storage value. In my case it was because of SSTORE opcode as it takes 20000 when storage value is set to non-...


Top 50 recent answers are included