This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
make ToStakingPot
and DealWithFees
structs generic over account formats
#2910
Labels
J0-enhancement
An additional feature request.
I'm working on a project where we're using
AccountId20
instead ofAccountId32
I was having a hard time getting
parachains_common::impls::DealWithFees
andparachains_common::impls::ToStakingPot
to compile with this account format.so my workaround was to copy the
parachains_common
implementations ofToStakingPot
andDealWithFees
structs into my own codebase, with the basic modification of:but that feels quite dirty.
wouldn't it make sense to make
ToStakingPot
andDealWithFees
structs generic over account formats, so that runtimes could import them fromparachains_common::impls
without having to re-implement them?The text was updated successfully, but these errors were encountered: