1.description:
In the JoinPoolNoSwap function, the logic of using Oracle Pool to handle weightBalanceBonus rewards when the rebalanceTreasury balance is insufficient is as follows:

In the ApplyJoinPoolStateChange function, the logic of using UseOracle Pool to handle weightBalanceBonus rewards when the rebalanceTreasury balance is insufficient is as follows:

2.suggestion:
When the rebalance Treasury balance is insufficient, all the Treasury balance will be used to pay rewards