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

chore(starknet_integration_tests): remove const for json rpc version #2611

Merged
merged 4 commits into from
Dec 15, 2024

Conversation

Itay-Tsabary-Starkware
Copy link
Contributor

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware commented Dec 10, 2024

@reviewable-StarkWare
Copy link

This change is Reviewable

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware changed the base branch from spr/main/81012ae2 to main December 10, 2024 07:53
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware changed the base branch from main to spr/main/81012ae2 December 10, 2024 07:53
Copy link

github-actions bot commented Dec 10, 2024

Artifacts upload workflows:

Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 35.10%. Comparing base (427c543) to head (05c3def).

Additional details and impacted files
@@                  Coverage Diff                   @@
##           spr/main/81012ae2    #2611       +/-   ##
======================================================
- Coverage              49.76%   35.10%   -14.67%     
======================================================
  Files                    175      276      +101     
  Lines                  20454    32166    +11712     
  Branches               20454    32166    +11712     
======================================================
+ Hits                   10179    11291     +1112     
- Misses                  9788    19871    +10083     
- Partials                 487     1004      +517     

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

Copy link
Contributor

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

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


crates/starknet_integration_tests/src/config_utils.rs line 52 at r1 (raw file):

/// Creates a config file for the sequencer node for the end to end integration test.
pub(crate) fn dump_config_file_changes(
    config: &SequencerNodeConfig,

Should the sub-member of this struct still have the field json_rpc_version as a member of this struct?

Code quote:

SequencerNodeConfig

Copy link
Contributor

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

:lgtm:

Reviewed 1 of 2 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Itay-Tsabary-Starkware)

Copy link
Contributor

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

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Itay-Tsabary-Starkware)

Copy link
Contributor Author

@Itay-Tsabary-Starkware Itay-Tsabary-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: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Itay-Tsabary-Starkware)


crates/starknet_integration_tests/src/config_utils.rs line 52 at r1 (raw file):

Previously, ArniStarkware (Arnon Hod) wrote…

Should the sub-member of this struct still have the field json_rpc_version as a member of this struct?

Yes, it is used to generate the rpc messages, please see https://github.com/starkware-libs/sequencer/blob/main/crates/starknet_gateway/src/rpc_state_reader.rs#L49-L59

Copy link
Contributor

@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: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Itay-Tsabary-Starkware)

Copy link
Contributor

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

Reviewed 2 of 2 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Itay-Tsabary-Starkware)

Copy link
Contributor Author

@Itay-Tsabary-Starkware Itay-Tsabary-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 2 of 2 files at r4, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Itay-Tsabary-Starkware)

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware changed the base branch from spr/main/81012ae2 to main December 15, 2024 19:43
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware merged commit 408207e into main Dec 15, 2024
8 of 9 checks passed
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.

3 participants