Skip to content

Commit

Permalink
Merge pull request #226 from public-awesome/yubrew/fix-wl-per-addr-limit
Browse files Browse the repository at this point in the history
fix wl update per addr limit
  • Loading branch information
yubrew authored Oct 6, 2022
2 parents dd18f8e + 3d49803 commit c8753a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/whitelist.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { InstantiateMsg } from '@stargazezone/types/contracts/whitelist/instantiate_msg';
import { ExecuteMsg } from '@stargazezone/types/contracts/whitelist/execute_msg';
import { Timestamp } from '@stargazezone/types/contracts/minter/shared-types';
import { coins } from 'cosmwasm';
import inquirer from 'inquirer';
Expand Down Expand Up @@ -271,7 +272,9 @@ async function updatePerAddressLimit() {
throw new Error('invalid whitelistPerAddressLimit in config.js');
}

const msg = { update_per_address_limit: { per_address_limit: limit } };
const msg: ExecuteMsg = {
update_per_address_limit: limit,
};
console.log(JSON.stringify(msg, null, 2));
const answer = await inquirer.prompt([
{
Expand Down

0 comments on commit c8753a1

Please sign in to comment.