Skip to content

Conversation

@ascjones
Copy link
Contributor

Upgrades to substrate 2.0.0

@ascjones
Copy link
Contributor Author

Duplicate of #173

@ascjones ascjones marked this as a duplicate of #173 Sep 23, 2020
@ascjones
Copy link
Contributor Author

Closing in favour of #173

@ascjones ascjones closed this Sep 24, 2020
@dvc94ch
Copy link
Contributor

dvc94ch commented Sep 24, 2020

Tests pass if you update the refcount type to u32. Can you finish it and create a release?

@dvc94ch
Copy link
Contributor

dvc94ch commented Sep 24, 2020

diff --git a/src/frame/system.rs b/src/frame/system.rs
index 7c6db4d..b0cb80f 100644
--- a/src/frame/system.rs
+++ b/src/frame/system.rs
@@ -118,7 +118,7 @@ pub trait System {
 }
 
 /// Type used to encode the number of references an account has.
-pub type RefCount = u8;
+pub type RefCount = u32;
 
 /// Information of an account.
 #[derive(Clone, Debug, Eq, PartialEq, Default, Decode, Encode)]

@ascjones
Copy link
Contributor Author

ascjones commented Sep 24, 2020

@dvdplm is doing it in #173, we'll do a release once it's in

@dvc94ch
Copy link
Contributor

dvc94ch commented Sep 24, 2020

But this pr is finished with a one line change, the other is a draft

@ascjones ascjones deleted the aj-substrate-2 branch April 1, 2022 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants