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 -2
View File
@@ -5,12 +5,12 @@
//! An interface to call the raw legacy RPC methods.
use crate::backend::rpc::{rpc_params, RpcClient, RpcSubscription};
use crate::metadata::Metadata;
use crate::{Config, Error};
use codec::Decode;
use derivative::Derivative;
use primitive_types::U256;
use serde::{Deserialize, Serialize};
use subxt_core::metadata::Metadata;
/// An interface to call the legacy RPC methods. This interface is instantiated with
/// some `T: Config` trait which determines some of the types that the RPC methods will
@@ -530,7 +530,7 @@ impl DryRunResultBytes {
/// Attempt to decode the error bytes into a [`DryRunResult`] using the provided [`Metadata`].
pub fn into_dry_run_result(
self,
metadata: &crate::metadata::Metadata,
metadata: &subxt_core::metadata::Metadata,
) -> Result<DryRunResult, crate::Error> {
// dryRun returns an ApplyExtrinsicResult, which is basically a
// `Result<Result<(), DispatchError>, TransactionValidityError>`.
+1 -1
View File
@@ -11,13 +11,13 @@ pub mod rpc;
pub mod unstable;
use crate::error::Error;
use crate::metadata::Metadata;
use crate::Config;
use async_trait::async_trait;
use codec::{Decode, Encode};
use futures::{Stream, StreamExt};
use std::pin::Pin;
use std::sync::Arc;
use subxt_core::metadata::Metadata;
/// Prevent the backend trait being implemented externally.
#[doc(hidden)]