Use sp_std Vec in no-std crate (#1471)

This commit is contained in:
Davide Galassi
2023-09-08 19:48:17 +02:00
committed by GitHub
parent 60d1a0bdc3
commit 8dce0ad2a3
@@ -21,6 +21,9 @@
#![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;
@@ -28,8 +31,6 @@ 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};