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

refactor(launch): remove Chain struct from events #776

Merged
merged 3 commits into from
May 10, 2022

Conversation

aljo242
Copy link

@aljo242 aljo242 commented May 9, 2022

Closes #775

What does this PR does?

  • Remove the Chain struct from launch events
  • Remove EventChainUpdated
  • Add a new event in campaign | EventCampaignChainAdded. This event lets us emit extra info about campaign-chain associations in a more lightweight way.

@codecov
Copy link

codecov bot commented May 9, 2022

Codecov Report

Merging #776 (3a38231) into develop (aa4fb52) will decrease coverage by 0.00%.
The diff coverage is 6.31%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #776      +/-   ##
===========================================
- Coverage    11.00%   11.00%   -0.01%     
===========================================
  Files          284      284              
  Lines        66916    66878      -38     
===========================================
- Hits          7363     7358       -5     
+ Misses       59379    59346      -33     
  Partials       174      174              
Impacted Files Coverage Δ
x/launch/types/events.pb.go 0.51% <0.00%> (-0.01%) ⬇️
x/campaign/types/events.pb.go 0.55% <0.62%> (+<0.01%) ⬆️
x/campaign/keeper/campaign_chains.go 100.00% <100.00%> (ø)
x/launch/keeper/chain.go 97.34% <100.00%> (-0.03%) ⬇️
x/launch/keeper/msg_edit_chain.go 100.00% <100.00%> (ø)
x/launch/keeper/msg_update_launch_information.go 100.00% <100.00%> (ø)
x/campaign/simulation/store.go 82.43% <0.00%> (-0.68%) ⬇️

@giunatale giunatale merged commit 045c15b into develop May 10, 2022
@giunatale giunatale deleted the refactor/simplify-launch-events branch May 10, 2022 10:21
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.

Remove chain struct from launch events
3 participants