Skip to content

Commit fb6a3e0

Browse files
authored
misc Fast USDC cleanup (#10970)
closes: #9934 ## Description Increases the threshold for multichain that has been timing out (à la #9934) Also includes a couple tiny improvements to docs and logging. ### Security Considerations ### Scaling Considerations ### Documentation Considerations ### Testing Considerations ### Upgrade Considerations
2 parents 85bac81 + 00d146d commit fb6a3e0

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

multichain-testing/tools/e2e-tools.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import { makeTracer } from '@agoric/internal';
2323
const trace = makeTracer('E2ET');
2424

2525
// The default of 6 retries was failing.
26-
// XXX even 15 wasn't enough
27-
const SMART_WALLET_PROVISION_RETRIES = 30;
26+
// XXX also tried 15, 30. There's probably something deeper to fix.
27+
const SMART_WALLET_PROVISION_RETRIES = 100;
2828

2929
const BLD = '000000ubld';
3030

packages/fast-usdc/src/exos/transaction-feed.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { makeTracer } from '@agoric/internal';
22
import { prepareDurablePublishKit } from '@agoric/notifier';
33
import { keyEQ, M } from '@endo/patterns';
4-
import { Fail } from '@endo/errors';
4+
import { Fail, quote } from '@endo/errors';
55
import { CctpTxEvidenceShape, RiskAssessmentShape } from '../type-guards.js';
66
import { defineInertInvitation } from '../utils/zoe.js';
77
import { prepareOperatorKit } from './operator-kit.js';
@@ -221,7 +221,7 @@ export const prepareTransactionFeedKit = (zone, zcf) => {
221221
'!=',
222222
next,
223223
);
224-
Fail`conflicting evidence for ${txHash}`;
224+
Fail`conflicting evidence for ${quote(txHash)}`;
225225
}
226226
}
227227
lastEvidence = next;

packages/fast-usdc/test/exos/liquidity-pool.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ import { test } from '@agoric/zoe/tools/prepare-test-env-ava.js';
22

33
import { stateShape } from '../../src/exos/liquidity-pool.js';
44

5+
// NB: We don't test more than this because the Exo has so many runtime dependencies
6+
// for which we don't have viable mocks.
7+
// The Exo is tested by fast-usdc.contract.test.js, but that doesn't appear in code coverage.
8+
// We can solve that by getting code coverage for bundles https://github.com/Agoric/agoric-sdk/issues/1817
9+
// or by testing without bundling https://github.com/Agoric/agoric-sdk/issues/10558
10+
511
test('stateShape', t => {
612
t.snapshot(stateShape);
713
});

0 commit comments

Comments
 (0)