WalletConnect / blockchain-api

WalletConnect's Blockchain API
MIT License
52 stars 40 forks source link

fix(sessions): removing getting of the receipt from the co-sign request #717

Closed geekbrother closed 1 month ago

geekbrother commented 1 month ago

Description

This PR removes the getting receipt step from the co-signer request handler. Getting the receipt should be moved to a separate endpoint. The reason is the receipt can be obtained later than the request for user operation was made, so we need to poll for the receipt after the co-sign request from a dedicated endpoint for that operation. The co-sign endpoint will now return the user operation tx hash instead of the receipt.

How Has This Been Tested?

Due Diligence

geekbrother commented 1 month ago

2f1533589ecbb198ecc978323e27b262664cd85e changes are to make updated clippy happy and not related to this PR.