diff --git a/packages/run-protocol/src/proposals/econ-behaviors.js b/packages/run-protocol/src/proposals/econ-behaviors.js index 6d255a11ebc2..5346bd175793 100644 --- a/packages/run-protocol/src/proposals/econ-behaviors.js +++ b/packages/run-protocol/src/proposals/econ-behaviors.js @@ -159,9 +159,7 @@ harden(startInterchainPool); /** * @param { EconomyBootstrapPowers } powers - * @param {object} opts - * @param {object} [opts.options] - * @param {bigint} [opts.options.minInitialPoolLiquidity] + * @param {{ options?: { minInitialPoolLiquidity?: bigint }}} opts */ export const setupAmm = async ( { diff --git a/packages/run-protocol/test/amm/vpool-xyk-amm/setup.js b/packages/run-protocol/test/amm/vpool-xyk-amm/setup.js index d0070bb40d6e..530033e626a8 100644 --- a/packages/run-protocol/test/amm/vpool-xyk-amm/setup.js +++ b/packages/run-protocol/test/amm/vpool-xyk-amm/setup.js @@ -93,7 +93,9 @@ export const setupAmmServices = async ( options: { econCommitteeOptions: electorateTerms }, }), setupAmm(space, { - minInitialPoolLiquidity: 1000n, + options: { + minInitialPoolLiquidity: 1000n, + }, }), ]); diff --git a/packages/run-protocol/test/vaultFactory/test-liquidator.js b/packages/run-protocol/test/vaultFactory/test-liquidator.js index f0c0fb586f2c..c0296432e78e 100644 --- a/packages/run-protocol/test/vaultFactory/test-liquidator.js +++ b/packages/run-protocol/test/vaultFactory/test-liquidator.js @@ -146,7 +146,7 @@ const setupAmmAndElectorate = async (t, aethLiquidity, runLiquidity) => { options: { econCommitteeOptions: electorateTerms }, }); setupAmm(space, { - minInitialPoolLiquidity: 1000n, + options: { minInitialPoolLiquidity: 1000n }, }); const governorCreatorFacet = consume.ammGovernorCreatorFacet; diff --git a/packages/run-protocol/test/vaultFactory/test-vaultFactory.js b/packages/run-protocol/test/vaultFactory/test-vaultFactory.js index 20a32f3788bb..817dfb7f7235 100644 --- a/packages/run-protocol/test/vaultFactory/test-vaultFactory.js +++ b/packages/run-protocol/test/vaultFactory/test-vaultFactory.js @@ -147,7 +147,7 @@ const setupAmmAndElectorate = async (t, aethLiquidity, runLiquidity) => { space.installation.produce.amm.resolve(t.context.installation.amm); await startEconomicCommittee(space, electorateTerms); await setupAmm(space, { - minInitialPoolLiquidity: 300n, + options: { minInitialPoolLiquidity: 300n }, }); const governorCreatorFacet = consume.ammGovernorCreatorFacet;