diff --git a/packages/boot/test/fast-usdc/fast-usdc.test.ts b/packages/boot/test/fast-usdc/fast-usdc.test.ts index e69b5a65204..03148376b5c 100644 --- a/packages/boot/test/fast-usdc/fast-usdc.test.ts +++ b/packages/boot/test/fast-usdc/fast-usdc.test.ts @@ -495,7 +495,7 @@ test.serial('makes usdc advance', async t => { { status: 'OBSERVED' }, { status: 'ADVANCING' }, { status: 'ADVANCED' }, - { status: 'DISBURSED', split: { ContractFee: { value: 302000n } } }, + { status: 'DISBURSED', split: { ContractFee: { value: 152_000n } } }, ]); const doc = { @@ -519,12 +519,12 @@ test.serial('writes pool metrics to vstorage', async t => { test.serial('distributes fees per BLD staker decision', async t => { const { walletFactoryDriver: wd, buildProposal, evalProposal } = t.context; - const ContractFee = 302000n; // see split above - t.is(((ContractFee - 250000n) * 5n) / 10n, 26000n); + const ContractFee = 152_000n; // see split above + t.is(((ContractFee - 60_000n) * 5n) / 10n, 46_000n); const cases = [ - { dest: 'agoric1a', args: ['--fixedFees', '0.25'], rxd: '250000' }, - { dest: 'agoric1b', args: ['--feePortion', '0.5'], rxd: '26000' }, + { dest: 'agoric1a', args: ['--fixedFees', '0.06'], rxd: '60000' }, + { dest: 'agoric1b', args: ['--feePortion', '0.5'], rxd: '46000' }, ]; for (const { dest, args, rxd } of cases) { await wd.provideSmartWallet(dest); diff --git a/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.md b/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.md index 2ba67ee1ec3..1eea23197c7 100644 --- a/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.md +++ b/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.md @@ -189,11 +189,11 @@ Generated by [AVA](https://avajs.dev). variableRate: { denominator: { brand: Object @Alleged: USDC brand {}, - value: 100n, + value: 1000n, }, numerator: { brand: Object @Alleged: USDC brand {}, - value: 1n, + value: 5n, }, }, }, @@ -214,15 +214,15 @@ Generated by [AVA](https://avajs.dev). split: { ContractFee: { brand: Object @Alleged: USDC brand {}, - value: 302000n, + value: 152000n, }, PoolFee: { brand: Object @Alleged: USDC brand {}, - value: 1208000n, + value: 608000n, }, Principal: { brand: Object @Alleged: USDC brand {}, - value: 148490000n, + value: 149240000n, }, }, status: 'DISBURSED', @@ -252,24 +252,24 @@ Generated by [AVA](https://avajs.dev). }, numerator: { brand: Object @Alleged: USDC brand {}, - value: 151208001n, + value: 150608001n, }, }, totalBorrows: { brand: Object @Alleged: USDC brand {}, - value: 148490000n, + value: 149240000n, }, totalContractFees: { brand: Object @Alleged: USDC brand {}, - value: 302000n, + value: 152000n, }, totalPoolFees: { brand: Object @Alleged: USDC brand {}, - value: 1208000n, + value: 608000n, }, totalRepays: { brand: Object @Alleged: USDC brand {}, - value: 148490000n, + value: 149240000n, }, }, ], @@ -289,15 +289,15 @@ Generated by [AVA](https://avajs.dev). split: { ContractFee: { brand: Object @Alleged: USDC brand {}, - value: 302000n, + value: 152000n, }, PoolFee: { brand: Object @Alleged: USDC brand {}, - value: 1208000n, + value: 608000n, }, Principal: { brand: Object @Alleged: USDC brand {}, - value: 148490000n, + value: 149240000n, }, }, status: 'DISBURSED', diff --git a/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.snap b/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.snap index 6e927118c1f..86f57777283 100644 Binary files a/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.snap and b/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.snap differ