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
+3 -3
View File
@@ -117,8 +117,8 @@ impl<T: Config> LightClient<T> {
// think about importing the OnlineClientT/OfflineClientT
// traits to use these things:
/// Return the [`crate::Metadata`] used in this client.
fn metadata(&self) -> crate::Metadata {
/// Return the [`subxt_core::metadata`] used in this client.
fn metadata(&self) -> subxt_core::metadata {
self.client.metadata()
}
@@ -180,7 +180,7 @@ impl<T: Config> OnlineClientT<T> for LightClient<T> {
}
impl<T: Config> OfflineClientT<T> for LightClient<T> {
fn metadata(&self) -> crate::Metadata {
fn metadata(&self) -> subxt_core::metadata {
self.metadata()
}