-
Notifications
You must be signed in to change notification settings - Fork 65
starknet_api: add proof to rpc_invoke_v3 #10713
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
base: main
Are you sure you want to change the base?
starknet_api: add proof to rpc_invoke_v3 #10713
Conversation
|
Artifacts upload workflows: |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
cffcee4 to
b785383
Compare
meship-starkware
left a comment
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.
@meship-starkware reviewed 5 of 7 files at r1, 3 of 3 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @avivg-starkware)
crates/starknet_api/src/rpc_transaction.rs line 577 at r2 (raw file):
pub nonce_data_availability_mode: DataAvailabilityMode, pub fee_data_availability_mode: DataAvailabilityMode, // TODO(AvivG): Add proof facts.
You added the proof, and not the proof facts. Are we assuming we can get the facts from the proof?
Code quote:
// TODO(AvivG): Add proof facts.crates/apollo_consensus_orchestrator/src/cende/central_objects_test.rs line 1066 at r2 (raw file):
// + internal_invoke_tx.proof.dynamic_size(); assert_eq!(invoke_tx.size_bytes(), 488);
Consider using expect here
Code quote:
assert_eq!(invoke_tx.size_bytes(), 488);b785383 to
1f8355a
Compare
6280cb5 to
ce6dc19
Compare
1f8355a to
bff02ca
Compare
avivg-starkware
left a comment
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: 7 of 8 files reviewed, 2 unresolved discussions (waiting on @meship-starkware and @noaov1)
crates/apollo_consensus_orchestrator/src/cende/central_objects_test.rs line 1066 at r2 (raw file):
Previously, meship-starkware (Meshi Peled) wrote…
Consider using expect here
see reply in #10633 - WDYT?
crates/starknet_api/src/rpc_transaction.rs line 577 at r2 (raw file):
Previously, meship-starkware (Meshi Peled) wrote…
You added the proof, and not the proof facts. Are we assuming we can get the facts from the proof?
By mistake, thanks (I just merged a branch removing this, so after rebase it'll be gone anyway)
ce6dc19 to
41ce710
Compare
bff02ca to
0d7026e
Compare
noaov1
left a comment
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.
@noaov1 reviewed 4 of 7 files at r1, 2 of 3 files at r2, 7 of 7 files at r3, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @avivg-starkware and @meship-starkware)
crates/starknet_api/src/test_utils/invoke.rs line 164 at r3 (raw file):
account_deployment_data: invoke_args.account_deployment_data, proof_facts: invoke_args.proof_facts, proof: Proof::default(),
What eill be the final value here?
Code quote:
proof: Proof::default(),0d7026e to
4651997
Compare
41ce710 to
c0f5085
Compare
4651997 to
24edc1b
Compare
|
Previously, noaov1 (Noa Oved) wrote…
As far as I'm aware, InvokeTxArgs is a test struct, so it'll probably have dummy values (received through InvokeTxArgs) rather than Proof::default(). |

No description provided.