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

feat(campaign): add simulation for msgEditCampaign #712

Merged
merged 4 commits into from
Apr 13, 2022

Conversation

giunatale
Copy link
Contributor

Closes #539

@codecov
Copy link

codecov bot commented Apr 12, 2022

Codecov Report

Merging #712 (89c18fc) into develop (f5d9d70) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #712      +/-   ##
===========================================
- Coverage    11.20%   11.20%   -0.01%     
===========================================
  Files          278      278              
  Lines        60753    60785      +32     
===========================================
+ Hits          6806     6808       +2     
- Misses       53761    53792      +31     
+ Partials       186      185       -1     
Impacted Files Coverage Δ
x/campaign/simulation/simulation.go 0.00% <0.00%> (ø)
x/campaign/types/msg_edit_campaign.go 47.22% <0.00%> (ø)
x/campaign/simulation/store.go 81.29% <0.00%> (+1.29%) ⬆️

Copy link
Contributor

@lumtis lumtis left a comment

Choose a reason for hiding this comment

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

Mmh seems like the message is not simulated during the execution of make test-sim-ci

"campaign": {
  "add_shares": {
   "failure": 3,
   "ok": 11
  },
  "add_vesting_options": {
   "failure": 9,
   "ok": 8
  },
  "burn_vouchers": {
   "failure": 1,
   "ok": 13
  },
  "create_campaign": {
   "failure": 7,
   "ok": 21
  },
  "initialize_mainnet": {
   "failure": 5
  },
  "mint_vouchers": {
   "failure": 9,
   "ok": 8
  },
  "redeem_vouchers": {
   "failure": 10,
   "ok": 14
  },
  "unredeem_vouchers": {
   "failure": 5,
   "ok": 13
  },
  "update_total_supply": {
   "failure": 10
  }
 },

@giunatale giunatale requested review from lumtis and aljo242 April 13, 2022 15:33
@giunatale
Copy link
Contributor Author

Mmh seems like the message is not simulated during the execution of make test-sim-ci

"campaign": {
  "add_shares": {
   "failure": 3,
   "ok": 11
  },
  "add_vesting_options": {
   "failure": 9,
   "ok": 8
  },
  "burn_vouchers": {
   "failure": 1,
   "ok": 13
  },
  "create_campaign": {
   "failure": 7,
   "ok": 21
  },
  "initialize_mainnet": {
   "failure": 5
  },
  "mint_vouchers": {
   "failure": 9,
   "ok": 8
  },
  "redeem_vouchers": {
   "failure": 10,
   "ok": 14
  },
  "unredeem_vouchers": {
   "failure": 5,
   "ok": 13
  },
  "update_total_supply": {
   "failure": 10
  }
 },

Sorry, sloppy copy-paste. Should be fixed now

@lumtis lumtis merged commit 5367ac4 into develop Apr 13, 2022
@lumtis lumtis deleted the feat/simulate-msg-edit-campaign branch April 13, 2022 18:22
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.

Create simulation for EditCampaign
3 participants