Conversation
|
Testing what was originally reported as BP-WG/bp-wallet#14, using an updated rgb-sandbox branch, I now get the following error: Note: I had to slightly modify the sandbox in order to trigger the error 100% of the times (by default it creates a new UTXO for each transfer so it worked if the 2nd transfer was not allocated to the same UTXO as the 1st one). |
a9c5c8d to
d49aa9f
Compare
|
Tested with an updated rgb-sandbox branch that uses the |
|
I can't run the tests locally so can't see why it is all failing. Can you please re-run it again with the updated code and give me what is printed in the stderr? |
|
Tested it again (rgb-sandbox branch) using the updated |
|
In ea858d0 I have added additional eprints. Strange they do not appear in output. Can you doublechexk you are using the right branch with that commit and capture STDERR? I need them to understand what's going on |
This is all the output I get. Trying to manually execute the command confirms it, STDERR is included. Adding more debug prints I see that the failing instruction in psbt.rgb_embed(batch)?;In if !inputs.is_empty() {
return Err(EmbedError::AbsentInputs);
} |
|
Thank you for pointing out! I have fixed the debugging code and now it should print the info which will help me to understand how something can go wrong there... |
|
Here is the output for a run with |
|
Ok, thanks for your input I have figured out the source of the problem. Again, it was two independent bugs, not one. The other one is now fixed in RGB-WG/rgb-std#174 and this PR has being updated to use that fix. Please run the test now - everything should work |
|
@dr-orlovsky sorry to reply late, it fixed |
|
A run with |
Closes #117 and BP-WG/bp-wallet#14
@Matrix-Zhang this fixes an issue you have reported, can you confirm that it works with this code?