Skip to content

Commit

Permalink
Use sp_std Vec in no-std crate (#1471)
Browse files Browse the repository at this point in the history
  • Loading branch information
davxy authored and Daanvdplas committed Sep 11, 2023
1 parent 3b96165 commit adba5f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions substrate/primitives/crypto/ec-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@
#![warn(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]

use sp_runtime_interface::runtime_interface;
use sp_std::vec::Vec;

pub mod bls12_377;
pub mod bls12_381;
pub mod bw6_761;
pub mod ed_on_bls12_377;
pub mod ed_on_bls12_381_bandersnatch;
mod utils;

use sp_runtime_interface::runtime_interface;

/// Interfaces for working with elliptic curves related types from within the runtime.
/// All type are (de-)serialized through the wrapper types from the ark-scale trait,
/// with ark_scale::{ArkScale, ArkScaleProjective};
Expand Down

0 comments on commit adba5f9

Please sign in to comment.