-
Notifications
You must be signed in to change notification settings - Fork 746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect message for xcm::v4::Assets decoding error #5286
Comments
@Dinonard Can you please show me your
and I also had to fix benchmarks, because they produced invalid XCMs, e.g. So I would suggest to change/fix your we could improve at least that log, where
|
OP hasn't responded, closing as inactive. |
I apologize, I've completely missed bkontur's message. If needed, I can still provide the requested |
@Dinonard if the recommendation to not use If it is not working, please provide the requested details and reopen. |
Summary
I've been trying to run
report_holding
benchmarks forxcm-generic
, and have been getting a very much misleading error message.Please check the trace here 👇
The important thing to note is that error is reported via this line:
However, it's completely misleading 🙂.
There are exactly 20 different
Asset
instances in theAssets
instance, which is the limit.The real issue is that the 2nd asset's
Fungiblity
in the list is0
.The code handling decoding seems to prohibit
0
as fungibility.I've also noticed some debug asserts that check against
0
as fungibility.Question
I'm not sure what the correct fix is here since I'm not sure why this limitation exists.
0
fungiblity or can it be removed?parity-scale-codec
since it seems to get lost somewhere.The text was updated successfully, but these errors were encountered: