Open k06a opened 4 years ago
Yeah that comes from a vyper bug that wasn't discovered until after Uniswap launch
So now we have an issue with Uniswap contract eating all the gas our smart contract provided.
@k06a on transaction fail, yes
@haydenadams found a reason and solution to 900K gas estimation to be dramatically decreased for SNX. Think could be delivered with upcoming token upgrade.
I see a lot of
BAD JUMP DESTINATION
transactions here: https://etherscan.io/address/0x3958b4ec427f8fa24eb60f42821760e88d485f7fSNX token calls
tokenFallback
on Uniswap contract in the middle of exchange and it seems Uniswap proxy handles this problem in a wrong way.Proxy code is:
What does the latest part after
DELEGATE_CALL
means can anyone describe what should happen afterDELEGATE_CALL
reverts internally?It seems Uniswap exchange called by another smart contract will eat all of its gas.