Skip to content

Commit

Permalink
feat: clean up test
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Sep 17, 2024
1 parent 3081f3a commit be4c8bd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Add wasm target
run: rustup target add wasm32-unknown-unknown
- name: Check wasm compatibility
- name: Check wasm compatibility for common and consensus-core
uses: actions-rs/cargo@v1
with:
command: check
args: --target wasm32-unknown-unknown --no-default-features
args: --target wasm32-unknown-unknown -p common -p consensus-core --no-default-features
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ dotenv = "0.15.0"
serde = { version = "1.0.154", features = ["derive"] }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
anyhow = { version = "1.0", default-features = false }
alloy = { version = "0.2.1", features = ["full"] }
tokio = { version = "1", features = ["full"] }
dirs = "5.0.1"
Expand Down
2 changes: 1 addition & 1 deletion consensus-core/src/types/bls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use bls12_381::{
multi_miller_loop, G1Affine, G1Projective, G2Affine, G2Prepared, G2Projective, Gt, Scalar,
};
use serde::{Deserialize, Serialize};
use ssz_derive::{Decode, Encode};
use ssz_derive::Encode;
use tree_hash_derive::TreeHash;

use super::bytes::ByteVector;
Expand Down
2 changes: 1 addition & 1 deletion consensus-core/src/types/bytes.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use alloc::vec::Vec;
use serde::{Deserialize, Serialize};
use ssz_derive::{Decode, Encode};
use ssz_derive::Encode;
use ssz_types::{
serde_utils::{hex_fixed_vec, hex_var_list},
FixedVector, VariableList,
Expand Down

0 comments on commit be4c8bd

Please sign in to comment.