Skip to content

Commit

Permalink
fix: scale encoding skip phantom data (#3967)
Browse files Browse the repository at this point in the history
  • Loading branch information
dandanlen committed Oct 9, 2023
1 parent 3412528 commit bc78b5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions state-chain/chains/src/dot/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ pub trait CreatePolkadotVault: ApiCall<PolkadotCrypto> {
#[scale_info(skip_type_params(E))]
pub struct OpaqueApiCall<E> {
builder: PolkadotExtrinsicBuilder,
#[codec(skip)]
_environment: PhantomData<E>,
}

Expand Down
2 changes: 1 addition & 1 deletion state-chain/pallets/cf-vaults/src/response_status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct ResponseStatus<T: Config<I>, SuccessVoters, FailureVoters, I: 'static
success_votes: BTreeMap<AggKeyFor<T, I>, AuthorityCount>,
/// A map of the number of blame votes that each keygen participant has received.
blame_votes: BTreeMap<T::ValidatorId, AuthorityCount>,

#[codec(skip)]
_voters: PhantomData<(SuccessVoters, FailureVoters)>,
}

Expand Down

0 comments on commit bc78b5c

Please sign in to comment.