Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(campaign): add error in IsTotalSharesReached #879

Merged
merged 3 commits into from
Jul 5, 2022
Merged

Conversation

lumtis
Copy link
Contributor

@lumtis lumtis commented Jul 5, 2022

Add error in IsTotalSharesReached in case provided shares are not valid (ex: duplicate denoms)

@codecov
Copy link

codecov bot commented Jul 5, 2022

Codecov Report

Merging #879 (a8d8469) into audit-release (f5d9d70) will increase coverage by 0.01%.
The diff coverage is 68.96%.

Impacted file tree graph

@@                Coverage Diff                @@
##           audit-release     #879      +/-   ##
=================================================
+ Coverage          11.20%   11.21%   +0.01%     
=================================================
  Files                278      278              
  Lines              60753    60771      +18     
=================================================
+ Hits                6806     6815       +9     
- Misses             53761    53767       +6     
- Partials             186      189       +3     
Impacted Files Coverage Δ
x/campaign/keeper/msg_add_shares.go 88.23% <40.00%> (-5.39%) ⬇️
x/campaign/keeper/msg_add_vesting_options.go 71.87% <40.00%> (-3.13%) ⬇️
x/campaign/keeper/msg_mint_vouchers.go 64.28% <40.00%> (-4.14%) ⬇️
x/campaign/types/campaign.go 100.00% <100.00%> (ø)
x/campaign/types/shares.go 100.00% <100.00%> (ø)

@lumtis lumtis merged commit becf4f0 into audit-release Jul 5, 2022
@lumtis lumtis deleted the issue-d branch July 5, 2022 14:19
lumtis added a commit that referenced this pull request Jul 26, 2022
* fix(`campaign`): add error in `IsTotalSharesReached` (#879)

* add error to method

* update tests

* update messages

* fix(monitoringc): fix RegisterProviderClientIDFromChannelID description (#881)

* refactor: factorize similar store key methods (#882)

* launch

* campaign

* genesis

* fix(launch): force port 443 for create-chain command custom genesis (#884)

* format
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.

1 participant