mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
Bump dependencies (#1180)
* substrate: d0f6c1c60da22e04dd25c2eca46ebfe6f1571af0
polkadot: dd4b2e6a34a08a01b876d14641e99e7011be3463
cumulus: 9379cd6c18
* fmt
* fixed lost refs
* spelling
* benckhmarks
* fmt
This commit is contained in:
committed by
Bastian Köcher
parent
6396239e18
commit
e23266c7e6
@@ -8,6 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false }
|
||||
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
|
||||
|
||||
# Substrate Dependencies
|
||||
|
||||
@@ -20,6 +21,7 @@ default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"frame-support/std",
|
||||
"scale-info/std",
|
||||
"sp-api/std",
|
||||
"sp-std/std",
|
||||
]
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
use codec::{Decode, Encode, EncodeLike};
|
||||
use frame_support::{Parameter, RuntimeDebug};
|
||||
use scale_info::TypeInfo;
|
||||
use sp_api::decl_runtime_apis;
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
@@ -48,7 +49,7 @@ pub enum Error {
|
||||
pub type Result<T> = sp_std::result::Result<T, Error>;
|
||||
|
||||
/// Peer blockchain lock funds transaction.
|
||||
#[derive(Encode, Decode, Clone, RuntimeDebug, PartialEq, Eq)]
|
||||
#[derive(Encode, Decode, Clone, RuntimeDebug, PartialEq, Eq, TypeInfo)]
|
||||
pub struct LockFundsTransaction<TransferId, Recipient, Amount> {
|
||||
/// Something that uniquely identifies this transfer.
|
||||
pub id: TransferId,
|
||||
@@ -63,7 +64,7 @@ pub trait MaybeLockFundsTransaction {
|
||||
/// Transaction type.
|
||||
type Transaction;
|
||||
/// Identifier that uniquely identifies this transfer.
|
||||
type Id: Decode + Encode + EncodeLike + sp_std::fmt::Debug;
|
||||
type Id: Decode + Encode + TypeInfo + EncodeLike + sp_std::fmt::Debug;
|
||||
/// Peer recipient type.
|
||||
type Recipient;
|
||||
/// Peer currency amount type.
|
||||
|
||||
Reference in New Issue
Block a user