diff --git a/actions/registerRealm.ts b/actions/registerRealm.ts index 79c52fa8c0..2553815eea 100644 --- a/actions/registerRealm.ts +++ b/actions/registerRealm.ts @@ -177,19 +177,11 @@ async function prepareMintInstructions( */ function createGovernanceConfig( yesVoteThreshold = 60, - tokenDecimals?: number, - minCommunityTokensToCreateGovernance?: string + _tokenDecimals?: number, + _minCommunityTokensToCreateGovernance?: string ): GovernanceConfig { console.debug('mounting governance config') - const minCommunityTokensToCreateAsMintValue = getMintNaturalAmountFromDecimalAsBN( - minCommunityTokensToCreateGovernance && - +minCommunityTokensToCreateGovernance > 0 - ? +minCommunityTokensToCreateGovernance - : MIN_COMMUNITY_TOKENS_TO_CREATE_W_0_SUPPLY, - tokenDecimals ?? COMMUNITY_MINT_DECIMALS - ) - // Put community and council mints under the realm governance with default config return new GovernanceConfig({ voteThresholdPercentage: new VoteThresholdPercentage({ diff --git a/tools/governance/prepareRealmCreation.ts b/tools/governance/prepareRealmCreation.ts index 0558ee5d60..74897f057c 100644 --- a/tools/governance/prepareRealmCreation.ts +++ b/tools/governance/prepareRealmCreation.ts @@ -66,7 +66,6 @@ export async function prepareRealmCreation({ realmName, tokensToGovernThreshold, - maxVotingTimeInDays = 3, nftCollectionCount = 0, existingCommunityMintPk,