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): move verify_tx_accepted to monitoring_utils #4026

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Contributor

@lev-starkware lev-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 2 files reviewed, 1 unresolved discussion


crates/starknet_integration_tests/src/sequencer_manager.rs line 317 at r1 (raw file):

        let account = self.tx_generator.account_with_id(sender_account);
        let expected_n_batched_txs = nonce_to_usize(account.get_nonce());
        verify_txs_accepted(monitoring_client, sequencer_idx, expected_n_batched_txs).await;

For me is really confusing to see that the function verify_txs_accepted is called from the function verify_txs_accepted. I would prefer monitoring_utils::verify_txs_accepted.

Code quote:

verify_txs_accepted

Copy link
Collaborator Author

@nadin-Starkware nadin-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 2 files reviewed, 1 unresolved discussion (waiting on @lev-starkware)


crates/starknet_integration_tests/src/sequencer_manager.rs line 317 at r1 (raw file):

Previously, lev-starkware wrote…

For me is really confusing to see that the function verify_txs_accepted is called from the function verify_txs_accepted. I would prefer monitoring_utils::verify_txs_accepted.

Done.

Copy link
Contributor

@lev-starkware lev-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:

Reviewable status: 0 of 2 files reviewed, all discussions resolved

Copy link
Contributor

@lev-starkware lev-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 1 of 2 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @nadin-Starkware)

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