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

[Execution] state migration clean up #3192

Merged
merged 4 commits into from
Sep 16, 2022

Conversation

ramtinms
Copy link
Member

@ramtinms ramtinms commented Sep 7, 2022

This PR remove the migration codes that has already been a applied on all networks.

Comment on lines -91 to -92
storageUsedUpdateMigration.Migrate,
mgr.PruneMigration,
Copy link
Member Author

Choose a reason for hiding this comment

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

We don't need these two if there is no other migration applied

Copy link
Contributor

Choose a reason for hiding this comment

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

Do we no longer need the PruneMigration If I remember correctly we always ran that.

@codecov-commenter
Copy link

codecov-commenter commented Sep 7, 2022

Codecov Report

Merging #3192 (531427c) into master (60b37d0) will decrease coverage by 2.13%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #3192      +/-   ##
==========================================
- Coverage   53.87%   51.74%   -2.14%     
==========================================
  Files         743      615     -128     
  Lines       68520    58126   -10394     
==========================================
- Hits        36917    30077    -6840     
+ Misses      28557    25509    -3048     
+ Partials     3046     2540     -506     
Flag Coverage Δ
unittests 51.74% <0.00%> (-2.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...execution-state-extract/execution_state_extract.go 61.36% <0.00%> (+7.36%) ⬆️
insecure/corruptible/network.go 57.04% <0.00%> (-0.71%) ⬇️
engine/consensus/compliance/core.go 75.20% <0.00%> (ø)
consensus/hotstuff/eventloop/event_loop.go 74.82% <0.00%> (ø)
module/mempool/stdmap/times.go
admin/commands/storage/read_seals.go
module/jobqueue/consumer.go
module/executiondatasync/execution_data/store.go
module/component/component.go
module/dkg/controller_factory.go
... and 121 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Comment on lines -91 to -92
storageUsedUpdateMigration.Migrate,
mgr.PruneMigration,
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we no longer need the PruneMigration If I remember correctly we always ran that.

@ramtinms
Copy link
Member Author

bors merge

@bors bors bot merged commit 62e12c2 into master Sep 16, 2022
@bors bors bot deleted the ramtin/cleanup-migrations-after-spork-to-mainnet19 branch September 16, 2022 17:38
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.

None yet

4 participants