-
-
Notifications
You must be signed in to change notification settings - Fork 41
Conversation
Hi @zoedberg How are you? That's a great feature! I will try to reproduce the tests. Can you help with questions?
Thanks |
Hi! All good, thanks :) Sure, always happy to help!
Yes, correct
No, all transfers are anchored on a single opret output |
Thanks for reply, I will try make tests ASAP. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a code style suggestion. Also, I'm having trouble understanding how Vec<(StateTransfer, Vec<SealEndpoint>)>
gets defined.
Hi @zoedberg , I tried to reproduce all steps, and add more than one contract into the psbt file, but when I executed Can you help me to reproduce the tests? My Test
PS: The new API seems correct! |
Hi @crisdut, Your test is a very high level one, not sure how to reproduce it. Are you doing this via CLI? If so please note there are some open issues and missing features on rgb-node CLI that I think prevent your test from working properly. In rgb-lib we have a test send::receive_multiple_different_assets_success that does exactly what you say (using opret instead of tapret). So I believe the bug you're encountering is not in the rgb-node daemon or other RGB libraries. It could be an issue in one of the RGB CLIs or another issue in your setup. |
Hi @zoedberg,
Sorry, I didn't detail how I tested the feature. Yes, I'm doing with
The error occurs when executing Well, I will investigate more. However, I agree this error is about tooling compatibility and not your feature. |
950798e
to
90b23b7
Compare
In order to finalize an RGB transfer that sends more than one asset, I added a new
finalize_transfers
API. I haven't changed the existing finalize transfer API since I don't want to break compatibility, but maybe in the future we can deprecate that in favor of this API. Moreover I haven't implemented thebeneficiary
part to save some implementation time (since currently we are not using that feature) and the respective CLI command, but I guess we can open some "good first" issues for these features.