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

clean up Invoke tx #343

Merged
merged 2 commits into from
Sep 3, 2024
Merged

clean up Invoke tx #343

merged 2 commits into from
Sep 3, 2024

Conversation

ftheirs
Copy link
Collaborator

@ftheirs ftheirs commented Sep 3, 2024

Problem PR #330 was too big

Solution: split the PR into smaller PR where each one will implement a different transaction.
Clean up and modularize Invoke tx

Issue Number: N/A

Type

  • feature
  • bugfix
  • dev (no functional changes, no API changes)
  • fmt (formatting, renaming)
  • build
  • docs
  • testing

Description

Breaking changes?

  • yes
  • no

@ftheirs ftheirs marked this pull request as ready for review September 3, 2024 23:03
@ftheirs ftheirs force-pushed the ft/invoke_tx_improvements branch from 0618d7a to 5c4be59 Compare September 3, 2024 23:09
@@ -37,63 +40,60 @@ fn da_mode_core_to_api(
}
}

fn felt_to_fee(fee: Felt) -> Result<Fee, StarknetApiError> {
let fee_u128 = fee
Copy link
Contributor

Choose a reason for hiding this comment

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

We have a felt_to_u128 utility already, can you use that one instead?

@ftheirs ftheirs merged commit 7e8a195 into main Sep 3, 2024
6 checks passed
@ftheirs ftheirs deleted the ft/invoke_tx_improvements branch September 3, 2024 23:34
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