Open sveitser opened 2 years ago
Haven't had time to debug in detail but this probably has something to do with gas estimations being too low and the transaction running out of gas. This may (or not) in turn have something to do with how refunds are handled as described here https://ethereum.stackexchange.com/a/25896
Version
Platform
Darwin air 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:01 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T6000 arm64 arm Darwin
Description I have a weird issue that seems specific to ethers-rs with geth where a transaction fails that I think should be working. It works if I
It’s a bit convoluted because it involves ERC20 tokens and the transferFrom method. Here's a repo with all the code https://github.com/sveitser/geth-transfer-from-repro
I expected to see this happen: The
desposit
tx succeeds if the contract address is approved to move the tokens.Instead this happened: It fails.
The contract in question is
The rust code to trigger the error