mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 08:47:57 +00:00
Add proper test Custom values (#1147)
* add proper tests for custom values * remove try operators * use sustrate compat for import of hash * add license and hex * add script to artifacts.sh * custom values with ids not in metadata can be accessed in static interface * fmt and clippy * access bytes of custom values directly, even if type id wrong * final fixes * removing substrate-compat flag from ui tests * Update subxt/src/custom_values/custom_values_client.rs Co-authored-by: James Wilson <james@jsdw.me> * remove types access in type generator * 2 extra lines --------- Co-authored-by: James Wilson <james@jsdw.me>
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
// This file is dual-licensed as Apache-2.0 or GPL-3.0.
|
||||
// see LICENSE for license details.
|
||||
|
||||
use crate::utils::{
|
||||
dispatch_error::{ArrayDispatchError, LegacyDispatchError, NamedFieldDispatchError},
|
||||
generate_metadata_from_pallets_custom_dispatch_error,
|
||||
use crate::utils::generate_metadata_from_pallets_custom_dispatch_error;
|
||||
|
||||
use generate_custom_metadata::dispatch_error::{
|
||||
ArrayDispatchError, LegacyDispatchError, NamedFieldDispatchError,
|
||||
};
|
||||
|
||||
use frame_metadata::RuntimeMetadataPrefixed;
|
||||
|
||||
pub fn metadata_array_dispatch_error() -> RuntimeMetadataPrefixed {
|
||||
|
||||
Reference in New Issue
Block a user