synapseweb3 / forcerelay

Apache License 2.0
10 stars 8 forks source link

IBC Cell conflict of relayer and `forcerelay-ckb-sdk` generating tx at the same time #373

Closed ashuralyk closed 10 months ago

ashuralyk commented 10 months ago

Summary of Bug

since channel cell and packet cell only exist one instance in CKB, and also due to forcerelay and forcerelay-ckb-sdk work independently, so that cell compete happened while both of them generate transaction that consumes a same cell at the same time

I guess to regenerate transaction may solve this problem

blckngm commented 10 months ago

The relayer needs to retry, generating a new tx using new cells. Maybe it's already handled by the framework (hermes)?

It's a nice to have for the cli. Users can always retry manually.

ashuralyk commented 10 months ago

The relayer needs to retry, generating a new tx using new cells. Maybe it's already handled by the framework (hermes)?

It's a nice to have for the cli. Users can always retry manually.

actually, I don't see any concerns about this issue in Hermes, and it doesn't retry sending transaction in the deployed instance