-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
refactor(sdk): complete generic impl for PersistenceService
over N::Primitives
#13044
refactor(sdk): complete generic impl for PersistenceService
over N::Primitives
#13044
Conversation
PersistenceService
over N::Primitives
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.
I just have one question, if we can remove the qualification that would be nice, otherwise this looks good to me
// create the initial channels | ||
let (db_service_tx, db_service_rx) = std::sync::mpsc::channel(); | ||
|
||
// construct persistence handle | ||
let persistence_handle = Self::new(db_service_tx); | ||
let persistence_handle = PersistenceHandle::<N::Primitives>::new(db_service_tx); |
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.
If we do just PersistenceHandle::new
here, does it still compile?
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.
yes, updated.
Closes #12941.