snowbridge icon indicating copy to clipboard operation
snowbridge copied to clipboard

Fees too expensive

Open gilescope opened this issue 2 years ago • 1 comments

It's currently using identity fee for xcm:

type Trader = UsingComponents<IdentityFee<Balance>, RococoLocation, AccountId, Balances, ()>;

This is likely to mean the same fees as the relay chain. In all likelyhood parachains don't need as high fees.

https://github.com/paritytech/cumulus/issues/920 - we noticed this on statemint. Encointer have also recently tweaked their code to not use IdentityFee<Balance>. I suspect snowbridge wants to do the same.

gilescope avatar Apr 16 '22 10:04 gilescope

Thanks! We're actually busy looking at fee structures for XCM at the moment - @vgeddes will you look into this/incorporate it into our XCM fee plans

musnit avatar Apr 18 '22 17:04 musnit

@vgeddes @musnit yes, maybe better to use weightToFee instead

yrong avatar Dec 01 '22 15:12 yrong