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

Add ws-client feature flag for impl block #258

Merged
merged 2 commits into from
Jun 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:
# need to set rust nightly as substrate does not have a rust-toolchain.toml
# The newest is currently not compatible
run: |
rustup default nightly-2021-12-10
rustup target add wasm32-unknown-unknown --toolchain nightly-2021-12-10
rustup default nightly-2022-02-01
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-02-01
rustup show

- name: Checkout substrate
Expand Down
1 change: 1 addition & 0 deletions src/std/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ impl From<MetadataError> for Error {
}
}

#[cfg(feature = "ws-client")]
impl From<ac_node_api::error::Error> for Error {
fn from(error: ac_node_api::error::Error) -> Self {
Error::NodeApi(error)
Expand Down