mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-22 19:41:07 +00:00
Add DecodedValueThunk to allow getting bytes back from dynamic queries (#680)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// see LICENSE for license details.
|
||||
|
||||
use crate::{
|
||||
dynamic::DecodedValue,
|
||||
dynamic::DecodedValueThunk,
|
||||
metadata::DecodeWithMetadata,
|
||||
};
|
||||
use std::borrow::Cow;
|
||||
@@ -97,7 +97,7 @@ pub fn dynamic<'a>(
|
||||
}
|
||||
|
||||
impl<'a> ConstantAddress for DynamicConstantAddress<'a> {
|
||||
type Target = DecodedValue;
|
||||
type Target = DecodedValueThunk;
|
||||
|
||||
fn pallet_name(&self) -> &str {
|
||||
&self.pallet_name
|
||||
|
||||
Reference in New Issue
Block a user