How to generate a burn proof? #261
Unanswered
CodeSandwich
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Were you able to resolve your issue? I have the exact same code + error. Tho I am using fxportals. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Here is an updated script: https://gist.github.com/asselstine/37429e42fcb9807dbfcde9a6376be5d4 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm trying to generate a burn proof for PoS bridge ERC-20 withdrawal from Mumbai.
Here's my burn TX: https://mumbai.polygonscan.com/tx/0xb580d143c27e98d13a5b54e3f432c4ce5e6e5c72c2ba5733d1b4175cec1da397 It's a smart contract call initiated by an incoming FX portal message, which burns some ERC-20 tokens. I've been trying to generate the burn proof with this code:
Unfortunately I'm getting an error:
I've tried
exit_manager.buildPayloadForExit
andexit_manager.getExitHash
, but they generate exactly the same error.Beta Was this translation helpful? Give feedback.
All reactions