fix(revive-eth-rpc): Update to pezkuwi-subxt with pezsp_runtime support
- Add workspace exclude for vendor/pezkuwi-subxt to prevent workspace inheritance conflicts - Update pezkuwi-subxt codegen to use ::pezsp_runtime::DispatchError directly instead of runtime_types path that doesn't exist due to substitute_type - Add From implementations for various pezkuwi_subxt error types (EventsError, ExtrinsicError, BlockError, BackendError, RuntimeApiError, ConstantError, OnlineClientError) - Update StorageApi to use StorageClientAt with new try_fetch API - Fix RuntimeApiError pattern matching for error handling - Update substitute_type entries to use pezkuwi_subxt paths - Rename migration table from eth_to_substrate_blocks to eth_to_bizinikiwi_blocks for consistency - Regenerate SQLX query cache for bizinikiwi table names
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ pub fn generate_calls(
|
||||
use super::root_mod;
|
||||
use super::#types_mod_ident;
|
||||
|
||||
type DispatchError = #types_mod_ident::pezsp_runtime::DispatchError;
|
||||
type DispatchError = ::pezsp_runtime::DispatchError;
|
||||
|
||||
pub mod types {
|
||||
use super::#types_mod_ident;
|
||||
|
||||
+1
-1
@@ -268,7 +268,7 @@ impl RuntimeGenerator {
|
||||
pub static RUNTIME_APIS: [&str; #runtime_api_names_len] = [ #(#runtime_api_names,)* ];
|
||||
|
||||
/// The error type that is returned when there is a runtime issue.
|
||||
pub type DispatchError = #types_mod_ident::pezsp_runtime::DispatchError;
|
||||
pub type DispatchError = ::pezsp_runtime::DispatchError;
|
||||
|
||||
/// The outer event enum.
|
||||
pub type Event = #event_path;
|
||||
|
||||
Reference in New Issue
Block a user