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

test(batcher): block builder transaction failed test #2171

Merged

Conversation

Yael-Starkware
Copy link
Contributor

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Contributor Author

Yael-Starkware commented Nov 19, 2024

Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 5.30%. Comparing base (e3165c4) to head (8aa18b8).
Report is 531 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #2171       +/-   ##
==========================================
- Coverage   40.10%   5.30%   -34.81%     
==========================================
  Files          26     145      +119     
  Lines        1895   16985    +15090     
  Branches     1895   16985    +15090     
==========================================
+ Hits          760     901      +141     
- Misses       1100   16007    +14907     
- Partials       35      77       +42     

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


🚨 Try these New Features:

Copy link
Contributor Author

@Yael-Starkware Yael-Starkware left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @alonh5)


crates/starknet_batcher/src/block_builder_test.rs line 207 at r1 (raw file):

}

fn transaction_failed_test_expectations(

I can add this test as a case to the previous test, with a bit of refactor.
wdyt?

Copy link
Contributor Author

@Yael-Starkware Yael-Starkware left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @alonh5)


crates/starknet_batcher/src/block_builder_test.rs line 207 at r1 (raw file):

Previously, Yael-Starkware (YaelD) wrote…

I can add this test as a case to the previous test, with a bit of refactor.
wdyt?

(this comment was supposed to be written over the test function and not here ).

Copy link
Collaborator

@alonh5 alonh5 left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @Yael-Starkware)


crates/starknet_batcher/src/block_builder_test.rs line 207 at r1 (raw file):

Previously, Yael-Starkware (YaelD) wrote…

(this comment was supposed to be written over the test function and not here ).

If it's not to big of a refactor and you think it makes sense, then yeah.

@Yael-Starkware Yael-Starkware force-pushed the 11-19-test_batcher_block_builder_transaction_failed_test branch from 1374f3d to cb7e26e Compare November 19, 2024 12:16
@Yael-Starkware Yael-Starkware force-pushed the 11-18-fix_batcher_treat_deadline_as_error_in_the_validate_flow branch from d3224ef to fa0b49a Compare November 19, 2024 13:15
@Yael-Starkware Yael-Starkware changed the base branch from 11-18-fix_batcher_treat_deadline_as_error_in_the_validate_flow to graphite-base/2171 November 20, 2024 06:11
@Yael-Starkware Yael-Starkware force-pushed the 11-19-test_batcher_block_builder_transaction_failed_test branch from cb7e26e to 11bdf96 Compare November 20, 2024 06:36
@Yael-Starkware Yael-Starkware changed the base branch from graphite-base/2171 to yael/refactor_block_builder_test November 20, 2024 06:36
Copy link
Contributor Author

@Yael-Starkware Yael-Starkware left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @alonh5)


crates/starknet_batcher/src/block_builder_test.rs line 207 at r1 (raw file):

Previously, alonh5 (Alon Haramati) wrote…

If it's not to big of a refactor and you think it makes sense, then yeah.

ack

Copy link
Collaborator

@alonh5 alonh5 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 r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Yael-Starkware)

Copy link
Contributor Author

Yael-Starkware commented Nov 20, 2024

Merge activity

  • Nov 20, 9:59 AM EST: A user started a stack merge that includes this pull request via Graphite.
  • Nov 20, 10:02 AM EST: Graphite rebased this pull request as part of a merge.
  • Nov 20, 10:05 AM EST: Graphite couldn't merge this PR because it was not satisfying all requirements (Failed CI: 'merge-gatekeeper', 'code_style').

@Yael-Starkware Yael-Starkware changed the base branch from yael/refactor_block_builder_test to graphite-base/2171 November 20, 2024 14:59
@Yael-Starkware Yael-Starkware changed the base branch from graphite-base/2171 to main November 20, 2024 15:00
@Yael-Starkware Yael-Starkware force-pushed the 11-19-test_batcher_block_builder_transaction_failed_test branch 2 times, most recently from 5eae844 to 201bb08 Compare November 21, 2024 08:30
@Yael-Starkware Yael-Starkware force-pushed the 11-19-test_batcher_block_builder_transaction_failed_test branch from 201bb08 to 8aa18b8 Compare November 21, 2024 08:30
@Yael-Starkware Yael-Starkware merged commit 488568d into main Nov 21, 2024
10 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 22, 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