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 substrate fix #1210

Merged
merged 2 commits into from
Mar 2, 2023
Merged

Upgrade substrate fix #1210

merged 2 commits into from
Mar 2, 2023

Conversation

liuchengxu
Copy link
Contributor

This should fix the windows failure in #1198

Code contributor checklist:

Copy link
Member

@nazar-pc nazar-pc left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this!

@@ -260,24 +260,27 @@ impl<B> TestClientBuilderExt<B>
fn build_with_longest_chain(
self,
) -> (Client<B>, sc_consensus::LongestChain<B, substrate_test_runtime::Block>) {
self.build_with_native_executor(None)
self.build_with_native_executor(Some(new_native_executor()))
Copy link
Member

Choose a reason for hiding this comment

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

Do we really want native though? I'd prefer to use compiled WASM instead, especially with native executor going away in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@nazar-pc nazar-pc merged commit 4490ef0 into upgrade-substrate Mar 2, 2023
@nazar-pc nazar-pc deleted the upgrade-substrate-fix branch March 2, 2023 08:34
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.

2 participants