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

feat: contract class conversion #467

Closed

Conversation

greged93
Copy link
Contributor

@greged93 greged93 commented Oct 3, 2023

Pull Request type

Time spent on this PR: 0.4 day

Resolves: #474

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Testing

What is the new behavior?

Implements conversion between the starknet rs contract class and the cairo-vm contract class, instead of using serde_json to serialize it and then deserialize it into another type.

Does this introduce a breaking change?

  • Yes
  • No

@Eikix Eikix added the enhancement New feature or request label Oct 4, 2023
@greged93 greged93 requested a review from ClementWalter October 4, 2023 08:35
@greged93
Copy link
Contributor Author

greged93 commented Oct 9, 2023

The PR doesn't improve the current speed of execution and could introduce unwanted bugs. We will keep the serde_json method of conversion between the types.

@greged93 greged93 closed this Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

dev: update the contract class conversion
2 participants