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: generalize resource bounds related tests #45

Conversation

ArniStarkware
Copy link
Contributor

@ArniStarkware ArniStarkware commented Apr 11, 2024

This change is Reviewable

@codecov-commenter
Copy link

codecov-commenter commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.15%. Comparing base (72a2b06) to head (484c7fc).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
- Coverage   64.64%   63.15%   -1.49%     
==========================================
  Files           5        5              
  Lines          99       95       -4     
  Branches       99       95       -4     
==========================================
- Hits           64       60       -4     
  Misses         35       35              

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

@ArniStarkware ArniStarkware force-pushed the arni/transaction_validator/stateless/tests/resource_bounds_mapping_param branch 3 times, most recently from 10103bb to a9a28ee Compare April 11, 2024 11:58
@ArniStarkware ArniStarkware changed the title test: Generalize resource bounds related tests test: generalize resource bounds related tests Apr 11, 2024
Copy link
Contributor

@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.

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ArniStarkware and @dafnamatsry)


crates/gateway/src/starknet_api_test_utils.rs line 66 at r2 (raw file):

}

pub const NON_EMPTY_RSOURCE_BOUNDS: ResourceBounds = ResourceBounds {

RESOURCE

Code quote:

RSOURCE

@ArniStarkware ArniStarkware force-pushed the arni/transaction_validator/stateless/tests/resource_bounds_mapping_param branch from a9a28ee to 484c7fc Compare April 16, 2024 07:41
Copy link
Contributor Author

@ArniStarkware ArniStarkware 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: 1 of 3 files reviewed, 1 unresolved discussion (waiting on @dafnamatsry and @Yael-Starkware)


crates/gateway/src/starknet_api_test_utils.rs line 66 at r2 (raw file):

Previously, Yael-Starkware (YaelD) wrote…

RESOURCE

Done.

Copy link
Contributor

@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.

:lgtm:

Reviewed 2 of 2 files at r3.
Reviewable status: all files reviewed (commit messages unreviewed), all discussions resolved (waiting on @dafnamatsry)

Copy link
Collaborator

@dafnamatsry dafnamatsry 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 3 files at r1, 2 of 2 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ArniStarkware)

@ArniStarkware ArniStarkware merged commit 7f02f89 into main Apr 16, 2024
8 checks passed
@ArniStarkware ArniStarkware deleted the arni/transaction_validator/stateless/tests/resource_bounds_mapping_param branch April 21, 2024 08:36
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