-
Notifications
You must be signed in to change notification settings - Fork 256
Description
Hey!
We are having our own UI for bridge, implemented using your SDK. Everything was going smoothly for over past 3-4 months, but some of our users reported that they can't exit their assets from Polygon to ETH and I've reproduced the issue.
For Polygon -> ETH we are using this method to start withdrawal - https://maticnetwork.github.io/matic.js/docs/pos/erc721/withdraw-start-many/
Then when withdraw tx is ready we call exit - https://maticnetwork.github.io/matic.js/docs/pos/erc721/withdraw-exit-many/
To reproduce the issue I've setup this sample repository with 2 sample txes to test with - https://github.com/clumsier/poly-bridge-debug
Just do yarn and yarn dev and you should be good to go.
When I try to exit with withdrawExitMany on Mainnet, I got issue as other users did, probably while generating proof
ERC721Predicate: INVALID_SIGNATURE
{
"originalError": {
"code": 3,
"data": "0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000224552433732315072656469636174653a20494e56414c49445f5349474e4154555245000000000000000000000000000000000000000000000000000000000000",
"message": "execution reverted: ERC721Predicate: INVALID_SIGNATURE"
}
}
I can exit though relevant transaction on Testnet (Goerli).
Last change to codebase regarding Bridge was on 22th of April.
Last successful Exit for multiple ERC721 was this transaction on 25th of May - https://etherscan.io/tx/0xf6f89de1f8b16813ee61d03d11780e7a64fd9058e3375fdd4eab7ed6fde2cb68