The logic is as follows: the address is claiming the tokens from a staking pool contract. However, when calling the transfer function it is failing with an out of gas error on the line

Nov 13, 2022, 12:27 AM
That's pretty weird. I never saw that happen.
preSaleAmountMapping[to].balancePreSale += amount;
A simple storage change. Is the blockchain not processing correctly?
Nov 13, 2022, 12:40 AM
i'd try increasing gas. 56k seems low, try 150k
i'd like to think its not because v0.8.0
Nov 13, 2022, 12:43 AM
Good idea. There are no conditions for this transaction to fail.
This is the error message that appears for the address owner. This is at the time of submitting the transaction. Is it the gas itself?
It helps a lot in debugging
Did you already know?
Nov 13, 2022, 1:25 AM

© 2024 Draquery.com All rights reserved.