Skip to content

Commit c8753a1

Browse files
authored
Merge pull request #226 from public-awesome/yubrew/fix-wl-per-addr-limit
fix wl update per addr limit
2 parents dd18f8e + 3d49803 commit c8753a1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/whitelist.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { InstantiateMsg } from '@stargazezone/types/contracts/whitelist/instantiate_msg';
2+
import { ExecuteMsg } from '@stargazezone/types/contracts/whitelist/execute_msg';
23
import { Timestamp } from '@stargazezone/types/contracts/minter/shared-types';
34
import { coins } from 'cosmwasm';
45
import inquirer from 'inquirer';
@@ -271,7 +272,9 @@ async function updatePerAddressLimit() {
271272
throw new Error('invalid whitelistPerAddressLimit in config.js');
272273
}
273274

274-
const msg = { update_per_address_limit: { per_address_limit: limit } };
275+
const msg: ExecuteMsg = {
276+
update_per_address_limit: limit,
277+
};
275278
console.log(JSON.stringify(msg, null, 2));
276279
const answer = await inquirer.prompt([
277280
{

0 commit comments

Comments
 (0)