Skip to content
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 1.11.0 #45

Merged
merged 2 commits into from
May 21, 2024
Merged

Upgrade 1.11.0 #45

merged 2 commits into from
May 21, 2024

Conversation

girazoki
Copy link
Collaborator

No description provided.

@@ -444,7 +470,7 @@ pub fn start_instant_seal_node(config: Configuration) -> Result<TaskManager, sc_
transaction_pool: Some(OffchainTransactionPoolFactory::new(
transaction_pool.clone(),
)),
network_provider: network.clone(),
network_provider: Arc::new(network.clone()),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks wrong but I see polkadot-sdk also does it...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah the compiler did not complaint about it, why do you think is wrong?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If network is already an Arc, then this is like having an Arc<Arc<T>>, it works but it doesn't make sense.

template/node/src/service.rs Show resolved Hide resolved
@girazoki girazoki merged commit 848cc07 into main May 21, 2024
10 checks passed
@girazoki girazoki deleted the girazoki-upgrade-1.11.0 branch May 21, 2024 07:42
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