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(consensus): put expectations near the most relevant call site for SHC tests #2239

Merged

Conversation

matan-starkware
Copy link
Contributor

@matan-starkware matan-starkware commented Jul 18, 2024

This is now possible since we no longer put the Context in an Arc, which forced us to
set expectations before doing that. Setting expectations requires .


This change is Reviewable

@matan-starkware matan-starkware marked this pull request as ready for review July 18, 2024 15:37
Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.29%. Comparing base (2db883b) to head (d23c070).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2239      +/-   ##
==========================================
- Coverage   66.31%   66.29%   -0.02%     
==========================================
  Files         139      139              
  Lines       18341    18341              
  Branches    18341    18341              
==========================================
- Hits        12163    12160       -3     
  Misses       4883     4883              
- Partials     1295     1298       +3     

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

@matan-starkware matan-starkware force-pushed the matan/consensus/m3/pass_context_by_reference_shc branch from 422cde3 to 3630e0a Compare July 18, 2024 15:45
@matan-starkware matan-starkware force-pushed the matan/consensus/m3/reorganize_shc_expectations_v2 branch from b895c5c to ee10c01 Compare July 18, 2024 15:45
@matan-starkware matan-starkware force-pushed the matan/consensus/m3/pass_context_by_reference_shc branch from 3630e0a to 9378b37 Compare July 19, 2024 09:18
@matan-starkware matan-starkware force-pushed the matan/consensus/m3/reorganize_shc_expectations_v2 branch from ee10c01 to d8de3fc Compare July 19, 2024 09:18
asmaastarkware
asmaastarkware previously approved these changes Jul 21, 2024
Copy link
Contributor

@asmaastarkware asmaastarkware left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @matan-starkware)

@matan-starkware matan-starkware force-pushed the matan/consensus/m3/pass_context_by_reference_shc branch from 9378b37 to 9aa2aec Compare July 22, 2024 05:38
@matan-starkware matan-starkware force-pushed the matan/consensus/m3/reorganize_shc_expectations_v2 branch from d8de3fc to eae77b8 Compare July 22, 2024 05:38
Copy link
Contributor

@ShahakShama ShahakShama left a comment

Choose a reason for hiding this comment

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

Reviewed all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @matan-starkware)

ShahakShama
ShahakShama previously approved these changes Jul 22, 2024
Copy link
Contributor

@ShahakShama ShahakShama left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @matan-starkware)

@matan-starkware matan-starkware force-pushed the matan/consensus/m3/pass_context_by_reference_shc branch from 9aa2aec to d9610d2 Compare July 22, 2024 08:20
@matan-starkware matan-starkware force-pushed the matan/consensus/m3/reorganize_shc_expectations_v2 branch from eae77b8 to 699dc57 Compare July 22, 2024 08:20
@matan-starkware matan-starkware force-pushed the matan/consensus/m3/pass_context_by_reference_shc branch from d9610d2 to 069a8a8 Compare July 22, 2024 10:31
@matan-starkware matan-starkware force-pushed the matan/consensus/m3/reorganize_shc_expectations_v2 branch from 699dc57 to 4323456 Compare July 22, 2024 10:31
Base automatically changed from matan/consensus/m3/pass_context_by_reference_shc to main July 22, 2024 10:55
@matan-starkware matan-starkware dismissed stale reviews from ShahakShama and asmaastarkware July 22, 2024 10:55

The base branch was changed.

…e for SHC tests

This is now possible since we no longer put the Context in an Arc, which forced us to
set expectations before doing that. Setting expectations requires .
@matan-starkware matan-starkware force-pushed the matan/consensus/m3/reorganize_shc_expectations_v2 branch from 4323456 to d23c070 Compare July 22, 2024 12:43
Copy link
Contributor

@asmaastarkware asmaastarkware left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @matan-starkware)

@matan-starkware matan-starkware added this pull request to the merge queue Jul 22, 2024
Merged via the queue into main with commit a99bdac Jul 22, 2024
19 checks passed
@matan-starkware matan-starkware deleted the matan/consensus/m3/reorganize_shc_expectations_v2 branch July 22, 2024 13:11
dan-starkware pushed a commit that referenced this pull request Jul 23, 2024
…e for SHC tests (#2239)

This is now possible since we no longer put the Context in an Arc, which forced us to
set expectations before doing that. Setting expectations requires .
dan-starkware pushed a commit that referenced this pull request Jul 23, 2024
…e for SHC tests (#2239)

This is now possible since we no longer put the Context in an Arc, which forced us to
set expectations before doing that. Setting expectations requires .
@github-actions github-actions bot locked and limited conversation to collaborators Jul 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants