File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11import { InstantiateMsg } from '@stargazezone/types/contracts/whitelist/instantiate_msg' ;
2+ import { ExecuteMsg } from '@stargazezone/types/contracts/whitelist/execute_msg' ;
23import { Timestamp } from '@stargazezone/types/contracts/minter/shared-types' ;
34import { coins } from 'cosmwasm' ;
45import 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 {
You can’t perform that action at this time.
0 commit comments