Skip to content

Conversation

@avivg-starkware
Copy link
Contributor

No description provided.

@avivg-starkware avivg-starkware marked this pull request as ready for review December 10, 2025 17:25
@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Contributor Author

avivg-starkware commented Dec 10, 2025

@avivg-starkware avivg-starkware force-pushed the avivg/starknet_api/add_proof_to_rpc_invoke_v3 branch 2 times, most recently from cffcee4 to b785383 Compare December 10, 2025 20:59
Copy link
Collaborator

@meship-starkware meship-starkware left a 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);

@avivg-starkware avivg-starkware force-pushed the avivg/starknet_api/add_proof_to_rpc_invoke_v3 branch from b785383 to 1f8355a Compare December 11, 2025 09:53
@avivg-starkware avivg-starkware force-pushed the avivg/apollo_protobuf/add_proof_to_tx_invoke_v3 branch 2 times, most recently from 6280cb5 to ce6dc19 Compare December 11, 2025 09:58
@avivg-starkware avivg-starkware force-pushed the avivg/starknet_api/add_proof_to_rpc_invoke_v3 branch from 1f8355a to bff02ca Compare December 11, 2025 09:58
Copy link
Contributor Author

@avivg-starkware avivg-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: 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)

@avivg-starkware avivg-starkware force-pushed the avivg/apollo_protobuf/add_proof_to_tx_invoke_v3 branch from ce6dc19 to 41ce710 Compare December 11, 2025 10:51
@avivg-starkware avivg-starkware force-pushed the avivg/starknet_api/add_proof_to_rpc_invoke_v3 branch from bff02ca to 0d7026e Compare December 11, 2025 10:51
Copy link
Collaborator

@noaov1 noaov1 left a 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(),

@avivg-starkware avivg-starkware changed the base branch from avivg/apollo_protobuf/add_proof_to_tx_invoke_v3 to graphite-base/10713 December 11, 2025 15:05
@avivg-starkware avivg-starkware force-pushed the avivg/starknet_api/add_proof_to_rpc_invoke_v3 branch from 0d7026e to 4651997 Compare December 11, 2025 15:05
@avivg-starkware avivg-starkware changed the base branch from graphite-base/10713 to main December 11, 2025 15:05
@avivg-starkware avivg-starkware force-pushed the avivg/starknet_api/add_proof_to_rpc_invoke_v3 branch from 4651997 to 24edc1b Compare December 11, 2025 16:35
@avivg-starkware
Copy link
Contributor Author

crates/starknet_api/src/test_utils/invoke.rs line 164 at r3 (raw file):

Previously, noaov1 (Noa Oved) wrote…

What eill be the final value here?

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().
Added the TODO

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.

5 participants