Closed fredlacs closed 2 years ago
So it looks like you're reporting an issue with MetaMask's Transaction Insight, rather than Truffle Decoder directly? That said, it sure looks like an issue with Truffle Decoder, I have to admit. On the other hand, I can't seem to reproduce this using only @truffle/decoder
and @truffle/fetch-and-compile
. So, I don't know what's wrong here. Have you tried reporting this to MetaMask? Do you have any further reproduction information?
I can try reproducing this some more later, but for now I'm not encountering an issue when I just use Truffle Decoder directly, rather than as part of Transaction Inisght.
Hm, hold on, the output that I'm getting doesn't seem right, even if it's not the same problem you're getting. I guess I'll go back and take a second look at this. That said, you still might want to try reporting this to MetaMask.
Yeah, after fixing the problem I was getting due to setting things up wrong, so I'm actually getting a sensible decoding now, I'm still not getting the problem using Truffle Decoder alone. This may be a problem with MetaMask; not sure.
Hi @fredlacs . Can you please let us know if you are still facing this issue?
Hi @fredlacs We will close this one for issue maintenance. Please open an new issue if you still have this issue. Thanks.
Issue
Truffle decoder hits an unexpected
undefined
when parsing a tx on rinkeby.Steps to Reproduce
When attempting to bridge eth from ethreum to arbitrum, the truffle decoder isn't able to parse the
outboundTransfer
functionYou can reproduce this by going to https://bridge.arbitrum.io/ and trying to bridge eth while connected to the rinkeby network
Here is the tx where this happened https://rinkeby.etherscan.io/tx/0x5309d0f7fa7b2b1f8c85617fbbbd22217d88eae2065ef555d46a3003cf6c8117
Expected Behavior
Expected the truffle decoder to appropriately handle the function provided
Actual Results
"Cannot read property of undefined"