Skip to content

Conversation

@taiki1frsh
Copy link
Contributor

close #62 , #63

  • Imple Unit tests for the execute fns
  • fixed some validation
  • added a query

return Err(ContractError::NoAllowedToken {});
}

if deposit.amount < msg.budget_for_all {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any specific reason keeping deposit.denom, deposit.amount, msg.denom, msg.budget_for_all ? I think only deposit could be used and denom and budget_for_all could be removed on msg struct

let params = query_params(deps.as_ref()).unwrap();
assert_eq!(params.authority.as_str(), "authority2");

// // Success
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could it be removed if not used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ya-bonus] update the latest window id

3 participants