mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-23 19:09:56 +00:00
Update parity-scale-codec to 2.0 (#7994)
* update cargo.toml * use 2.0 in mmmr
This commit is contained in:
1 parent
bea4a6524d
commit
f48296e9ad
179 files changed
+316
-383
No files matched your search
@@ -71,10 +71,10 @@ pub type AuthorityIndex = u32;
|
||||
#[derive(Decode, Encode)]
|
||||
pub enum ConsensusLog<AuthorityId: Codec> {
|
||||
/// The authorities have changed.
|
||||
#[codec(index = "1")]
|
||||
#[codec(index = 1)]
|
||||
AuthoritiesChange(Vec<AuthorityId>),
|
||||
/// Disable the authority with given index.
|
||||
#[codec(index = "2")]
|
||||
#[codec(index = 2)]
|
||||
OnDisabled(AuthorityIndex),
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user