-
Notifications
You must be signed in to change notification settings - Fork 64
starknet_os_flow_tests: reduce boilerplate with add_funded_account_invoke #9563
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
starknet_os_flow_tests: reduce boilerplate with add_funded_account_invoke #9563
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nimrod-starkware reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware and @meship-starkware)
crates/starknet_os_flow_tests/src/test_manager.rs
line 320 at r1 (raw file):
/// Similar to `add_invoke_tx_from_args`, but with the sender address set to the funded account, /// nonce set (and incremented) and resource bounds set to the default (non-trivial). /// Assumes the tx should not be reverted.
Why do we assume that?
Code quote:
/// Assumes the tx should not be reverted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware, @meship-starkware, and @nimrod-starkware)
crates/starknet_os_flow_tests/src/test_manager.rs
line 320 at r1 (raw file):
Previously, nimrod-starkware wrote…
Why do we assume that?
to reduce boilerplate. in future PRs I add an option in add_invoke_tx_from_args
to check for reverts - if you want a reverting tx, use add_invoke_tx_from_args
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status:
complete! all files reviewed, all discussions resolved (waiting on @AvivYossef-starkware and @meship-starkware)
3f7b611
to
13bb534
Compare
1f680d7
to
1d91673
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dorimedini-starkware reviewed 1 of 1 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @AvivYossef-starkware and @meship-starkware)
1d91673
to
aea0fb6
Compare
13bb534
to
c1cdf8a
Compare
Merge activity
|
No description provided.