near / mpc

41 stars 15 forks source link

Alow to request signature for the same payload #763

Open volovyks opened 2 months ago

volovyks commented 2 months ago

Reported by @gagdiez People often want to request the signature for the same payload. Especially if our error rate is high. "you already requested this payload" is not ideal, we should not throw such an error at all.

volovyks commented 2 months ago

@ailisp can you please take a look at this?

volovyks commented 2 months ago

Related code snippet: https://github.com/gagdiez/yield-resume/blob/main/contracts/retry-on-error/src/lib.rs