Skip to content

Commit

Permalink
fix: handle missing AMM (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhofman authored Feb 28, 2023
2 parents 7017fef + 279e98c commit d3759a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,5 @@ jobs:
SDK_SRC: ${{ github.workspace }}/agoric-sdk
run: |
./start.sh --no-stage.save-storage --no-reset \
--stage.loadgen.vault.interval=12 --stage.loadgen.vault.limit=2 \
--stage.loadgen.amm.interval=12 --stage.loadgen.amm.wait=6 --stage.loadgen.amm.limit=2 \
--stage.loadgen.faucet.interval=6 --stage.loadgen.faucet.limit=4 \
--stages=3 --stage.duration=10 --stage.loadgen.cycles=4
2 changes: 1 addition & 1 deletion loadgen/contract/agent-prepare-loadgen.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ export default async function startAgent({
await allValues({
tokenKit,
stableKit,
amm,
amm: Promise.resolve(amm).catch(() => null),
ammTokenKit,
vaultManager,
vaultFactory: vaultFactoryPublicFacet,
Expand Down

0 comments on commit d3759a6

Please sign in to comment.