From 9eec757b503c352eb82517028523ff38326cb4f4 Mon Sep 17 00:00:00 2001 From: Chris Hibbert Date: Fri, 11 Feb 2022 13:22:38 -0800 Subject: [PATCH] chore: add details to rights conservation assertion msg for help diagnosing #4407 --- packages/zoe/src/contractFacet/rightsConservation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zoe/src/contractFacet/rightsConservation.js b/packages/zoe/src/contractFacet/rightsConservation.js index 355c27d764c5..bfef0333a231 100644 --- a/packages/zoe/src/contractFacet/rightsConservation.js +++ b/packages/zoe/src/contractFacet/rightsConservation.js @@ -79,7 +79,7 @@ const assertEqualPerBrand = (leftSumsByBrand, rightSumsByBrand) => { const { leftSum, rightSum } = getSums(brand); assert( AmountMath.isEqual(leftSum, rightSum), - X`rights were not conserved for brand ${brand}`, + X`rights were not conserved for brand ${brand} ${leftSum.value} != ${rightSum.value}`, ); }); };