mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 08:11:04 +00:00
core integration into subxt, except for examples
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
use derivative::Derivative;
|
||||
use std::marker::PhantomData;
|
||||
|
||||
use crate::dynamic::DecodedValueThunk;
|
||||
use subxt_core::metadata::DecodeWithMetadata;
|
||||
use subxt_core::{dynamic::DecodedValueThunk, metadata::DecodeWithMetadata};
|
||||
|
||||
/// This represents the address of a custom value in in the metadata.
|
||||
/// Anything, that implements the [CustomValueAddress] trait can be used, to fetch
|
||||
|
||||
@@ -93,7 +93,6 @@ impl<T: Config, Client: OfflineClientT<T>> CustomValuesClient<T, Client> {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::backend::RuntimeVersion;
|
||||
use crate::custom_values::CustomValuesClient;
|
||||
use crate::{Metadata, OfflineClient, SubstrateConfig};
|
||||
use codec::Encode;
|
||||
@@ -101,6 +100,7 @@ mod tests {
|
||||
use scale_info::form::PortableForm;
|
||||
use scale_info::TypeInfo;
|
||||
use std::collections::BTreeMap;
|
||||
use subxt_core::RuntimeVersion;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Encode, TypeInfo, DecodeAsType)]
|
||||
pub struct Person {
|
||||
|
||||
Reference in New Issue
Block a user