[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/biz/ - Business & Finance


View post   

File: 126 KB, 416x416, 1596354060653.jpg [View same] [iqdb] [saucenao] [google]
24568653 No.24568653 [Reply] [Original]

How much GAS do you set and pay? I am unable to send my LINKs. Currently paid over 55 cents and tx keeps failing? Why are Eth miners blocking my transaction? Any idea why? Why is Sergey blocking me from transferring my linkes?

>> No.24568695

>>24568653
if your tx fails it means that it actually got picked up by a miner but didn't succeed executing, so the gas price itself isn't the issue. maybe increase the gas limit or better check etherscan, it should tell you why it failed.

>> No.24568758

>>24568695
How do you determine WHAT Gas limit to set? I belive my Gas limit was acceptable. Between 30k to 50k

>> No.24568780

>>24568695
Warning! Error encountered during contract execution [Out of gas]

>> No.24568800

>>24568653
>How much GAS do you use?
https://ethgasstation.info
Just use what this says to use.

>> No.24568847

>>24568800
I have tried that and hence set it to 24, the TX failed due to Gas Limit

How would you determine the gas limit number?

>> No.24568852

>>24568653
Do you have any eth in the wallet?

>> No.24568889

>>24568780
that means you need to increase the gas limit. it didn't have enough gas in the limit to perform all the actions of your tx, thus it ran "Out of gas".

>> No.24568910

>>24568847
>How would you determine the gas limit number?
i honestly would also like to know. just set it very high, it won't consume more that it needs. of course, if your tx is somehow buggy then it might consume a ton of gas in this case. maybe use a low gas fee itself to mitigate this risk, even if it takes some minutes for the tx to get included.

>> No.24568943

>>24568852
Yes I have Eth
>>24568889
>that means you need to increase the gas limit.

Fren I know i need to increase the gas limit. But by HOW MUCH??

HOW DO I DETERMINE or calculate the gas limit?

>> No.24568949

>>24568847
>How would you determine the gas limit number?
Don't manually set your gas limit. If the automatic estimation is failing, just bump it up by 50%.

>> No.24569067

>>24568943
just double it and use a gas price of not more than 30. again, it's a limit, you're only paying for what is actually consumed. it's just a safe guard to avoid getting rekt by calling some super inefficient smart contract method.

>> No.24569125

>>24568943
https://ethereum.github.io/yellowpaper/paper.pdf

go to page 25 in the eth yellow paper and gl reading from there

function transferFrom(address _from, address _to, uint256 _value) returns (bool) {
var _allowance = allowed[_from][msg.sender];

// Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
// require (_value <= _allowance);

balances[_from] = balances[_from].sub(_value);
balances[_to] = balances[_to].add(_value);
allowed[_from][msg.sender] = _allowance.sub(_value);
Transfer(_from, _to, _value);
return true;
}

here is the function used to transfer linkies, each instruction has a cost, and you calculate it using the info from the yellow paper. i think you could also use remix for this, i'm sure there are some youtubes about this
or you could not be a retard and let metamaks calculate it for you

>> No.24569181

>>24569125
sorry, this is the function used

function transfer(address _to, uint256 _value) returns (bool) {
balances[msg.sender] = balances[msg.sender].sub(_value);
balances[_to] = balances[_to].add(_value);
Transfer(msg.sender, _to, _value);
return true;
}

>> No.24569341

here a youtube video

https://www.youtube.com/watch?v=sPrYkYk_Beo

now please stop being a retard, and google things for yourself

>> No.24569944
File: 778 KB, 902x1198, 1584141965545.jpg [View same] [iqdb] [saucenao] [google]
24569944

>>24568653
this site aggregates all the big gas trackers:
https://ethgas.watch/