-
Notifications
You must be signed in to change notification settings - Fork 248
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
Upgrade to substrate 2.0.0 #173
Conversation
@@ -116,6 +116,7 @@ pub struct InstantiatedEvent<T: Contracts> { | |||
} | |||
|
|||
#[cfg(test)] | |||
#[cfg(feature = "integration-tests")] |
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.
All tests in this module are integration tests so cargo check --tests
will warn about unused items without this.
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.
Means the individual test ones are redundant now, but anyway I'll fix that in #165
Sort out the RefCount type (ty @dvc94ch) Random tweaks to make test-node more similar to the vanilla node-template
@@ -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; |
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.
@dvc94ch ty! Was scratching my head on this one. :)
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 (test failure just the usual pure virtual method called
)
@@ -116,6 +116,7 @@ pub struct InstantiatedEvent<T: Contracts> { | |||
} | |||
|
|||
#[cfg(test)] | |||
#[cfg(feature = "integration-tests")] |
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.
Means the individual test ones are redundant now, but anyway I'll fix that in #165
* master: Upgrade to substrate 2.0.0 (#173)
Update dependencies and sort out incompatibilities.