Building a simple app to bridge one token with PoS SDK

Hi there,
Im building an app to bridge a token from and to mumbai from goerli. every thing worked well until the withdrawExit call.
im following this guide:

what worked:
on goerli: approve token to bridge and deposit
on mumbai: withdrawStart
after that i saved the burnResult.getTransactionHash(), switched to goerli again and on calling the withdrawExit with that hash i got this error:

message: "Could not retrieve transaction. Either it is invalid or might be in archive node."
type: "invalid_transaction"

I can confirm that transaction hash exists on the mumbai side:
(tried it two times)
https://mumbai.polygonscan.com/tx/0xd1d578379c1d7f41823e6e3388a6705ee33821d41ac11b677fee1044c8bfa6ed
https://mumbai.polygonscan.com/tx/0x0ce6c6f214b612852c25f5ecd38e9e2b5cd719d24134e17d99cb09a6aed9cc78
im completely stuck right now, any help would be very welcome.

I found my issue, just had the wrong chainID on the child provider. the SDK uses the parent provider for almost all actions, but for the withdrawExit it needs to use the child one.

I would check out zbyte, making simple apps like this can be done in seconds with their platform.

hi, can you tell me how you are passing the parentProvider and childProvider to the init() function of posClient ?