start porting dynamic value stuff

This commit is contained in:
Tadeo hepperle
2024-02-01 14:36:43 +01:00
parent 7b2cfdc7bf
commit aed00e52f8
30 changed files with 122 additions and 351 deletions
+2 -1
View File
@@ -2,9 +2,10 @@
// This file is dual-licensed as Apache-2.0 or GPL-3.0.
// see LICENSE for license details.
use crate::{dynamic::DecodedValueThunk, metadata::DecodeWithMetadata};
use crate::dynamic::DecodedValueThunk;
use derivative::Derivative;
use std::borrow::Cow;
use subxt_core::metadata::DecodeWithMetadata;
/// This represents a constant address. Anything implementing this trait
/// can be used to fetch constants.
+2 -1
View File
@@ -6,10 +6,11 @@ use super::ConstantAddress;
use crate::{
client::OfflineClientT,
error::{Error, MetadataError},
metadata::DecodeWithMetadata,
Config,
};
use derivative::Derivative;
use subxt_core::metadata::DecodeWithMetadata;
/// A client for accessing constants.
#[derive(Derivative)]