diff --git a/chain-extensions/types/xvm/Cargo.toml b/chain-extensions/types/xvm/Cargo.toml index 89825550..f4e05deb 100644 --- a/chain-extensions/types/xvm/Cargo.toml +++ b/chain-extensions/types/xvm/Cargo.toml @@ -10,17 +10,15 @@ description = "Types definitions for contracts using xvm chain-extension." [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29", default-features = false } scale-info = { version = "2.1.0", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29", default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29", default-features = false } sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29", default-features = false } [features] default = ["std"] std = [ - "codec/std", - "scale-info/std", - "sp-runtime/std", - "ink_prelude/std", + "codec/std", + "scale-info/std", + "sp-runtime/std", + "sp-std/std", ] diff --git a/chain-extensions/types/xvm/src/lib.rs b/chain-extensions/types/xvm/src/lib.rs index 3de0bbdd..c8459b95 100644 --- a/chain-extensions/types/xvm/src/lib.rs +++ b/chain-extensions/types/xvm/src/lib.rs @@ -1,8 +1,8 @@ #![cfg_attr(not(feature = "std"), no_std)] use codec::{Decode, Encode}; -use ink_prelude::vec::Vec; use sp_runtime::{DispatchError, ModuleError}; +use sp_std::vec::Vec; #[cfg_attr(feature = "std", derive(scale_info::TypeInfo))] #[derive(PartialEq, Eq, Copy, Clone, Encode, Decode, Debug)]