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

[Verification] Refactor chunkVerifier unit tests #4698

Merged
merged 5 commits into from
Sep 14, 2023

Conversation

peterargue
Copy link
Contributor

@peterargue peterargue commented Sep 8, 2023

The chunkVerifier unit tests used hand made stubs to test various scenarios. These were hard to modify and fragile.

This PR refactors the tests to use testify mocks and simplify test setup. This is in preparation for a follow up PR that adds transaction results to execution data.

@peterargue peterargue changed the title [Verification] Fix service events verification for exec data [Verification] Refactor chunkVerifier unit tests Sep 11, 2023
@codecov-commenter
Copy link

codecov-commenter commented Sep 11, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (a64c6fc) 55.10% compared to head (1b64d4b) 55.10%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4698   +/-   ##
=======================================
  Coverage   55.10%   55.10%           
=======================================
  Files         922      922           
  Lines       85666    85666           
=======================================
+ Hits        47205    47208    +3     
+ Misses      34863    34861    -2     
+ Partials     3598     3597    -1     
Flag Coverage Δ
unittests 55.10% <ø> (+<0.01%) ⬆️

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

see 7 files with indirect coverage changes

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

@peterargue peterargue added this pull request to the merge queue Sep 14, 2023
Merged via the queue into master with commit 3b06a02 Sep 14, 2023
36 checks passed
@peterargue peterargue deleted the petera/fix-service-event-exec-data-verification branch September 14, 2023 18:15
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.

4 participants