-
Notifications
You must be signed in to change notification settings - Fork 14
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 dependencies and get things compiling/passing CI again. #115
Conversation
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
desub = { path = "../../desub", features = [ "polkadot-js" ] } | ||
desub = { workspace = true, features = [ "polkadot-js" ] } |
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.
yeah I don't like the spaces around the features but could be taken care of in another PR
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.
Ooh yeah me neither :)
pub enum Conviction { | ||
/// 0.1x votes, unlocked. | ||
#[default] |
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.
TIL
@@ -25,6 +25,7 @@ pub fn mock_runtime(num: u32) -> RuntimeVersion { | |||
spec_version: num, | |||
impl_version: num, | |||
apis: Cow::from(Vec::new()), | |||
transaction_version: 4, |
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.
Why changed?
Does scale-value need newer metadata or something?
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.
Oh, I just didn't like that it was 4, which is identical to the version of the tx protocol (which is a different version, so easy to confuse the two!), so I set it to the version from polkadot iirc
scale-value
andscale-decode
in place of the built-in Value type.