-
Notifications
You must be signed in to change notification settings - Fork 125
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
Update parity scale dependencies #687
Conversation
crate::scale_value::encode_as_type(&field, field.context, types, &mut actual_bytes) | ||
.expect("should be able to encode properly"); | ||
} | ||
assert_eq!(actual_bytes, actual.field_bytes()); |
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.
This assert failed after upgrading the scale libraries and was removed in subxt as well. I simply followed suit, didn't look further into it. Since all the other tests are passing, I'm inclined to believe this is alright. Either way, there is a follow up issue: #688
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.
LGTM 👍
Updated dependencies of
Removed local no-std copy of scale-value because it is now no-std compatible upstream as well. Therefore, added scale-value as dependency instead.
Minimal codebase adaptions were needed, but they still match the subxt version. There were further adaptions in subxt, but this will require more changes in our codebase, this should be done in a different issue: #688
part of #671