update DefaultNoBound derive macro (#12723)

fix derive for empty enums

Update derive & ui tests

clean up

Apply suggestions from code review

Co-authored-by: Bastian Köcher <git@kchr.de>

rename variable

formatting & clippy

formatting

Co-authored-by: parity-processbot <>
This commit is contained in:
benlueloBastian Köcherparity-processbot
authored and GitHub committed 2022-11-25 11:11:19 +01:00
1 parent 08657f14b7
commit 50f338e1ea
13 files changed
+235 -61

No files matched your search

@@ -97,6 +97,7 @@ pub(crate) type ChargeAssetLiquidityOf<T> =
#[derive(Encode, Decode, DefaultNoBound, TypeInfo)]
pub enum InitialPayment<T: Config> {
/// No initial fee was payed.
#[default]
Nothing,
/// The initial fee was payed in the native currency.
Native(LiquidityInfoOf<T>),