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

Make contract update validation thread safe #5565

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

SupunS
Copy link
Member

@SupunS SupunS commented Mar 21, 2024

A regression from e3f48d4, where the initialization of the ContractAdditionHandler was moved to the Init method.
We still need to have it in the Init method, so instead of reverting the change, just make sure the usages of ContractAdditionHandler (i.e: contract update validation) are thread safe.

@codecov-commenter
Copy link

codecov-commenter commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.33%. Comparing base (7cb3a41) to head (4c64c56).

Additional details and impacted files
@@                    Coverage Diff                     @@
##           feature/stable-cadence    #5565      +/-   ##
==========================================================
+ Coverage                   55.80%   58.33%   +2.53%     
==========================================================
  Files                         997      945      -52     
  Lines                       98720    90156    -8564     
==========================================================
- Hits                        55088    52592    -2496     
+ Misses                      39369    33635    -5734     
+ Partials                     4263     3929     -334     
Flag Coverage Δ
unittests 58.33% <ø> (+2.53%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SupunS SupunS force-pushed the supun/improve-migrations branch from 7a61f6d to f48ad4d Compare March 21, 2024 15:58
@SupunS SupunS self-assigned this Mar 21, 2024
@SupunS SupunS changed the title Test cadence migration Make contract update validation thread safe Mar 21, 2024
@SupunS SupunS added the Bugfix label Mar 21, 2024
@SupunS SupunS marked this pull request as ready for review March 21, 2024 16:16
@SupunS SupunS requested review from janezpodhostnik and a team March 21, 2024 16:16
@SupunS SupunS merged commit 533df91 into feature/stable-cadence Mar 21, 2024
55 checks passed
@SupunS SupunS deleted the supun/improve-migrations branch March 21, 2024 16:59
Copy link
Member

@turbolent turbolent left a comment

Choose a reason for hiding this comment

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

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants