cronos-blockscout icon indicating copy to clipboard operation
cronos-blockscout copied to clipboard

Problem: Some transactions show "Error: (Awaiting internal transactions for reason)"

Open mofhusseini opened this issue 3 years ago • 1 comments

Some internal transactions are showing "Error :(Awaiting internal transactions for reason)". An example is:

https://cronos.crypto.org/explorer/tx/0xfdbd99e7825fd7ba946e7d42f11a823897c3d3bd94c54cf3afff7740b9fb2c2a/internal-transactions

image

Need to figure out the reason why this is happening.

mofhusseini avatar Nov 30 '21 01:11 mofhusseini

Hi, i have the same problem: https://cronos.org/explorer/testnet3/tx/0x5f22fb7e6d6d8205c2ac9b36ee973374cf535327a3771b9d9ccfc4e90cca07f1/internal-transactions

I'm able to run the code properly on a development environment like Ganache v7. The transaction would mint an ERC721, implementing an ERC20 approve()/transferFrom() workflow.

Anyone figured out how to solve this?

Also removing the interested lines of codes in a separate method cause the failure of the same. [...] ERC20(combToken).approve(address(this), distributedValue * 100); ERC20(combToken).transferFrom(address(this), liquidityPool, distributedValue * 100); [...]

magiodev avatar Apr 12 '22 16:04 magiodev