[BUG] Rune fees from Bond outbounds should be taken from Bond, not Asgard

When preparing outbound txs, we charge a RUNE fee which is added to the Reserve: https://gitlab.com/thorchain/thornode/-/blob/develop/x/thorchain/manager_txout_current.go#L499

But this function always sends the RUNE from Asgard: https://gitlab.com/thorchain/thornode/-/blob/c6a80d4f0a516f22957e028d213129ff18fb238f/x/thorchain/keeper/v1/keeper_reserve_contributors.go#L11

This means when unbonding, the 0.02 RUNE fee is taken from Asgard, not Bond. We should be sending the fee from the outbound tx's module instead (not always Asgard).

An example occurred at height 4459318: https://viewblock.io/thorchain/tx/0D197FC4EAEBC1B8C6D19D3B1FC7435EF883B4AB8DEC11D1226AE38857D6C64E

Edited Mar 11, 2022 by akrokr
Assignee Loading
Time tracking Loading