Upon due notice, in the manner directed by the court, to all interested persons in being, or to their guardians, and to the guardians of all unborn persons who may take contingent interests by the compromise, and to the personal representative of the estate and to all trustees of testamentary trusts which would be affected by the compromise, the court shall, if it finds that the contest or controversy is in good faith and that the effect of the agreement upon the interests of persons represented by fiduciaries is just and reasonable, make an order approving the agreement and directing the fiduciaries and guardians ad litem to execute such agreement. Upon the making of such order and the execution of the agreement, all further disposition of the estate shall be in accordance with the terms of the agreement.
IC 29-1-9-3