[BUG] pool subsidies from slashed bond should be sent from Bond to Asgard

When we subsidize a pool with slashed RUNE on unbonding, we deduct the RUNE from the node's bond: https://gitlab.com/thorchain/thornode/-/blob/de1572fe2605f1bc0cf720ff28322c004eeae3f2/x/thorchain/helpers.go#L334

This RUNE is backed by the Bond module. Now when we subsidize the pool, we simply add that RUNE to the pool's balance: https://gitlab.com/thorchain/thornode/-/blob/de1572fe2605f1bc0cf720ff28322c004eeae3f2/x/thorchain/helpers.go#L212

But pools are backed by the Asgard module. We should be sending the slash amount from Bond to Asgard when we subsidize.

An example occurred at height 4075918: https://viewblock.io/thorchain/tx/48D7399BCFAC270E216CB7FCAB53F26407BA9BD311C5FBC4B0C581D21024B5BF

Edited Apr 21, 2022 by akrokr
Assignee Loading
Time tracking Loading