Skip to content

Commit

Permalink
WIP. giving up for now
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Nov 22, 2023
1 parent c093289 commit 5d82bc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/src/parentchain_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ pub type TargetBParentchainApi = Api<TargetBRuntimeConfig, TungsteniteRpcClient>

pub struct IntegriteeParentchainApiWrapper(Api<IntegriteeRuntimeConfig, TungsteniteRpcClient>);

// fixme: this is an ugly hack because api-client's 'new()' isn't part of any trait we could implement therefore we can't use the fn new() on generic api types
impl ParentchainApiWrapper for IntegriteeParentchainApiWrapper {
type Api = IntegriteeParentchainApi;
type Client = TungsteniteRpcClient;
Expand Down

0 comments on commit 5d82bc8

Please sign in to comment.