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

Fix duplicated execute functions #19

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

FrancoGiachetta
Copy link
Contributor

This PR is to check functions execute_tx_configurable and excute_tx, which are doing the same thing. To solve this, execute_tx was removed.

@FrancoGiachetta FrancoGiachetta marked this pull request as ready for review July 1, 2024 21:24
@FrancoGiachetta FrancoGiachetta self-assigned this Jul 5, 2024
@JulianGCalderon
Copy link
Contributor

@FrancoGiachetta can you resolve the conflicts on this PR?

Copy link

github-actions bot commented Jul 8, 2024

✅ Code is now correctly formatted.

@FrancoGiachetta
Copy link
Contributor Author

Changes where done.

Copy link
Contributor

@JulianGCalderon JulianGCalderon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a small typo

@@ -279,7 +117,8 @@ fn calculate_class_info_for_testing(contract_class: ContractClass) -> ClassInfo
ClassInfo::new(&contract_class, sierra_program_length, 100).unwrap()
}

pub fn execute_tx_configurable_with_state(
/// Rxecutes a given transaction returns the execution result
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Rxecutes a given transaction returns the execution result
/// Executes a given transaction and returns the execution result

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.

2 participants